@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@500;600&family=Lato:wght@400;700&family=Playfair+Display:wght@500;700&display=swap');

:root {
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Lato', sans-serif;
    --font-accent: 'Cormorant Garamond', serif;
}

body {
    font-family: var(--font-body);
    margin: 0;
    padding: 0;
    color: #333;
    background-color: #f9f9f9;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    backdrop-filter: blur(8px);
    background: rgba(249, 249, 249, 0.9);
    border-bottom: 1px solid #dbe4df;
}

.site-header-inner {
    width: min(1100px, 100%);
    margin: 0 auto;
    padding: 0.9rem 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.site-brand {
    font-family: var(--font-accent);
    color: #2c3e50;
    font-size: 1.35rem;
}

.site-brand:hover {
    text-decoration: none;
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.site-nav-link {
    display: inline-flex;
    align-items: center;
    padding: 0.45rem 0.75rem;
    border-radius: 999px;
    font-size: 0.95rem;
    color: #334b59;
    border: 1px solid transparent;
}

.site-nav-link:hover {
    text-decoration: none;
    border-color: #c6d6ce;
    background: #f1f6f3;
}

.site-nav-link.is-active {
    background: #7b9e89;
    border-color: #7b9e89;
    color: #ffffff;
}

* {
    box-sizing: border-box;
}

h1, h2, h3 {
    font-family: var(--font-heading);
    margin: 0;
    padding: 0;
    font-weight: normal;
}

h1 {
    font-size: 2.5em;
    color: #2c3e50;
}

h2 {
    font-size: 2em;
    color: #34495e;
}

h3 {
    font-size: 1.5em;
    color: #7f8c8d;
}

a {
    text-decoration: none;
    color: #2980b9;
}

a:hover {
    text-decoration: underline;
}

.skip-link {
    position: absolute;
    left: 0.75rem;
    top: -10rem;
    z-index: 1000;
    padding: 0.75rem 1rem;
    border-radius: 0.5rem;
    background: #1f2a35;
    color: #ffffff;
}

.skip-link:focus {
    top: 0.75rem;
}

.skip-link:focus-visible {
    top: 0.75rem;
    outline: 3px solid #ffffff;
    outline-offset: 2px;
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.hero {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100vh;
    padding: 2rem;
    background-color: #d7e4dc;
    background-image:
        linear-gradient(rgba(250, 248, 243, 0.66), rgba(250, 248, 243, 0.74)),
        url('../images/paintings/hero-image.png');
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    text-align: center;
}

.archive-hero {
    padding: 4rem 1rem 2.5rem;
    background: linear-gradient(165deg, #f4f8f5 0%, #e4eee8 50%, #dbe7df 100%);
}

.archive-hero-content {
    width: min(1100px, 100%);
    margin: 0 auto;
}

.archive-hero p {
    margin: 0.85rem 0 0;
    max-width: 60ch;
    line-height: 1.6;
}

.archive-panel {
    padding: 0 1rem 3.5rem;
}

.archive-panel-inner {
    width: min(1100px, 100%);
    margin: 0 auto;
}

.archive-results {
    margin: 1.25rem 0 0.75rem;
    color: #4f5d67;
}

.archive-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.1rem;
}

.archive-filter {
    border: 1px solid #b9c9c1;
    border-radius: 999px;
    background: #ffffff;
    color: #2d3d4b;
    padding: 0.45rem 0.85rem;
    cursor: pointer;
    font: inherit;
    font-size: 0.92rem;
}

.archive-filter.is-active {
    background: #2f5645;
    border-color: #2f5645;
    color: #ffffff;
}

.archive-grid {
    display: grid;
    grid-template-columns: repeat(1, minmax(0, 1fr));
    gap: 1rem;
}

.archive-card {
    display: block;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #d9e4de;
    background: #ffffff;
    box-shadow: 0 8px 20px rgba(44, 62, 80, 0.07);
}

.archive-card-image {
    width: 100%;
    aspect-ratio: var(--art-aspect-ratio, 4 / 3);
    object-fit: cover;
    display: block;
}

.archive-card-body {
    padding: 0.75rem;
}

.archive-card-title {
    margin: 0;
    font-family: var(--font-accent);
    font-size: 1.2rem;
    color: #2c3e50;
}

.archive-card-meta {
    margin: 0.3rem 0 0;
    font-size: 0.88rem;
    color: #4f5d67;
}

.archive-empty {
    margin: 0;
    padding: 1rem;
    border: 1px dashed #8da89a;
    border-radius: 8px;
    background: #f3f7f4;
}

.hero p {
    font-family: var(--font-accent);
    max-width: 42ch;
    line-height: 1.5;
    margin-top: 0.75rem;
}

.cta-button {
    margin-top: 1rem;
    padding: 0.75rem 1.4rem;
    border-radius: 999px;
    border: 2px solid transparent;
    background: #7b9e89;
    color: #fff;
    font-weight: 600;
    display: inline-block;
    transition: background-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.cta-button:hover {
    text-decoration: none;
    background: #64826f;
    transform: translateY(-1px);
    box-shadow: 0 10px 20px rgba(45, 63, 54, 0.2);
}

.cta-button:focus,
.cta-button:focus-visible,
a:focus,
a:focus-visible,
button:focus,
button:focus-visible {
    outline: 3px solid #1f2a35;
    outline-offset: 2px;
}

.about {
    padding: 3.5rem 1rem;
    background-color: #ffffff;
}

.about-content {
    width: min(1100px, 100%);
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(220px, 320px) minmax(0, 1fr);
    gap: 2rem;
    align-items: center;
}

.artist-image-frame {
    width: 100%;
    aspect-ratio: 4 / 5;
    border-radius: 12px;
    margin: 0;
    overflow: hidden;
    border: 1px solid #d9e4de;
    background: #f3f7f4;
    box-shadow: 0 10px 24px rgba(44, 62, 80, 0.12);
}

.artist-image {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.about-text p {
    line-height: 1.6;
}

.future-connect {
    padding: 3.5rem 1rem;
    background: linear-gradient(180deg, #f3f7f4 0%, #faf8f3 100%);
}

.future-connect-content {
    width: min(1100px, 100%);
    margin: 0 auto;
}

.future-connect-content > h2 {
    text-align: center;
    margin-bottom: 0.75rem;
}

.future-connect-content > p {
    text-align: center;
    max-width: 58ch;
    margin: 0 auto 1.5rem;
    line-height: 1.6;
}

.future-placeholder {
    background: #ffffff;
    border: 1px solid #d9e4de;
    border-left: 4px solid #7b9e89;
    border-radius: 12px;
    padding: 1rem 1rem 0.95rem;
    box-shadow: 0 8px 20px rgba(44, 62, 80, 0.07);
}

.future-placeholder + .future-placeholder {
    margin-top: 0.9rem;
}

.future-placeholder h3 {
    margin-bottom: 0.35rem;
    color: #2c3e50;
}

.future-placeholder p {
    margin: 0;
    line-height: 1.5;
    color: #4f5d67;
}

.future-placeholder.newsletter-link {
    display: block;
    color: inherit;
    border-left-color: #5f866f;
    background: linear-gradient(180deg, #ffffff 0%, #f7fbf8 100%);
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.future-placeholder.newsletter-link:hover {
    text-decoration: none;
    box-shadow: 0 12px 26px rgba(44, 62, 80, 0.14);
    transform: translateY(-2px);
    border-left-color: #3f6a54;
}

.newsletter-kicker {
    display: inline-block;
    margin-bottom: 0.45rem;
    padding: 0.2rem 0.55rem;
    border-radius: 999px;
    font-size: 0.78rem;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    color: #2f5645;
    background: #e6f0eb;
}

.newsletter-link .newsletter-cta {
    display: inline-flex;
    align-items: center;
    margin-top: 0.75rem;
    padding: 0.46rem 0.8rem;
    border-radius: 999px;
    font-size: 0.92rem;
    font-weight: 700;
    color: #ffffff;
    background: #5f866f;
}

.newsletter-link .newsletter-cta::after {
    content: " ->";
    margin-left: 0.35rem;
    font-weight: 700;
}

.newsletter-link .newsletter-meta {
    display: block;
    margin-top: 0.45rem;
    font-size: 0.82rem;
    color: #4f5d67;
}

.site-footer {
    background: #2c3e50;
    color: #f2f5f7;
    padding: 1.5rem 1rem;
}

.footer-content {
    width: min(1100px, 100%);
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.footer-copy {
    margin: 0;
}

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

.social-links a {
    color: #f2f5f7;
}

.social-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 0.6rem;
    border-radius: 999px;
    border: 1px solid rgba(242, 245, 247, 0.3);
}

.social-link:hover {
    text-decoration: none;
}

.social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.65rem;
    height: 1.65rem;
    border-radius: 50%;
    background: rgba(242, 245, 247, 0.2);
    color: #ffffff;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.03em;
}

.footer-placeholders {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    font-size: 0.8rem;
}

.footer-placeholders p {
    margin: 0;
    padding: 0.3rem 0.55rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.14);
}

.social-links a:hover {
    color: #c7dbd0;
}

@media (prefers-reduced-motion: reduce) {
    * {
        animation: none !important;
        transition: none !important;
        scroll-behavior: auto !important;
    }
}