:root {
    --bg: #f4efe8;
    --paper: #fffdf9;
    --ink: #2b241f;
    --muted: #6f645c;
    --accent: #9f3b2d;
    --line: #d9cabe;
    --shadow: 0 16px 34px rgba(47, 30, 17, 0.12);
    --radius: 18px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html { scroll-behavior: smooth; }

body {
    font-family: "Noto Sans Thai", Tahoma, sans-serif;
    background: linear-gradient(180deg, #f8f4ed 0%, var(--bg) 100%);
    color: var(--ink);
    line-height: 1.65;
}

.container {
    width: min(1140px, 92vw);
    margin: 0 auto;
}

.card {
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.topbar {
    position: sticky;
    top: 0;
    z-index: 20;
    background: rgba(253, 249, 243, 0.88);
    border-bottom: 1px solid rgba(159, 59, 45, 0.16);
    backdrop-filter: blur(10px);
}

.topbar-inner {
    min-height: 68px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.brand {
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--accent);
    text-decoration: none;
}

.menu-btn {
    display: none;
    border: 1px solid var(--line);
    background: #fff;
    border-radius: 10px;
    padding: 0.3rem 0.55rem;
    font-size: 1.1rem;
    cursor: pointer;
}

.nav {
    display: flex;
    gap: 0.5rem;
}

.nav a {
    color: #493f38;
    text-decoration: none;
    border-radius: 999px;
    padding: 0.38rem 0.78rem;
    border: 1px solid transparent;
}

.nav a:hover {
    background: #fff;
    border-color: var(--line);
}

.hero {
    padding: 1.2rem 0 0.4rem;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.06fr 0.94fr;
    gap: 1rem;
}

.hero-copy {
    padding: 1.4rem;
}

.label {
    display: inline-block;
    margin-bottom: 0.75rem;
    border: 1px solid #e2c9bb;
    color: #7d2c21;
    background: #fff3ea;
    border-radius: 999px;
    font-size: 0.82rem;
    padding: 0.28rem 0.68rem;
}

h1 {
    font-size: clamp(1.8rem, 4.4vw, 3rem);
    line-height: 1.15;
    margin-bottom: 0.78rem;
}

.lead {
    color: var(--muted);
    max-width: 58ch;
    margin-bottom: 1rem;
}

.btn {
    border: 1px solid #dfb9a8;
    background: linear-gradient(135deg, #fff1e8 0%, #ffe3d4 100%);
    color: #7d2d22;
    border-radius: 999px;
    padding: 0.52rem 0.95rem;
    font-weight: 700;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
}

.btn.alt {
    background: #fff;
    border-color: var(--line);
    color: #5f4a3e;
}

.status-text {
    margin-top: 0.75rem;
    color: #7c6f66;
    font-size: 0.9rem;
}

.hero-photo {
    min-height: 340px;
    overflow: hidden;
}

.hero-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.collection {
    margin-top: 1rem;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.8rem;
}

.mosaic-card {
    min-height: 180px;
    position: relative;
    overflow: hidden;
}

.mosaic-card.tall { grid-row: span 2; min-height: 376px; }
.mosaic-card.wide { grid-column: span 2; }

.mosaic-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.overlay {
    position: absolute;
    left: 10px;
    right: 10px;
    bottom: 10px;
    background: rgba(0, 0, 0, 0.55);
    color: #fff;
    border-radius: 10px;
    padding: 0.35rem 0.55rem;
    font-size: 0.86rem;
}

.stories {
    margin-top: 1rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.8rem;
}

.text-card {
    padding: 1.2rem;
}

.text-card h2 {
    margin-bottom: 0.65rem;
    font-size: clamp(1.25rem, 2.6vw, 1.8rem);
}

.text-card p { color: var(--muted); }

.photo-card {
    min-height: 260px;
    overflow: hidden;
}

.photo-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.policy {
    margin: 1rem auto 0;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.8rem;
}

.policy-item {
    padding: 0.85rem;
    color: #5f544d;
    font-size: 0.92rem;
}

.footer {
    margin-top: 1.3rem;
    border-top: 1px solid #dbcfc4;
    padding: 0.9rem 0 1.2rem;
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    gap: 0.8rem;
    flex-wrap: wrap;
    color: #706660;
    font-size: 0.88rem;
}

.footer a {
    color: var(--accent);
    text-decoration: none;
}

@media (max-width: 980px) {
    .hero-grid { grid-template-columns: 1fr; }
    .collection { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .mosaic-card.wide { grid-column: span 2; }
    .stories { grid-template-columns: 1fr; }
    .policy { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
    .menu-btn { display: block; }
    .nav {
        display: none;
        position: absolute;
        top: 68px;
        left: 0;
        right: 0;
        padding: 0.65rem;
        background: #fff9f2;
        border-bottom: 1px solid var(--line);
        flex-direction: column;
        gap: 0.35rem;
    }
    .nav.open { display: flex; }
    .collection { grid-template-columns: 1fr; }
    .mosaic-card.wide { grid-column: span 1; }
    .mosaic-card.tall { grid-row: span 1; min-height: 240px; }
}

