/*
 * Fischer Photo Framework Styles
 * Generated: 2026-05-20
 * Minimal, modern, Bauhaus-inspired visual system.
 */
:root {
    --ink: #171717;
    --muted: #66615b;
    --line: #ded8cf;
    --paper: #f6f3ee;
    --white: #ffffff;
    --charcoal: #2f2f2f;
    --accent: #f79d20;
    --accent-dark: #c96f00;
    --shadow: 0 18px 60px rgba(20, 20, 20, 0.08);
    --radius: 26px;
    --max: 1180px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: Inter, Arial, Helvetica, sans-serif;
    color: var(--ink);
    background: var(--paper);
    line-height: 1.55;
}

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

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

.wrap {
    width: min(var(--max), calc(100% - 40px));
    margin-inline: auto;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    background: rgba(246, 243, 238, 0.9);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(222, 216, 207, 0.8);
}

.header-grid {
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: center;
    gap: 28px;
    min-height: 82px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 14px;
}

.brand-mark {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    color: var(--white);
    background: var(--charcoal);
    font-weight: 800;
    letter-spacing: -0.04em;
}

.brand strong,
.brand small {
    display: block;
}

.brand strong {
    font-size: 1rem;
    line-height: 1.05;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.brand small {
    color: var(--muted);
    font-size: 0.72rem;
}

.main-nav {
    justify-self: end;
    display: flex;
    align-items: center;
    gap: 6px;
}

.main-nav a {
    padding: 10px 12px;
    color: var(--muted);
    font-size: 0.88rem;
    font-weight: 650;
    border-radius: 999px;
    transition: 180ms ease;
}

.main-nav a:hover,
.main-nav a.active,
.main-nav a[aria-current="page"] {
    color: var(--ink);
    background: var(--white);
}

.nav-toggle {
    display: none;
    justify-self: end;
    border: 1px solid var(--line);
    background: var(--white);
    padding: 10px 14px;
    border-radius: 999px;
    font-weight: 700;
}

.site-main {
    min-height: 70vh;
}

.hero {
    padding: 72px 0 44px;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 0.9fr;
    align-items: center;
    gap: 48px;
}

.eyebrow {
    margin: 0 0 14px;
    color: var(--accent-dark);
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

h1,
h2,
h3 {
    margin: 0;
    line-height: 0.98;
    letter-spacing: -0.06em;
}

h1 {
    font-size: clamp(3rem, 8vw, 7.3rem);
    max-width: 850px;
}

h2 {
    font-size: clamp(2rem, 4vw, 4rem);
}

h3 {
    font-size: 1.45rem;
}

.hero-copy > p:not(.eyebrow),
.page-hero > p,
.split-grid > p {
    color: var(--muted);
    font-size: clamp(1.05rem, 2vw, 1.25rem);
    max-width: 690px;
}

.button-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 32px;
}

.button,
button.button {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    min-height: 48px;
    padding: 0 22px;
    border: 1px solid var(--ink);
    border-radius: 999px;
    color: var(--white);
    background: var(--ink);
    font-weight: 800;
    cursor: pointer;
    transition: 180ms ease;
}

.button:hover {
    transform: translateY(-1px);
    box-shadow: var(--shadow);
}

.button.ghost {
    color: var(--ink);
    background: transparent;
}

.button.ghost.dark {
    border-color: var(--line);
}

.hero-panel {
    padding: 14px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.hero-image {
    min-height: 510px;
    border-radius: calc(var(--radius) - 10px);
    background:
        linear-gradient(135deg, rgba(247, 157, 32, 0.7), rgba(47, 47, 47, 0.25)),
        radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.75), transparent 30%),
        linear-gradient(120deg, #1f1f1f, #777068);
    position: relative;
    overflow: hidden;
}

.hero-slideshow {
    background: #1f1f1f;
}

.hero-slide,
.hero-slide-link {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 700ms ease;
}

.hero-slide.is-active,
.hero-slide-link.is-active {
    opacity: 1;
    z-index: 1;
}

.hero-slide,
.hero-slide-link img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.stat-strip {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    margin-top: 12px;
}

.stat-strip span {
    display: grid;
    gap: 2px;
    padding: 12px;
    border-radius: 16px;
    background: var(--paper);
    color: var(--muted);
    font-size: 0.75rem;
}

.stat-strip strong {
    color: var(--ink);
    font-size: 1rem;
}

.page-section {
    padding: 76px 0;
}

.top-tight {
    padding-top: 18px;
}

.section-title {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 28px;
    margin-bottom: 30px;
}

.section-title a,
.text-link,
.download-link,
.album-meta a {
    color: var(--accent-dark);
    font-weight: 800;
    text-decoration: underline;
    text-decoration-thickness: 2px;
    text-underline-offset: 4px;
}

.card-grid {
    display: grid;
    gap: 18px;
}

.card-grid.three {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.card-grid.two {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.photo-card,
.course-card,
.side-note,
.panel-form,
.prose-block,
.empty-state,
.course-price-box {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: 0 12px 40px rgba(20, 20, 20, 0.04);
}

.photo-card {
    overflow: hidden;
}

.photo-card img {
    aspect-ratio: 4 / 3;
    object-fit: cover;
    background: #ddd5cb;
}

.photo-card-body {
    padding: 20px;
}

.photo-card-body span,
.course-meta span,
.footer-grid span {
    color: var(--muted);
    font-size: 0.82rem;
    font-weight: 700;
}

.photo-card-body h3 {
    margin: 8px 0;
}

.photo-card-body p,
.course-card p,
.side-note p,
.prose-block p {
    color: var(--muted);
}

.feature-band {
    margin: 36px 0;
    padding: 64px 0;
    color: var(--white);
    background: var(--charcoal);
}

.feature-band .eyebrow {
    color: var(--accent);
}

.feature-band p {
    color: rgba(255, 255, 255, 0.75);
}

.split-grid,
.form-layout,
.course-hero,
.album-hero {
    display: grid;
    grid-template-columns: 1fr 0.72fr;
    gap: 28px;
    align-items: start;
}

.form-layout.reverse {
    grid-template-columns: 0.9fr 0.7fr;
}

.page-hero {
    padding: 74px 0 34px;
}

.page-hero.compact h1 {
    font-size: clamp(3rem, 7vw, 6.2rem);
}

.filter-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    padding-bottom: 22px;
}

.filter-bar a {
    padding: 10px 14px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.55);
    color: var(--muted);
    font-weight: 750;
}

.filter-bar a.active,
.filter-bar a:hover {
    color: var(--white);
    background: var(--ink);
    border-color: var(--ink);
}

.masonry-grid {
    columns: 3 280px;
    column-gap: 18px;
}

.gallery-item {
    display: inline-block;
    width: 100%;
    margin: 0 0 18px;
    overflow: hidden;
    border-radius: var(--radius);
    background: var(--white);
    border: 1px solid var(--line);
}

.gallery-item img {
    background: #ddd5cb;
}

.gallery-item figcaption {
    display: grid;
    gap: 4px;
    padding: 14px;
    color: var(--muted);
    font-size: 0.92rem;
}

.gallery-item figcaption strong {
    color: var(--ink);
}

.album-meta {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 22px;
    border-left: 4px solid var(--accent);
    background: rgba(255, 255, 255, 0.65);
    border-radius: 20px;
}

.course-card {
    padding: 24px;
}

.course-card.large h2 {
    margin-bottom: 16px;
}

.course-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 22px 0;
}

.course-meta span {
    padding: 8px 10px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: var(--paper);
}

.course-price-box {
    padding: 24px;
}

.course-price-box strong,
.course-price-box span,
.course-price-box small {
    display: block;
}

.course-price-box strong {
    margin: 8px 0;
    font-size: 2rem;
    letter-spacing: -0.05em;
}

.course-price-box span,
.course-price-box small {
    color: var(--muted);
}

.panel-form,
.side-note,
.prose-block,
.empty-state {
    padding: 26px;
}

.panel-form {
    display: grid;
    gap: 16px;
}

.panel-form label {
    display: grid;
    gap: 7px;
}

.panel-form span {
    color: var(--muted);
    font-size: 0.82rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

input,
textarea {
    width: 100%;
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 14px 15px;
    color: var(--ink);
    background: #fbfaf7;
    font: inherit;
}

input:focus,
textarea:focus {
    outline: 3px solid rgba(247, 157, 32, 0.24);
    border-color: var(--accent);
}

.flash {
    margin-top: 18px;
    padding: 14px 18px;
    border-radius: 16px;
    font-weight: 750;
}

.flash-success {
    color: #174d31;
    background: #dff5e8;
}

.flash-error {
    color: #7a1d1d;
    background: #f8dddd;
}

.site-footer {
    padding: 38px 0;
    color: rgba(255, 255, 255, 0.78);
    background: var(--charcoal);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 0.8fr 0.8fr;
    gap: 28px;
}

.footer-grid strong {
    display: block;
    margin-bottom: 8px;
    color: var(--white);
}

.footer-grid p {
    margin: 0;
    max-width: 430px;
}

.footer-grid a {
    display: block;
    color: var(--accent);
    font-weight: 750;
}

.footer-grid span {
    display: block;
    color: rgba(255, 255, 255, 0.7);
}

@media (max-width: 900px) {
    .header-grid,
    .hero-grid,
    .split-grid,
    .form-layout,
    .form-layout.reverse,
    .course-hero,
    .album-hero,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .nav-toggle {
        display: inline-flex;
        grid-column: 2;
        grid-row: 1;
    }

    .main-nav {
        display: none;
        grid-column: 1 / -1;
        justify-self: stretch;
        flex-direction: column;
        align-items: stretch;
        padding-bottom: 16px;
    }

    .main-nav.open {
        display: flex;
    }

    .main-nav a {
        border-radius: 14px;
        background: rgba(255, 255, 255, 0.62);
    }

    .card-grid.three,
    .card-grid.two {
        grid-template-columns: 1fr;
    }

    .hero {
        padding-top: 48px;
    }

    .hero-image {
        min-height: 320px;
    }

    .section-title {
        display: grid;
        align-items: start;
    }
}

@media (max-width: 560px) {
    .wrap {
        width: min(100% - 24px, var(--max));
    }

    .brand small {
        display: none;
    }

    h1 {
        font-size: 3rem;
    }

    .stat-strip {
        grid-template-columns: 1fr;
    }
}

/*
 * Phase 8 Lightbox Enlargement
 * Generated: 2026-05-20 09:05 Asia/Shanghai
 * Removes visible thumbnail label, limits enlarged photo to 800px width, and strengthens navigation.
 */
.gallery-lightbox-trigger {
    position: relative;
    display: block;
    overflow: hidden;
    color: inherit;
    background: #ddd5cb;
    cursor: zoom-in;
}

.gallery-lightbox-trigger img {
    display: block;
    width: 100%;
    transition: transform 240ms ease, filter 240ms ease;
}

.gallery-lightbox-trigger:hover img,
.gallery-lightbox-trigger:focus-visible img {
    transform: scale(1.025);
    filter: contrast(1.02);
}

.gallery-lightbox-trigger:focus-visible {
    outline: 3px solid rgba(247, 157, 32, 0.55);
    outline-offset: -3px;
}

.gallery-zoom-label {
    display: none !important;
}

.fp-lightbox {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: rgba(15, 15, 15, 0.92);
}

.fp-lightbox.is-open {
    display: flex;
}

.fp-lightbox__backdrop {
    position: absolute;
    inset: 0;
    border: 0;
    background: transparent;
    cursor: zoom-out;
}

.fp-lightbox__dialog {
    position: relative;
    z-index: 1;
    display: grid;
    gap: 12px;
    width: min(800px, calc(100vw - 96px));
    max-width: 800px;
    max-height: calc(100vh - 48px);
}

.fp-lightbox__topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    color: rgba(255, 255, 255, 0.82);
    font-size: 0.78rem;
    font-weight: 850;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.fp-lightbox__counter {
    min-height: 32px;
    display: inline-flex;
    align-items: center;
}

.fp-lightbox__image-wrap {
    position: relative;
    display: grid;
    place-items: center;
    min-height: 120px;
}

.fp-lightbox__image {
    display: block;
    width: auto !important;
    height: auto !important;
    max-width: min(800px, calc(100vw - 96px)) !important;
    max-height: calc(100vh - 168px) !important;
    border-radius: 16px;
    box-shadow: 0 30px 100px rgba(0, 0, 0, 0.45);
    object-fit: contain;
}

.fp-lightbox__caption {
    min-height: 22px;
    color: rgba(255, 255, 255, 0.82);
    font-size: 0.92rem;
    line-height: 1.45;
    text-align: center;
}

.fp-lightbox__caption[hidden] {
    display: none;
}

.fp-lightbox__close,
.fp-lightbox__nav {
    border: 1px solid rgba(255, 255, 255, 0.22);
    color: var(--white);
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(10px);
    cursor: pointer;
    transition: 160ms ease;
    font-family: inherit;
    font-weight: 850;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.fp-lightbox__close:hover,
.fp-lightbox__nav:hover,
.fp-lightbox__close:focus-visible,
.fp-lightbox__nav:focus-visible {
    background: rgba(247, 157, 32, 0.92);
    color: var(--ink);
    outline: none;
}

.fp-lightbox__close {
    min-height: 34px;
    padding: 0 14px;
    border-radius: 999px;
    font-size: 0.72rem;
}

.fp-lightbox__nav {
    position: absolute;
    top: 50%;
    z-index: 2;
    min-width: 104px;
    height: 44px;
    padding: 0 16px;
    border-radius: 999px;
    transform: translateY(-50%);
    font-size: 0.72rem;
    box-shadow: 0 18px 48px rgba(0, 0, 0, 0.35);
}

.fp-lightbox__prev {
    left: 12px;
}

.fp-lightbox__next {
    right: 12px;
}

.fp-lightbox__nav[hidden] {
    display: none;
}

body.fp-lightbox-open {
    overflow: hidden;
}

@media (max-width: 900px) {
    .fp-lightbox__image {
        max-width: 100%;
    }
}

@media (max-width: 720px) {
    .fp-lightbox {
        padding: 12px;
    }

    .fp-lightbox__dialog {
        width: min(800px, calc(100vw - 24px));
        max-height: calc(100vh - 24px);
    }

    .fp-lightbox__image {
        max-height: calc(100vh - 152px);
        border-radius: 12px;
    }

    .fp-lightbox__nav {
        top: auto;
        bottom: 12px;
        min-width: 86px;
        height: 38px;
        transform: none;
        font-size: 0.68rem;
    }

    .fp-lightbox__prev {
        left: 12px;
    }

    .fp-lightbox__next {
        right: 12px;
    }
}
