@charset "UTF-8";

:root {
    color-scheme: light;
    --page: #f7f4ec;
    --surface: #fffdf8;
    --surface-muted: #efebe0;
    --text: #292b22;
    --muted: #747568;
    --accent: #4e593c;
    --accent-strong: #3e492f;
    --line: #dedacd;
    --chrome: #f7f4ec;
    --shadow: 0 18px 50px rgba(38, 38, 26, 0.08);
}

:root[data-theme="dark"] {
    color-scheme: dark;
    --page: #1c1e19;
    --surface: #252821;
    --surface-muted: #30342a;
    --text: #f0eee5;
    --muted: #b4b5a8;
    --accent: #c5d09f;
    --accent-strong: #d4dfad;
    --line: #41453a;
    --chrome: #1c1e19;
    --shadow: 0 18px 50px rgba(0, 0, 0, 0.22);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 24px;
}

body {
    margin: 0;
    background: var(--page);
    color: var(--text);
    font-family: "Avenir Next", Avenir, "Segoe UI", sans-serif;
    font-size: 16px;
    line-height: 1.65;
    transition: background-color 180ms ease, color 180ms ease;
}

a {
    color: inherit;
}

button,
a {
    -webkit-tap-highlight-color: transparent;
}

a:focus-visible,
button:focus-visible {
    outline: 3px solid var(--accent);
    outline-offset: 4px;
}

.site-header,
.page-wrap,
.section-wrap,
.site-footer {
    width: min(1160px, calc(100% - 64px));
    margin-inline: auto;
}

.site-header {
    min-height: 88px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    border-bottom: 1px solid var(--line);
}

.wordmark {
    flex: 0 0 auto;
    color: var(--text);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 26px;
    font-weight: 700;
    letter-spacing: -1.4px;
    line-height: 1;
    text-decoration: none;
}

.wordmark span {
    font-weight: 400;
}

.wordmark i {
    color: var(--accent);
    font-style: normal;
}

.site-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: clamp(18px, 3vw, 40px);
}

.site-nav a,
.theme-toggle {
    color: var(--muted);
    font: inherit;
    font-size: 13px;
    text-decoration: none;
}

.site-nav a:hover,
.text-link:hover {
    color: var(--accent);
}

.theme-toggle {
    min-height: 42px;
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 0 14px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: var(--surface);
    color: var(--text);
    cursor: pointer;
    transition: background-color 180ms ease, border-color 180ms ease;
}

.theme-toggle:hover {
    border-color: var(--accent);
}

.header-tools {
    display: flex;
    align-items: center;
    gap: 12px;
}

.lang-switch {
    display: inline-flex;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: var(--surface);
    overflow: hidden;
}

.lang-switch a {
    min-height: 40px;
    display: inline-flex;
    align-items: center;
    padding: 0 12px;
    color: var(--muted);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-decoration: none;
}

.lang-switch a:hover {
    color: var(--accent);
}

.lang-switch a[aria-current="true"] {
    background: var(--accent);
    color: var(--surface);
}

.theme-icon {
    color: var(--accent);
    font-size: 17px;
    line-height: 1;
}

.hero {
    padding-top: clamp(54px, 8vw, 100px);
}

.hero-copy {
    max-width: 690px;
    margin: 0 auto 48px;
    text-align: center;
}

.eyebrow {
    margin: 0 0 12px;
    color: var(--accent);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.16em;
    line-height: 1.4;
    text-transform: uppercase;
}

h1,
h2,
h3,
p,
figure {
    margin-top: 0;
}

h1,
h2 {
    font-family: Georgia, "Times New Roman", serif;
    font-weight: 400;
    letter-spacing: -0.045em;
}

h1 {
    margin-bottom: 19px;
    font-size: clamp(43px, 7vw, 76px);
    line-height: 1.04;
}

.hero-intro {
    max-width: 540px;
    margin: 0 auto 26px;
    color: var(--muted);
    font-size: 16px;
}

.button {
    min-height: 50px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    padding: 0 23px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    transition: background-color 180ms ease, transform 180ms ease;
}

.button:hover {
    transform: translateY(-2px);
}

.button-primary {
    background: var(--accent);
    color: #fff;
}

:root[data-theme="dark"] .button-primary {
    color: #20231b;
}

.button-primary:hover {
    background: var(--accent-strong);
}

.banner {
    position: relative;
    overflow: hidden;
    aspect-ratio: 3 / 1;
    margin: 0;
    border-radius: 5px;
    background: var(--surface-muted);
    box-shadow: var(--shadow);
}

.banner img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center 48%;
}

.banner figcaption {
    position: absolute;
    right: 18px;
    bottom: 16px;
    padding: 7px 12px;
    border-radius: 999px;
    background: rgba(255, 253, 248, 0.86);
    color: #36372e;
    font-size: 11px;
    letter-spacing: 0.03em;
    backdrop-filter: blur(8px);
}

.collection {
    padding-block: clamp(76px, 10vw, 128px);
}

.section-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 32px;
    margin-bottom: 34px;
}

.section-heading h2,
.custom-work h2,
.about h2 {
    margin-bottom: 0;
    font-size: clamp(34px, 4vw, 48px);
    line-height: 1.12;
}

.section-intro {
    max-width: 330px;
    margin-bottom: 3px;
    color: var(--muted);
    font-size: 14px;
}

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

.art-card {
    min-width: 0;
}

.grid-status {
    margin: 28px 0 0;
    text-align: center;
    color: var(--muted, inherit);
}

.grid-sentinel {
    height: 1px;
}

.art-card-link {
    display: block;
    color: inherit;
    text-decoration: none;
}

.art-image {
    position: relative;
    overflow: hidden;
    aspect-ratio: 4 / 5;
    background: var(--surface-muted);
}

.art-image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    transition: transform 300ms ease;
}

.art-card:hover .art-image img {
    transform: scale(1.035);
}

.art-view-hint {
    position: absolute;
    right: 12px;
    bottom: 12px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border-radius: 999px;
    background: var(--surface);
    color: var(--text);
    font-size: 12px;
    opacity: 0;
    transform: translateY(4px);
    transition: opacity 180ms ease, transform 180ms ease;
}

.art-card-link:hover .art-view-hint,
.art-card-link:focus-visible .art-view-hint {
    opacity: 1;
    transform: translateY(0);
}

.art-caption {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
    padding-top: 14px;
}

.art-caption h3 {
    margin-bottom: 0;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 19px;
    font-weight: 400;
}

.art-caption p {
    margin-bottom: 0;
    color: var(--muted);
    font-size: 12px;
}

.art-detail {
    padding-block: 34px clamp(72px, 9vw, 110px);
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 28px;
    color: var(--muted);
    font-size: 13px;
    text-decoration: none;
}

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

.back-link span {
    font-size: 18px;
}

.art-detail-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(300px, 0.8fr);
    align-items: center;
    gap: clamp(36px, 7vw, 90px);
}

.art-detail-image {
    overflow: hidden;
    margin: 0;
    background: var(--surface-muted);
    box-shadow: var(--shadow);
}

.art-detail-image img {
    width: 100%;
    max-height: 78vh;
    display: block;
    object-fit: contain;
}

.art-detail-copy h1 {
    margin-bottom: 20px;
    font-size: clamp(40px, 5.5vw, 64px);
    overflow-wrap: anywhere;
}

.art-detail-intro,
.art-detail-note {
    color: var(--muted);
}

.art-details {
    margin: 28px 0;
    border-top: 1px solid var(--line);
}

.art-details > div {
    display: grid;
    grid-template-columns: minmax(95px, 0.4fr) 1fr;
    gap: 16px;
    padding: 13px 0;
    border-bottom: 1px solid var(--line);
}

.art-details dt {
    color: var(--muted);
    font-size: 13px;
}

.art-details dd {
    margin: 0;
    font-size: 14px;
}

.art-detail-note {
    margin: 28px 0;
}

.back-link-bottom {
    display: flex;
    width: fit-content;
    margin: 24px 0 0;
}

.purchase-form,
.checkout-form {
    display: grid;
    gap: 10px;
}

.purchase-form {
    margin-top: 28px;
}

.purchase-form label,
.checkout-form label {
    color: var(--text);
    font-size: 13px;
    font-weight: 600;
}

.purchase-form select,
.purchase-form input,
.checkout-form input,
.checkout-form textarea {
    width: 100%;
    min-height: 48px;
    padding: 11px 13px;
    border: 1px solid var(--line);
    border-radius: 4px;
    background: var(--surface);
    color: var(--text);
    font: inherit;
    font-size: 14px;
}

.purchase-form input[type="number"] {
    max-width: 110px;
}

.purchase-form .button,
.checkout-form .button {
    justify-self: start;
    margin-top: 8px;
    border: 0;
    cursor: pointer;
}

.shop-page {
    min-height: 55vh;
    padding-block: clamp(50px, 7vw, 82px) clamp(80px, 10vw, 120px);
}

.shop-page > h1,
.order-sent h1 {
    margin-bottom: 28px;
    font-size: clamp(42px, 6vw, 64px);
}

.shop-notice,
.shop-error {
    margin: 0 0 22px;
    padding: 14px 18px;
    border: 1px solid var(--line);
    border-radius: 4px;
    background: var(--surface);
}

.shop-error {
    border-color: #bb796f;
}

.shop-error p {
    margin-bottom: 8px;
}

.shop-error ul {
    margin: 0;
    padding-left: 20px;
}

.cart-list {
    border-top: 1px solid var(--line);
}

.cart-item {
    display: grid;
    grid-template-columns: 112px minmax(0, 1fr) auto;
    align-items: center;
    gap: 22px;
    padding: 22px 0;
    border-bottom: 1px solid var(--line);
}

.cart-item > img {
    width: 112px;
    height: 112px;
    object-fit: cover;
    background: var(--surface-muted);
}

.cart-item-info h2 {
    margin: 0 0 3px;
    font-size: 22px;
}

.cart-item-info > p {
    margin: 0 0 12px;
    color: var(--muted);
    font-size: 13px;
}

.cart-item-info > form {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-right: 15px;
}

.cart-line-form label {
    color: var(--muted);
    font-size: 12px;
}

.cart-line-form input {
    width: 64px;
    min-height: 34px;
    padding: 4px 8px;
    border: 1px solid var(--line);
    border-radius: 4px;
    background: var(--surface);
    color: var(--text);
    font: inherit;
}

.text-button {
    padding: 4px 0;
    border: 0;
    background: none;
    color: var(--accent);
    font: inherit;
    font-size: 12px;
    text-decoration: underline;
    text-underline-offset: 3px;
    cursor: pointer;
}

.remove-button {
    color: var(--muted);
}

.cart-line-total {
    align-self: start;
    padding-top: 6px;
    white-space: nowrap;
}

.cart-summary {
    width: min(100%, 440px);
    margin: 28px 0 0 auto;
}

.cart-summary > p,
.checkout-summary > p {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 10px;
}

.cart-summary > small,
.checkout-summary > small {
    display: block;
    margin-bottom: 20px;
    color: var(--muted);
    font-size: 12px;
}

.cart-summary .button {
    width: 100%;
}

.checkout-intro {
    max-width: 680px;
    margin-top: -12px;
    margin-bottom: 34px;
    color: var(--muted);
}

.checkout-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.75fr);
    align-items: start;
    gap: clamp(30px, 7vw, 80px);
}

.checkout-form h2,
.checkout-summary h2 {
    margin: 0 0 10px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 26px;
    font-weight: 400;
}

.checkout-form input,
.checkout-form textarea {
    margin-bottom: 8px;
}

.checkout-form textarea {
    min-height: 110px;
    resize: vertical;
}

.checkout-address-row {
    display: grid;
    grid-template-columns: 0.7fr 1.3fr;
    gap: 14px;
}

.checkout-address-row > div {
    display: grid;
    gap: 10px;
}

.optional-label {
    color: var(--muted);
    font-weight: 400;
}

.checkout-form > small {
    color: var(--muted);
    font-size: 12px;
}

.checkout-summary {
    padding: 24px;
    border: 1px solid var(--line);
    background: var(--surface);
}

.checkout-summary > p {
    align-items: start;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--line);
    font-size: 13px;
}

.checkout-summary > p > span {
    display: grid;
    gap: 3px;
}

.checkout-summary > p small {
    color: var(--muted);
    font-size: 11px;
}

.checkout-summary .checkout-total {
    margin-top: 18px;
    border: 0;
    font-size: 15px;
}

.order-sent {
    min-height: 55vh;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding-block: 60px;
}

.order-sent > p:not(.eyebrow) {
    max-width: 620px;
    margin-bottom: 28px;
    color: var(--muted);
}

.empty-collection {
    margin: 0;
    padding: 30px;
    border: 1px solid var(--line);
    color: var(--muted);
    text-align: center;
}

.custom-work {
    padding-block: clamp(58px, 8vw, 100px);
    background: var(--surface-muted);
}

.custom-inner {
    display: grid;
    grid-template-columns: 1fr 0.8fr;
    align-items: center;
    gap: 70px;
}

.custom-copy p,
.about > p:last-child {
    max-width: 510px;
    margin-bottom: 20px;
    color: var(--muted);
}

.text-link {
    display: inline-flex;
    gap: 12px;
    color: var(--text);
    font-size: 13px;
    font-weight: 600;
    text-decoration-color: var(--accent);
    text-underline-offset: 5px;
}

.about {
    padding-block: clamp(80px, 10vw, 130px);
    text-align: center;
}

.about h2 {
    margin-bottom: 20px;
}

.about > p:last-child {
    margin-inline: auto;
    margin-bottom: 0;
}

.site-footer {
    min-height: 112px;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto auto;
    align-items: center;
    gap: 24px;
    border-top: 1px solid var(--line);
    padding-block: 18px;
}

.site-footer .wordmark {
    font-size: 22px;
}

.site-footer p,
.site-footer small {
    margin: 0;
    color: var(--muted);
    font-size: 12px;
}

.social-links {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    gap: 12px;
}

.social-link {
    flex: 0 0 48px;
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    border: 1px solid var(--line);
    border-radius: 50%;
    color: var(--muted);
    transition: color 160ms ease, border-color 160ms ease, background-color 160ms ease;
}

.social-link:hover {
    border-color: var(--accent);
    background: var(--surface-muted);
    color: var(--accent);
}

.social-link svg {
    display: block;
    width: 25px;
    height: 25px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.7;
}

.social-link svg .icon-fill {
    fill: currentColor;
    stroke: none;
}

.social-link svg .icon-dot {
    fill: currentColor;
    stroke: none;
}

@media (max-width: 760px) {
    .site-header,
    .page-wrap,
    .section-wrap,
    .site-footer {
        width: min(100% - 40px, 600px);
    }

    .site-header {
        min-height: 76px;
        flex-wrap: wrap;
        gap: 12px;
        padding-block: 15px;
    }

    .site-nav {
        order: 3;
        width: 100%;
        justify-content: flex-start;
        flex-wrap: wrap;
        gap: 14px;
        padding-top: 10px;
        border-top: 1px solid var(--line);
    }

    .site-nav a {
        font-size: 12px;
    }

    .theme-toggle {
        min-height: 38px;
        padding-inline: 11px;
    }

    .hero {
        padding-top: 58px;
    }

    .hero-copy {
        margin-bottom: 34px;
    }

    .banner {
        aspect-ratio: 2 / 1;
    }

    .section-heading {
        display: block;
    }

    .section-intro {
        margin-top: 14px;
    }

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

    .art-caption {
        display: block;
    }

    .art-caption p {
        margin-top: 3px;
    }

    .custom-inner {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .art-detail-layout {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .art-detail-image img {
        max-height: none;
        max-height: 75vh;
    }

    .checkout-layout {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .site-header,
    .page-wrap,
    .section-wrap,
    .site-footer {
        width: calc(100% - 32px);
    }

    .wordmark {
        font-size: 23px;
    }

    .theme-label {
        display: none;
    }

    .theme-toggle {
        width: 40px;
        justify-content: center;
        padding: 0;
    }

    h1 {
        font-size: clamp(40px, 12vw, 54px);
    }

    .hero-intro {
        font-size: 15px;
    }

    .banner {
        aspect-ratio: 1.45 / 1;
    }

    .banner figcaption {
        right: 10px;
        bottom: 10px;
        font-size: 10px;
    }

    .art-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .art-image {
        aspect-ratio: 4 / 4.5;
    }

    .art-view-hint {
        opacity: 1;
        transform: none;
    }

    .cart-item {
        grid-template-columns: 76px minmax(0, 1fr);
        align-items: start;
        gap: 14px;
    }

    .cart-item > img {
        width: 76px;
        height: 88px;
    }

    .cart-item-info h2 {
        font-size: 19px;
    }

    .cart-item-info > form {
        margin-right: 8px;
    }

    .cart-line-total {
        grid-column: 2;
        justify-self: end;
        margin-top: -4px;
        padding-top: 0;
    }

    .cart-summary {
        margin-top: 22px;
    }

    .checkout-address-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .checkout-summary {
        padding: 18px;
    }

    .site-footer {
        min-height: 120px;
        grid-template-columns: minmax(0, 1fr) auto;
        grid-template-areas:
            "brand copyright"
            "socials socials"
            "tagline tagline";
        align-items: center;
        gap: 16px;
        padding-block: 20px;
    }

    .site-footer .wordmark {
        grid-area: brand;
    }

    .social-links {
        grid-area: socials;
    }

    .site-footer p {
        grid-area: tagline;
    }

    .site-footer small {
        grid-area: copyright;
        text-align: right;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
    }
}

.contact-form {
    max-width: 640px;
}

.dropzone {
    position: relative;
    border: 2px dashed var(--line);
    border-radius: 8px;
    background: var(--surface);
    transition: border-color 160ms ease, background-color 160ms ease;
}

.dropzone:hover,
.dropzone:focus-within,
.dropzone.is-dragover {
    border-color: var(--accent);
    background: var(--surface-muted);
}

.checkout-form .dropzone input[type="file"] {
    position: absolute;
    width: 1px;
    height: 1px;
    min-height: 0;
    padding: 0;
    border: 0;
    opacity: 0;
    overflow: hidden;
}

.dropzone-prompt {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 26px 16px;
    color: var(--muted);
    font-weight: 400;
    text-align: center;
    cursor: pointer;
}

.dropzone-prompt svg {
    width: 30px;
    height: 30px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.7;
}

.dropzone-file {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
}

.dropzone-file[hidden],
.dropzone-prompt[hidden],
.dropzone-error[hidden] {
    display: none;
}

.dropzone-name {
    flex: 1;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 14px;
}

.dropzone-size {
    color: var(--muted);
    font-size: 12px;
}

.dropzone-remove {
    width: 32px;
    height: 32px;
    border: 1px solid var(--line);
    border-radius: 50%;
    background: transparent;
    color: var(--muted);
    font-size: 18px;
    line-height: 1;
    cursor: pointer;
}

.dropzone-remove:hover {
    border-color: var(--accent);
    color: var(--accent);
}

.dropzone-error {
    margin: 0;
    padding: 0 16px 12px;
    color: #b3261e;
    font-size: 13px;
}

.art-detail-media {
    display: grid;
    gap: 18px;
    align-content: start;
}

.art-original {
    width: min(55%, 240px);
    margin: 0;
}

.art-original img {
    width: 100%;
    max-height: 30vh;
    display: block;
    object-fit: contain;
    border: 1px solid var(--line);
    border-radius: 4px;
    background: var(--surface-muted);
}

.art-original figcaption {
    margin-top: 6px;
    color: var(--muted);
    font-size: 12px;
}
