
:root {
    --bg-color: #faf9f6;
    --card-bg: #ffffff;
    --text-primary: #1c1b1a;
    --text-secondary: #585550;
    --text-muted: #8c8882;
    --accent: #8b3a1a;
    --accent-hover: #b84c20;
    --border-light: #e8e5df;
    --font-serif: 'Lora', Georgia, serif;
    --font-display: 'Cinzel', serif;
    --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    --max-width: 1280px;
    --content-width: 820px;
}

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

body {
    background-color: var(--bg-color);
    color: var(--text-primary);
    font-family: var(--font-serif);
    font-size: 17.5px;
    line-height: 1.85;
    -webkit-font-smoothing: antialiased;
}

.site-wrapper {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Header - Normal non-sticky flow, centered layout */
.site-header {
    background: #ffffff;
    border-bottom: 1px solid var(--border-light);
    width: 100%;
}
.header-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 30px 32px 24px 32px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 20px;
}
.brand {
    text-align: center;
}
.brand-title {
    font-family: var(--font-display);
    font-size: 28px;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    text-decoration: none;
    color: var(--text-primary);
    display: block;
    font-weight: 600;
}
.brand-tagline {
    font-family: var(--font-sans);
    font-size: 11.5px;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--text-muted);
    display: block;
    margin-top: 4px;
}

/* Navigation - Centered, horizontal flex row */
.main-nav {
    width: 100%;
}
.main-nav ul {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    list-style: none;
    gap: 32px;
    flex-wrap: wrap;
    padding: 0;
    margin: 0;
}
.main-nav a {
    font-family: var(--font-sans);
    font-size: 13.5px;
    text-transform: uppercase;
    letter-spacing: 1.8px;
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    padding-bottom: 5px;
    position: relative;
    transition: color 0.2s ease;
}
.main-nav a:hover, .main-nav a.active {
    color: var(--accent);
}
.main-nav a.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--accent);
}

/* Main */
.site-main {
    flex: 1;
    max-width: var(--max-width);
    width: 100%;
    margin: 0 auto;
    padding: 50px 32px 90px 32px;
}

/* Page Hero */
.page-hero {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 50px auto;
}
.page-hero-title {
    font-family: var(--font-display);
    font-size: 38px;
    font-weight: 400;
    letter-spacing: 2px;
    color: var(--text-primary);
    margin-bottom: 12px;
}
.page-hero-sub {
    font-size: 16px;
    color: var(--text-secondary);
    font-style: italic;
}
.hero-divider {
    width: 50px;
    height: 1px;
    background: var(--accent);
    margin: 20px auto 0 auto;
}

/* Category Filter Tabs - Centered horizontal row */
.gallery-filter-bar {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 8px 12px;
    margin-bottom: 44px;
}
.filter-btn {
    font-family: var(--font-sans);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--text-secondary);
    background: #ffffff;
    border: 1px solid var(--border-light);
    padding: 6px 14px;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.2s ease;
}
.filter-btn:hover {
    color: var(--accent);
    border-color: var(--accent);
    background: rgba(139, 58, 26, 0.04);
}
.filter-btn.active {
    color: #ffffff;
    background: var(--accent);
    border-color: var(--accent);
    font-weight: 600;
}

/* Multi-Column Free-Flow Masonry */
.gallery-flow-container {
    column-count: 4;
    column-gap: 16px;
}
@media (max-width: 1100px) {
    .gallery-flow-container { column-count: 3; column-gap: 16px; }
}
@media (max-width: 768px) {
    .gallery-flow-container { column-count: 2; column-gap: 14px; }
}
@media (max-width: 640px) {
    .gallery-flow-container { column-count: 1; }
}

.gallery-flow-item {
    break-inside: avoid;
    margin-bottom: 16px;
    display: inline-block;
    width: 100%;
    background: #ffffff;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0,0,0,0.03);
    border: 1px solid var(--border-light);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.gallery-flow-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 18px rgba(0,0,0,0.07);
}
.flow-img-wrapper {
    position: relative;
    cursor: pointer;
    overflow: hidden;
    background: #eae7e1;
    background: linear-gradient(90deg, #eae7e1 0%, #f4f2ee 50%, #eae7e1 100%);
    background-size: 200% 100%;
    animation: placeholder-shimmer 1.8s infinite;
}
@keyframes placeholder-shimmer {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}
.flow-img-wrapper.loaded {
    animation: none;
    background: #f0eee9;
}
.flow-img-wrapper img {
    width: 100%;
    height: auto;
    display: block;
    opacity: 0;
    transition: opacity 0.35s ease, transform 0.4s ease;
}
.flow-img-wrapper img.loaded {
    opacity: 1;
}
.gallery-flow-item:hover .flow-img-wrapper img {
    transform: scale(1.02);
}

/* Compact, quiet, tastefully understated label */
.flow-caption-box {
    padding: 9px 12px 10px 12px;
    background: #ffffff;
    border-top: 1px solid #f2efea;
    text-align: center;
}
.flow-title-text {
    font-family: var(--font-serif);
    font-size: 15px;
    font-weight: 500;
    line-height: 1.35;
    color: var(--text-primary);
    display: block;
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    text-align: center;
}
.flow-title-text a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease;
}
.flow-title-text a:hover {
    color: var(--accent);
}

/* Prose container */
.content-prose {
    max-width: var(--content-width);
    margin: 0 auto;
    font-size: 17.5px;
    line-height: 1.9;
}
.content-prose p {
    margin-bottom: 24px;
}
.content-prose h2, .content-prose h3 {
    font-family: var(--font-display);
    font-weight: 400;
    letter-spacing: 1.2px;
    margin: 36px 0 16px 0;
    color: var(--text-primary);
}
.content-prose ul {
    margin: 0 0 24px 24px;
}
.content-prose li {
    margin-bottom: 8px;
}
.content-prose img {
    max-width: 100%;
    height: auto;
    border-radius: 4px;
    margin: 24px auto;
    display: block;
}

/* Stamp */
.stamp-wrap {
    margin: 36px auto;
    text-align: center;
}
.stamp-img {
    max-width: 320px;
    height: auto;
    border-radius: 4px;
    box-shadow: 0 4px 14px rgba(0,0,0,0.06);
    margin: 0 auto !important;
}
.stamp-caption {
    font-size: 13px;
    color: var(--text-muted);
    font-style: italic;
    margin-top: 10px;
}

/* Blog Article Cards */
.blog-post-full {
    background: #ffffff;
    padding: 48px 56px;
    border-radius: 4px;
    border: 1px solid var(--border-light);
    margin-bottom: 48px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.02);
}
@media (max-width: 600px) {
    .blog-post-full { padding: 32px 24px; }
}
.post-date-tag {
    font-family: var(--font-sans);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--text-muted);
    display: block;
    margin-bottom: 8px;
}
.post-main-title {
    font-family: var(--font-display);
    font-size: 28px;
    margin-bottom: 24px;
    line-height: 1.35;
}
.post-main-title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease;
}
.post-main-title a:hover {
    color: var(--accent);
}

.article-caption-box {
    margin: 28px auto;
    text-align: center;
    max-width: 100%;
}
.article-caption-box img {
    margin: 0 auto !important;
    display: block;
}
.article-caption-box figcaption {
    font-size: 14px;
    color: var(--text-muted);
    font-style: italic;
    margin-top: 8px;
}
.article-inline-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 16px;
    margin: 28px 0;
}
.article-gallery-thumb {
    cursor: pointer;
    border-radius: 4px;
    overflow: hidden;
    background: #eee;
    box-shadow: 0 1px 3px rgba(0,0,0,0.08);
    transition: transform 0.2s ease;
}
.article-gallery-thumb:hover {
    transform: scale(1.03);
}
.article-gallery-thumb img {
    width: 100%;
    height: 140px;
    object-fit: cover;
    display: block;
    margin: 0 !important;
}
.article-inline-gallery.article-gallery-large {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
}
.article-gallery-large .article-gallery-thumb {
    width: min(100%, 600px);
    cursor: default;
}
.article-gallery-large .article-gallery-thumb img {
    height: auto;
    object-fit: contain;
}
.article-gallery-large .article-gallery-thumb:hover,
.single-post-img-wrap:hover {
    transform: none;
}

.single-post-img-wrap {
    margin: 24px auto;
    cursor: default;
    max-width: 600px;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.06);
    transition: transform 0.2s ease;
}
.single-post-img-wrap:hover {
    transform: scale(1.02);
}
.single-post-img-wrap img {
    width: 100%;
    height: auto;
    display: block;
    margin: 0 !important;
}


/* True Animated Photo Accordion Slider (Original Dandelion behavior) */
.accordion-wrapper {
    max-width: 960px;
    margin: 0 auto 55px auto;
    position: relative;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    border: 1px solid var(--border-light);
    background: #111111;
}
.accordion-slider-real {
    position: relative;
    width: 100%;
    height: 380px;
    overflow: hidden;
    display: flex;
}
.acc-panel {
    position: relative;
    height: 100%;
    flex: 1;
    overflow: hidden;
    cursor: pointer;
    transition: flex 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    border-right: 1px solid rgba(255,255,255,0.15);
}
.acc-panel:last-child {
    border-right: none;
}
.acc-panel img {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    min-width: 650px;
    height: 100%;
    object-fit: cover;
    display: block;
    filter: brightness(0.85);
    transition: filter 0.4s ease;
}
.acc-panel.expanded {
    flex: 3.5;
}
.acc-panel.expanded img {
    filter: brightness(1.02);
}


@media (max-width: 768px) {
    .accordion-slider-real {
        height: 280px;
    }
    .acc-panel img {
        min-width: 480px;
    }
}
/* Lightbox Modal */
.image-modal {
    display: none;
    position: fixed;
    z-index: 1000;
    inset: 0;
    background-color: rgba(18, 17, 16, 0.94);
    align-items: center;
    justify-content: center;
}
.modal-content-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    max-width: 90vw;
    max-height: 90vh;
}
.modal-content {
    max-width: 86vw;
    max-height: 80vh;
    object-fit: contain;
    border-radius: 2px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.6);
}
.modal-caption {
    margin-top: 14px;
    color: #e5e3de;
    font-family: var(--font-serif);
    font-size: 15px;
    text-align: center;
    max-width: 800px;
}
.modal-close {
    position: absolute;
    top: 20px;
    right: 28px;
    color: #ffffff;
    font-size: 28px;
    cursor: pointer;
    background: transparent;
    border: none;
    line-height: 1;
    z-index: 1010;
}
.modal-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.1);
    color: #ffffff;
    border: none;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease;
    z-index: 1010;
}
.modal-nav:hover {
    background: rgba(255,255,255,0.25);
}
.modal-prev { left: 24px; }
.modal-next { right: 24px; }

/* Footer */
.site-footer {
    background: #ffffff;
    border-top: 1px solid var(--border-light);
    padding: 36px 32px;
    text-align: center;
    margin-top: auto;
}
.footer-inner {
    max-width: var(--max-width);
    margin: 0 auto;
}
.copyright {
    font-family: var(--font-serif);
    font-size: 14px;
    color: var(--text-secondary);
}
.footer-sub {
    font-family: var(--font-sans);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text-muted);
    margin-top: 4px;
}
