* {
    box-sizing: border-box;
}

:root {
    --bg: #f4f1ea;
    --surface: #ffffff;
    --text: #1c1c1c;
    --muted: #666;
    --border: #ddd6ca;
    --accent: #222;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.5;
}

img {
    display: block;
    max-width: 100%;
}

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

.container {
    width: min(1120px, 92%);
    margin: 0 auto;
}

.site-header {
    background: rgba(255,255,255,0.92);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 20;
    backdrop-filter: blur(10px);
}

.header-inner {
    min-height: 78px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.logo a {
    font-size: 1.2rem;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.main-nav {
    display: flex;
    gap: 18px;
    flex-wrap: wrap;
}

.main-nav a {
    padding: 8px 0;
    color: var(--muted);
}

.main-nav a:hover {
    color: var(--text);
}

.hero {
    padding: 90px 0 80px;
}

.hero-inner {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}

.hero-text {
    max-width: 760px;
}

.eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-size: 0.8rem;
    color: var(--muted);
    margin-bottom: 14px;
}

.hero h1,
.page-head h1 {
    font-size: clamp(2.2rem, 4vw, 4rem);
    line-height: 1.05;
    margin: 0 0 18px;
}

.intro {
    max-width: 700px;
    font-size: 1.1rem;
    color: #444;
    margin-bottom: 28px;
}

.intro-small {
    max-width: 700px;
    color: #555;
    margin-top: 0;
}

.hero-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

.button {
    padding: 10px 18px !important;
    border: 1px solid #333 !important;
    background: #eee !important;
    color: #000 !important;
    cursor: pointer !important;
    font-size: 14px !important;
}
.button:hover {
    background: #ddd;
}
.home-section {
    padding: 10px 0 70px;
}

.two-columns {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
}

.info-card {
    background: var(--surface);
    border: 1px solid var(--border);
    padding: 28px;
}

.info-card h2 {
    margin-top: 0;
    margin-bottom: 10px;
    font-size: 1.4rem;
}

.page-main {
    padding: 50px 0 70px;
}

.page-head {
    margin-bottom: 26px;
}

.filter-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 32px;
}

.filter-bar select,
.filter-bar button {
    min-height: 46px;
    padding: 10px 14px;
    border: 1px solid var(--border);
    background: #fff;
    font-size: 1rem;
}

.filter-bar button {
    border-color: var(--accent);
}

.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
}

.card {
    background: var(--surface);
    border: 1px solid var(--border);
    overflow: hidden;
}

.card-image {
    aspect-ratio: 4 / 3;
    background: #e9e4da;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.card-content {
    padding: 18px;
}

.card-content h2 {
    margin: 0 0 8px;
    font-size: 1.2rem;
}

.meta {
    color: var(--muted);
    margin-bottom: 10px;
}

.site-footer {
    border-top: 1px solid var(--border);
    padding: 24px 0;
    color: var(--muted);
    background: rgba(255,255,255,0.65);
}

@media (max-width: 800px) {
    .two-columns {
        grid-template-columns: 1fr;
    }

    .header-inner {
        flex-direction: column;
        align-items: flex-start;
        justify-content: center;
        padding: 14px 0;
    }
}
.card-link {
    display: block;
    color: inherit;
    text-decoration: none;
    height: 100%;
}

.card-link:hover .card-image img {
    transform: scale(1.02);
}

.card-image {
    overflow: hidden;
}

.card-image img {
    transition: transform 0.25s ease;
}

.work-detail {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
    gap: 36px;
    align-items: start;
}

.work-detail-image {
    background: #e9e4da;
    border: 1px solid var(--border);
}

.work-detail-image img {
    width: 100%;
    height: auto;
    display: block;
}

.work-detail-content {
    background: var(--surface);
    border: 1px solid var(--border);
    padding: 28px;
}

.work-detail-content h1 {
    margin-top: 0;
    margin-bottom: 18px;
    font-size: clamp(2rem, 3vw, 3rem);
    line-height: 1.08;
}

.work-meta {
    color: var(--muted);
    margin-bottom: 20px;
}

.work-description p {
    margin-top: 0;
}

@media (max-width: 900px) {
    .work-detail {
        grid-template-columns: 1fr;
    }
}
.search-input {
    min-height: 46px;
    padding: 10px 14px;
    border: 1px solid var(--border);
    background: #fff;
    font-size: 1rem;
    min-width: 280px;
    flex: 1 1 280px;
}
.pagination {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 36px;
    justify-content: center;
    align-items: center;
}

.pagination-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    min-height: 44px;
    padding: 0 14px;
    border: 1px solid var(--border);
    background: #fff;
    color: var(--text);
    text-decoration: none;
}

.pagination-link:hover {
    border-color: var(--accent);
}

.pagination-link.is-active {
    background: var(--accent);
    color: #fff;
    border-color: var(--accent);
}
.hero-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
    gap: 40px;
    align-items: center;
}

.hero-feature {
    background: var(--surface);
    border: 1px solid var(--border);
    overflow: hidden;
}

.hero-feature-link {
    display: block;
    color: inherit;
    text-decoration: none;
}

.hero-feature-image {
    aspect-ratio: 4 / 3;
    background: #e9e4da;
    overflow: hidden;
}

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

.hero-feature-content {
    padding: 18px;
}

.hero-feature-label {
    margin: 0 0 8px;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--muted);
}

.hero-feature-content h2 {
    margin: 0 0 8px;
    font-size: 1.4rem;
}

@media (max-width: 900px) {
    .hero-layout {
        grid-template-columns: 1fr;
    }
}