:root {
    --ink: #2f2924;
    --muted: #786f66;
    --paper: #fbf7ef;
    --cream: #fffdf8;
    --clay: #a5563f;
    --olive: #6f7554;
    --gold: #c39a4a;
    --line: rgba(47, 41, 36, 0.12);
    --shadow: 0 24px 60px rgba(47, 41, 36, 0.12);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--ink);
    background: var(--paper);
    font-family: "Tahoma", "Noto Sans Thai", Arial, sans-serif;
    line-height: 1.65;
}

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

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

.site-header {
    position: sticky;
    top: 0;
    z-index: 30;
    background: rgba(251, 247, 239, 0.92);
    border-bottom: 1px solid var(--line);
    backdrop-filter: blur(16px);
}

.site-header__bar,
.site-footer__inner,
.site-main {
    width: min(1120px, calc(100% - 32px));
    margin: 0 auto;
}

.site-header__bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    min-height: 82px;
}

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

.brand__mark {
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    color: #fffaf0;
    background: var(--ink);
    border-radius: 50%;
    font-weight: 800;
}

.brand__logo {
    border-radius: 8px;
    height: 48px;
    object-fit: contain;
    width: 48px;
}

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

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

.site-nav {
    display: flex;
    align-items: center;
    gap: 6px;
}

.site-nav a {
    padding: 10px 14px;
    color: var(--muted);
    border-radius: 999px;
    font-weight: 700;
}

.site-nav a:hover,
.site-nav a.is-active {
    color: var(--ink);
    background: rgba(165, 86, 63, 0.11);
}

.site-nav__admin {
    color: #fffaf0 !important;
    background: var(--ink) !important;
}

.mobile-menu-button {
    display: none;
    width: 44px;
    height: 44px;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--cream);
}

.mobile-menu-button span:not(.sr-only) {
    display: block;
    height: 2px;
    margin: 5px 0;
    background: var(--ink);
}

.site-main {
    padding: 44px 0 64px;
}

.hero {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
    align-items: center;
    gap: 48px;
    min-height: calc(100vh - 190px);
}

.eyebrow {
    margin: 0 0 12px;
    color: var(--clay);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0;
    text-transform: uppercase;
}

h1,
h2,
h3,
p {
    overflow-wrap: anywhere;
}

.hero h1,
.section h2,
.not-found h1 {
    margin: 0;
    line-height: 1.16;
}

.hero h1 {
    max-width: 760px;
    font-size: clamp(2.4rem, 6vw, 5.8rem);
}

.hero p {
    max-width: 620px;
    color: var(--muted);
    font-size: 1.08rem;
}

.hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 28px;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 12px 20px;
    border: 1px solid var(--ink);
    border-radius: 8px;
    font-weight: 800;
}

.button--primary {
    color: #fffaf0;
    background: var(--ink);
}

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

.hero__visual {
    position: relative;
    min-height: 480px;
}

.hero__visual::before {
    content: "";
    position: absolute;
    inset: 10% 5% 7% 13%;
    background: linear-gradient(145deg, #d8b66b, #f0e2c0 48%, #7b8460);
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.look-card {
    position: absolute;
    display: grid;
    place-items: end start;
    width: 54%;
    min-height: 190px;
    padding: 18px;
    color: #fffaf0;
    border: 1px solid rgba(255, 255, 255, 0.32);
    border-radius: 8px;
    box-shadow: var(--shadow);
    font-size: 1.3rem;
    font-weight: 900;
}

.look-card--one {
    top: 4%;
    left: 0;
    background: #344a64;
}

.look-card--two {
    top: 32%;
    right: 0;
    background: var(--clay);
}

.look-card--three {
    bottom: 0;
    left: 16%;
    background: var(--olive);
}

.section {
    padding: 58px 0 20px;
}

.section__header {
    max-width: 680px;
    margin-bottom: 22px;
}

.section h2 {
    font-size: clamp(1.8rem, 3vw, 3rem);
}

.collection-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.collection-card {
    min-height: 230px;
    padding: 24px;
    background: var(--cream);
    border: 1px solid var(--line);
    border-radius: 8px;
}

.collection-card span {
    color: var(--gold);
    font-weight: 900;
}

.collection-card h3 {
    margin: 34px 0 10px;
    font-size: 1.35rem;
}

.collection-card p {
    margin: 0;
    color: var(--muted);
}

.not-found {
    display: grid;
    place-items: center;
    min-height: calc(100vh - 260px);
    text-align: center;
}

.not-found h1 {
    font-size: clamp(2rem, 5vw, 4.8rem);
}

.not-found p {
    max-width: 560px;
    color: var(--muted);
}

.site-footer {
    border-top: 1px solid var(--line);
    background: #29241f;
    color: #fffaf0;
}

.site-footer__inner {
    display: flex;
    justify-content: space-between;
    gap: 28px;
    padding: 34px 0;
}

.site-footer p,
.site-footer a {
    color: rgba(255, 250, 240, 0.75);
}

.site-footer__links {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    align-content: start;
}

@media (max-width: 860px) {
    .mobile-menu-button {
        display: block;
    }

    .site-nav {
        position: absolute;
        top: 82px;
        right: 16px;
        left: 16px;
        display: none;
        flex-direction: column;
        align-items: stretch;
        padding: 14px;
        background: var(--cream);
        border: 1px solid var(--line);
        border-radius: 8px;
        box-shadow: var(--shadow);
    }

    .site-nav.is-open {
        display: flex;
    }

    .hero {
        grid-template-columns: 1fr;
        min-height: auto;
    }

    .hero__visual {
        min-height: 360px;
    }

    .collection-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 560px) {
    .site-header__bar,
    .site-footer__inner,
    .site-main {
        width: min(100% - 24px, 1120px);
    }

    .brand small {
        display: none;
    }

    .hero h1 {
        font-size: 2.25rem;
    }

    .site-footer__inner {
        flex-direction: column;
    }
}
