:root {
    --ink: #292721;
    --muted: #77736b;
    --cream: #f7f5ef;
    --paper: #fffefa;
    --clay: #a75f43;
    --clay-dark: #82452f;
    --sage: #747d68;
    --line: #e8e4db;
    --serif: Georgia, "Times New Roman", serif;
    --sans: "Noto Sans Thai", sans-serif;
    --max-width: 1200px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--ink);
    background: var(--paper);
    font-family: var(--sans);
    font-size: 14px;
    line-height: 1.7;
}

body.no-scroll {
    overflow: hidden;
}

button,
input {
    font: inherit;
}

button,
a {
    -webkit-tap-highlight-color: transparent;
}

button {
    cursor: pointer;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    display: block;
    width: 100%;
    object-fit: cover;
}

.container {
    width: min(var(--max-width), calc(100% - 64px));
    margin: 0 auto;
}

.announcement {
    padding: 8px 16px;
    color: #fff;
    background: var(--ink);
    text-align: center;
    font-size: 10px;
    letter-spacing: 0.04em;
}

.header {
    position: sticky;
    z-index: 30;
    top: 0;
    background: rgba(255, 254, 250, 0.94);
    border-bottom: 1px solid rgba(41, 39, 33, 0.08);
    backdrop-filter: blur(14px);
}

.nav {
    display: flex;
    min-height: 76px;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--ink);
}

.brand-mark {
    display: grid;
    width: 34px;
    height: 34px;
    place-items: center;
    color: var(--paper);
    background: var(--clay);
    border-radius: 50% 50% 46% 54%;
    font-family: var(--serif);
    font-size: 21px;
    font-style: italic;
}

.brand-name {
    font-size: 19px;
    font-weight: 600;
    letter-spacing: 0.16em;
}

.brand-subtitle {
    display: block;
    margin-top: -5px;
    color: var(--muted);
    font-family: var(--serif);
    font-size: 9px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 31px;
    color: #5e5a52;
    font-size: 11px;
}

.nav-links a {
    position: relative;
    padding: 8px 0;
}

.nav-links a::after {
    position: absolute;
    right: 0;
    bottom: 2px;
    left: 0;
    height: 1px;
    content: "";
    background: var(--clay);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.25s ease;
}

.nav-links a:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 9px;
}

.search-wrap {
    display: flex;
    width: 150px;
    align-items: center;
    gap: 7px;
    padding: 6px 2px;
    border-bottom: 1px solid var(--line);
}

.search-wrap input {
    width: 100%;
    border: 0;
    outline: 0;
    background: transparent;
    font-size: 10px;
}

.search-wrap svg {
    width: 15px;
    flex: 0 0 15px;
    stroke: var(--muted);
}

.nav-icon {
    position: relative;
    display: grid;
    width: 38px;
    height: 38px;
    place-items: center;
    color: var(--ink);
    background: transparent;
    border: 1px solid var(--line);
    border-radius: 50%;
    transition: 0.2s ease;
}

.nav-icon:hover {
    color: white;
    background: var(--ink);
    border-color: var(--ink);
}

.nav-icon svg {
    width: 17px;
    height: 17px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.5;
}

.cart-count {
    position: absolute;
    top: -4px;
    right: -4px;
    display: grid;
    min-width: 17px;
    height: 17px;
    place-items: center;
    padding: 0 4px;
    color: white;
    background: var(--clay);
    border: 2px solid var(--paper);
    border-radius: 20px;
    font-size: 9px;
}

.menu-toggle {
    display: none;
}

.hero {
    position: relative;
    display: grid;
    min-height: min(680px, 82vh);
    grid-template-columns: 0.9fr 1.1fr;
    overflow: hidden;
    background: var(--cream);
}

.hero-copy {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding: 70px 5vw 80px max(32px, calc((100vw - var(--max-width)) / 2));
}

.eyebrow {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 18px;
    color: var(--clay);
    font-family: var(--serif);
    font-size: 12px;
    letter-spacing: 0.13em;
    text-transform: uppercase;
}

.eyebrow::before {
    width: 27px;
    height: 1px;
    content: "";
    background: currentColor;
}

.hero h1 {
    max-width: 490px;
    margin: 0;
    font-family: var(--serif), var(--sans);
    font-size: clamp(42px, 5.8vw, 75px);
    font-weight: 400;
    line-height: 1.16;
    letter-spacing: -0.045em;
}

.hero h1 span {
    color: var(--clay);
    font-style: italic;
}

.hero-copy>p:not(.eyebrow) {
    max-width: 390px;
    margin: 20px 0 27px;
    color: #6e6a62;
    font-size: 12px;
    line-height: 2;
}

.button {
    display: inline-flex;
    min-height: 45px;
    align-items: center;
    justify-content: center;
    gap: 14px;
    padding: 11px 19px;
    color: white;
    background: var(--ink);
    border: 1px solid var(--ink);
    font-size: 11px;
    transition:
        color 0.25s ease,
        background 0.25s ease,
        transform 0.25s ease;
}

.button:hover {
    color: var(--ink);
    background: transparent;
    transform: translateY(-2px);
}

.button svg {
    width: 16px;
    height: 16px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.5;
    transition: transform 0.2s ease;
}

.button:hover svg {
    transform: translateX(3px);
}

.hero-image {
    position: relative;
    min-height: 500px;
    overflow: hidden;
    background: #d9d1c3;
}

.hero-image img {
    position: absolute;
    inset: 0;
    height: 100%;
    animation: slow-zoom 16s ease-in-out infinite alternate;
}

.hero-image::after {
    position: absolute;
    inset: 0;
    content: "";
    background: linear-gradient(90deg,
            rgba(37, 34, 28, 0.08),
            transparent 35%);
    pointer-events: none;
}

.hero-stamp {
    position: absolute;
    right: 7%;
    bottom: 7%;
    z-index: 2;
    display: grid;
    width: 96px;
    height: 96px;
    place-items: center;
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.75);
    border-radius: 50%;
    font-family: var(--serif);
    font-size: 11px;
    letter-spacing: 0.09em;
    text-align: center;
    text-transform: uppercase;
    animation: rotate 22s linear infinite;
}

.hero-index {
    position: absolute;
    bottom: 26px;
    left: 34px;
    z-index: 1;
    color: white;
    font-family: var(--serif);
    font-size: 11px;
    letter-spacing: 0.1em;
}

.scroll-cue {
    position: absolute;
    bottom: 25px;
    left: 50%;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 10px;
    color: #746f65;
    font-size: 9px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    transform: translateX(-50%);
}

.scroll-cue::before {
    width: 24px;
    height: 1px;
    content: "";
    background: var(--clay);
}

.section {
    padding: 100px 0;
}

.section-head {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 34px;
}

.section-label {
    margin: 0 0 8px;
    color: var(--clay);
    font-family: var(--serif);
    font-size: 11px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.section-head h2,
.story-copy h2,
.craft-copy h2 {
    margin: 0;
    font-family: var(--serif), var(--sans);
    font-size: clamp(29px, 4vw, 44px);
    font-weight: 400;
    line-height: 1.25;
    letter-spacing: -0.03em;
}

.section-desc {
    max-width: 330px;
    margin: 0;
    color: var(--muted);
    font-size: 11px;
    line-height: 1.9;
}

.filter-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0 0 25px;
}

.filter-button {
    padding: 8px 14px;
    color: #77736b;
    background: transparent;
    border: 1px solid var(--line);
    border-radius: 30px;
    font-size: 10px;
    transition: 0.2s ease;
}

.filter-button:hover,
.filter-button.active {
    color: white;
    background: var(--ink);
    border-color: var(--ink);
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 34px 18px;
}

.product-card {
    min-width: 0;
    animation: fade-up 0.55s both;
}

.product-image {
    position: relative;
    height: clamp(220px, 27vw, 340px);
    overflow: hidden;
    background: #eeeae1;
}

.product-image img {
    height: 100%;
    transition: transform 0.65s cubic-bezier(0.2, 0.7, 0.25, 1);
}

.product-card:hover .product-image img {
    transform: scale(1.055);
}

.product-tag {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 5px 9px;
    color: var(--ink);
    background: rgba(255, 254, 250, 0.9);
    font-size: 9px;
    letter-spacing: 0.03em;
}

.quick-add {
    position: absolute;
    right: 12px;
    bottom: 12px;
    left: 12px;
    padding: 11px;
    color: white;
    background: rgba(41, 39, 33, 0.94);
    border: 0;
    font-size: 10px;
    opacity: 0;
    transform: translateY(8px);
    transition: 0.25s ease;
}

.product-card:hover .quick-add,
.quick-add:focus-visible {
    opacity: 1;
    transform: translateY(0);
}

.product-meta {
    display: flex;
    align-items: start;
    justify-content: space-between;
    gap: 10px;
    padding: 12px 1px 0;
}

.product-category {
    margin: 0 0 3px;
    color: #99938a;
    font-size: 9px;
    letter-spacing: 0.04em;
}

.product-name {
    margin: 0;
    color: var(--ink);
    font-size: 12px;
    font-weight: 500;
}

.product-price {
    flex: 0 0 auto;
    padding-top: 14px;
    color: var(--ink);
    font-family: var(--serif);
    font-size: 13px;
}

.story {
    display: grid;
    min-height: 570px;
    grid-template-columns: 1fr 1fr;
    background: var(--cream);
}

.story-image {
    position: relative;
    min-height: 500px;
    overflow: hidden;
}

.story-image img {
    position: absolute;
    inset: 0;
    height: 100%;
    transition: transform 0.8s ease;
}

.story-image:hover img {
    transform: scale(1.03);
}

.story-copy {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding: 70px clamp(34px, 8vw, 120px);
}

.story-copy p:not(.section-label) {
    max-width: 430px;
    margin: 18px 0 24px;
    color: #6f6a62;
    font-size: 11px;
    line-height: 2.1;
}

.text-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding-bottom: 4px;
    border-bottom: 1px solid var(--clay);
    color: var(--clay-dark);
    font-size: 10px;
    transition: gap 0.2s ease;
}

.text-link:hover {
    gap: 16px;
}

.craft {
    padding: 91px 0;
    color: white;
    background: #34382f;
}

.craft-inner {
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    align-items: center;
    gap: 70px;
}

.craft-copy .section-label {
    color: #d1a18a;
}

.craft-copy h2 {
    color: #fffefa;
}

.craft-copy p:not(.section-label) {
    max-width: 430px;
    margin: 17px 0 23px;
    color: #d0d0c8;
    font-size: 11px;
    line-height: 2;
}

.craft .button {
    color: var(--ink);
    background: #f7f5ef;
    border-color: #f7f5ef;
}

.craft .button:hover {
    color: white;
    background: transparent;
}

.craft-image {
    position: relative;
    height: 410px;
    overflow: hidden;
}

.craft-image img {
    height: 100%;
    transition: transform 0.7s ease;
}

.craft-image:hover img {
    transform: scale(1.04);
}

.values {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border-top: 1px solid var(--line);
}

.value {
    padding: 23px 20px 0 0;
}

.value+.value {
    padding-left: 22px;
    border-left: 1px solid var(--line);
}

.value-number {
    color: var(--clay);
    font-family: var(--serif);
    font-size: 12px;
}

.value h3 {
    margin: 7px 0 4px;
    font-size: 11px;
    font-weight: 600;
}

.value p {
    margin: 0;
    color: #c0c2b9;
    font-size: 9px;
    line-height: 1.8;
}

.quote-section {
    padding: 85px 20px;
    text-align: center;
}

.quote-mark {
    color: var(--clay);
    font-family: var(--serif);
    font-size: 45px;
    line-height: 1;
}

.quote-section blockquote {
    max-width: 700px;
    margin: 10px auto 15px;
    font-family: var(--serif), var(--sans);
    font-size: clamp(23px, 3vw, 34px);
    font-weight: 400;
    line-height: 1.5;
}

.quote-section p {
    margin: 0;
    color: var(--muted);
    font-size: 10px;
}

.newsletter {
    padding: 65px 24px;
    background: #efede5;
}

.newsletter-inner {
    max-width: 650px;
    margin: 0 auto;
    text-align: center;
}

.newsletter-inner h2 {
    margin: 0 0 6px;
    font-family: var(--serif), var(--sans);
    font-size: 30px;
    font-weight: 400;
}

.newsletter-inner>p {
    margin: 0 0 20px;
    color: var(--muted);
    font-size: 10px;
}

.newsletter-form {
    display: flex;
    max-width: 450px;
    margin: 0 auto;
}

.newsletter-form input {
    min-width: 0;
    flex: 1;
    padding: 12px 14px;
    background: var(--paper);
    border: 1px solid #dedacf;
    outline: 0;
    font-size: 10px;
}

.newsletter-form input:focus {
    border-color: var(--clay);
}

.newsletter-form button {
    padding: 0 17px;
    color: white;
    background: var(--ink);
    border: 1px solid var(--ink);
    font-size: 10px;
    transition: background 0.2s ease;
}

.newsletter-form button:hover {
    background: var(--clay-dark);
    border-color: var(--clay-dark);
}

.footer {
    padding: 48px 0 19px;
    color: #eeeae1;
    background: #292a25;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 30px;
    padding-bottom: 35px;
}

.footer .brand {
    color: white;
}

.footer .brand-mark {
    color: var(--ink);
    background: #e5c2ae;
}

.footer p,
.footer a {
    color: #b8b5ac;
    font-size: 10px;
}

.footer h3 {
    margin: 0 0 12px;
    color: white;
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 0.06em;
}

.footer-links {
    display: grid;
    gap: 6px;
}

.footer a:hover {
    color: #e5c2ae;
}

.copyright {
    padding-top: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    color: #aaa79f;
    font-size: 9px;
    text-align: center;
}

/* Cart drawer */
.overlay {
    position: fixed;
    z-index: 39;
    inset: 0;
    background: rgba(20, 19, 16, 0.42);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.overlay.open {
    opacity: 1;
    pointer-events: auto;
}

.cart-drawer {
    position: fixed;
    z-index: 40;
    top: 0;
    right: 0;
    display: flex;
    width: min(420px, 100%);
    height: 100dvh;
    flex-direction: column;
    padding: 23px;
    background: var(--paper);
    box-shadow: -10px 0 40px rgba(0, 0, 0, 0.12);
    transform: translateX(105%);
    transition: transform 0.35s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.cart-drawer.open {
    transform: translateX(0);
}

.cart-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--line);
}

.cart-head h2 {
    margin: 0;
    font-family: var(--serif), var(--sans);
    font-size: 25px;
    font-weight: 400;
}

.close-button {
    display: grid;
    width: 35px;
    height: 35px;
    place-items: center;
    color: var(--ink);
    background: transparent;
    border: 1px solid var(--line);
    border-radius: 50%;
    font-size: 18px;
}

.cart-items {
    flex: 1;
    overflow-y: auto;
    padding: 14px 0;
}

.cart-empty {
    padding: 38px 0;
    color: var(--muted);
    font-size: 11px;
    text-align: center;
}

.cart-item {
    display: grid;
    grid-template-columns: 68px 1fr auto;
    gap: 12px;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid var(--line);
}

.cart-item img {
    width: 68px;
    height: 76px;
    background: var(--cream);
}

.cart-item h3 {
    margin: 0 0 3px;
    font-size: 11px;
    font-weight: 500;
}

.cart-item p {
    margin: 0;
    color: var(--muted);
    font-size: 10px;
}

.remove-item {
    padding: 5px;
    color: var(--clay);
    background: transparent;
    border: 0;
    font-size: 10px;
}

.cart-footer {
    padding-top: 16px;
    border-top: 1px solid var(--line);
}

.cart-total {
    display: flex;
    justify-content: space-between;
    margin-bottom: 14px;
    font-size: 12px;
}

.cart-checkout {
    width: 100%;
}

.toast {
    position: fixed;
    z-index: 60;
    right: 20px;
    bottom: 20px;
    max-width: calc(100% - 40px);
    padding: 12px 17px;
    color: white;
    background: var(--ink);
    box-shadow: 0 8px 26px rgba(0, 0, 0, 0.18);
    font-size: 11px;
    opacity: 0;
    pointer-events: none;
    transform: translateY(12px);
    transition: 0.25s ease;
}

.toast.show {
    opacity: 1;
    transform: translateY(0);
}

.empty-results {
    grid-column: 1 / -1;
    padding: 45px 0;
    color: var(--muted);
    text-align: center;
    font-size: 12px;
}

.reveal {
    opacity: 0;
    transform: translateY(18px);
    transition:
        opacity 0.7s ease,
        transform 0.7s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

@keyframes slow-zoom {
    from {
        transform: scale(1);
    }

    to {
        transform: scale(1.07);
    }
}

@keyframes rotate {
    to {
        transform: rotate(360deg);
    }
}

@keyframes fade-up {
    from {
        opacity: 0;
        transform: translateY(12px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    .reveal {
        opacity: 1;
        transform: none;
    }
}

@media (max-width: 900px) {
    .container {
        width: min(var(--max-width), calc(100% - 40px));
    }

    .nav-links {
        gap: 17px;
    }

    .search-wrap {
        width: 115px;
    }

    .hero {
        min-height: 590px;
    }

    .hero-copy {
        padding-left: 32px;
    }

    .product-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .product-image {
        height: 29vw;
    }

    .craft-inner {
        gap: 35px;
    }

    .craft-image {
        height: 360px;
    }
}

@media (max-width: 680px) {
    .container {
        width: calc(100% - 36px);
    }

    .announcement {
        font-size: 9px;
    }

    .nav {
        min-height: 65px;
    }

    .brand-name {
        font-size: 17px;
    }

    .nav-links {
        position: absolute;
        top: 65px;
        right: 0;
        left: 0;
        display: none;
        align-items: stretch;
        gap: 0;
        padding: 8px 20px 14px;
        background: var(--paper);
        border-bottom: 1px solid var(--line);
    }

    .nav-links.open {
        display: flex;
        flex-direction: column;
    }

    .nav-links a {
        padding: 11px 0;
        border-bottom: 1px solid var(--line);
    }

    .nav-links a::after {
        display: none;
    }

    .search-wrap {
        width: 105px;
    }

    .search-wrap input {
        font-size: 9px;
    }

    .menu-toggle {
        display: grid;
    }

    .hero {
        min-height: auto;
        grid-template-columns: 1fr;
    }

    .hero-copy {
        padding: 58px 24px 55px;
    }

    .hero h1 {
        font-size: clamp(43px, 12vw, 64px);
    }

    .hero-copy>p:not(.eyebrow) {
        max-width: 350px;
        margin: 15px 0 21px;
    }

    .hero-image {
        min-height: 330px;
    }

    .hero-index {
        bottom: 15px;
        left: 17px;
    }

    .hero-stamp {
        width: 75px;
        height: 75px;
        font-size: 9px;
    }

    .scroll-cue {
        display: none;
    }

    .section {
        padding: 69px 0;
    }

    .section-head {
        align-items: flex-start;
        flex-direction: column;
        gap: 10px;
        margin-bottom: 25px;
    }

    .section-desc {
        max-width: 400px;
    }

    .product-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 25px 11px;
    }

    .product-image {
        height: 56vw;
        max-height: 330px;
        min-height: 190px;
    }

    .quick-add {
        right: 7px;
        bottom: 7px;
        left: 7px;
        padding: 9px 5px;
        font-size: 9px;
        opacity: 1;
        transform: none;
    }

    .product-meta {
        gap: 5px;
    }

    .product-name {
        font-size: 10px;
    }

    .product-price {
        font-size: 11px;
    }

    .story {
        grid-template-columns: 1fr;
    }

    .story-image {
        min-height: 330px;
    }

    .story-copy {
        padding: 48px 24px 56px;
    }

    .craft {
        padding: 64px 0;
    }

    .craft-inner {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .craft-image {
        height: 310px;
    }

    .values {
        gap: 12px;
    }

    .value {
        padding-right: 8px;
    }

    .value+.value {
        padding-left: 11px;
    }

    .value h3 {
        font-size: 10px;
    }

    .value p {
        font-size: 8px;
    }

    .quote-section {
        padding: 65px 22px;
    }

    .newsletter {
        padding: 52px 18px;
    }

    .newsletter-inner h2 {
        font-size: 26px;
    }

    .newsletter-form button {
        padding: 0 11px;
        font-size: 9px;
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px 18px;
    }
}

@media (max-width: 390px) {
    .container {
        width: calc(100% - 28px);
    }

    .search-wrap {
        width: 80px;
    }

    .nav-actions {
        gap: 6px;
    }

    .nav-icon {
        width: 34px;
        height: 34px;
    }

    .filter-row {
        gap: 6px;
    }

    .filter-button {
        padding: 7px 10px;
    }

    .product-image {
        min-height: 165px;
    }
}

.responsive-img {
    display: block;
    max-width: 100%;
    height: auto;
}

@media screen and (min-width: 580px) {
    .responsive-img {
        display: none;
    }
}