@import url('https://fonts.googleapis.com/css2?family=DM+Mono&family=DM+Sans:wght@400;500;600&family=Playfair+Display:ital,wght@0,500;0,600;1,500&display=swap');

:root {
    --ink: #151412;
    --paper: #f5f2ec;
    --sand: #e5ddd1;
    --gold: #b28b55;
    --line: #d2cbc0;
    --serif: 'Playfair Display', serif;
    --sans: 'DM Sans', sans-serif;
    --mono: 'DM Mono', monospace
}

* {
    box-sizing: border-box
}

body {
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font: 14px var(--sans)
}

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

button,
input,
select,
textarea {
    font: inherit;
    color: inherit
}

.announcement {
    height: 31px;
    background: var(--ink);
    color: #fff;
    text-align: center;
    padding: 9px;
    font: 9px var(--mono);
    letter-spacing: .08em
}

header {
    height: 76px;
    border-bottom: 1px solid var(--line);
    padding: 0 5vw;
    display: flex;
    align-items: center;
    justify-content: space-between
}

.logo {
    font: 600 29px var(--serif);
    letter-spacing: -.09em
}

.logo sup {
    font: 8px var(--sans);
    letter-spacing: 0
}

nav {
    display: flex;
    gap: 28px
}

nav a,
.bag-link,
header>a:last-child {
    font-size: 12px
}

.active {
    border-bottom: 1px solid;
    padding-bottom: 4px
}

.bag-link span {
    font: 10px var(--mono);
    background: var(--gold);
    border-radius: 50%;
    padding: 2px 5px;
    margin-left: 4px
}

.hero {
    display: grid;
    grid-template-columns: 48% 52%;
    min-height: 640px
}

.hero-copy {
    padding: 12vw 5vw
}

.eyebrow {
    font: 10px var(--mono);
    letter-spacing: .12em;
    margin: 0 0 17px
}

.hero h1,
.center-title h1,
.plain h1,
.contact-page h1 {
    font: 500 clamp(54px, 6vw, 90px)/.94 var(--serif);
    letter-spacing: -.07em;
    margin: 0
}

.hero-copy>p:not(.eyebrow),
.story p,
.contact-page p {
    line-height: 1.7;
    max-width: 350px;
    margin: 24px 0
}

.button {
    background: var(--ink);
    color: #fff;
    border: 0;
    padding: 16px 22px;
    display: inline-block;
    font-size: 12px;
    cursor: pointer
}

.hero-art {
    background: #d1c7b9;
    position: relative;
    overflow: hidden;
    perspective: 700px
}

.ring {
    position: absolute;
    border: clamp(30px, 4vw, 50px) solid var(--gold);
    border-radius: 50%;
    width: 500px;
    height: 500px;
    left: 50%;
    top: 50%;
    box-shadow: inset 8px 9px 14px #75582f, 5px 9px 12px #837156
}

.one {
    transform: translate(-50%, -50%) rotateX(63deg) rotateZ(-20deg)
}

.two {
    width: 350px;
    height: 350px;
    border-color: #d8c88d;
    transform: translate(-50%, -50%) rotateX(63deg) rotateZ(40deg)
}

.three {
    width: 180px;
    height: 180px;
    border-color: #8d6941;
    transform: translate(-50%, -50%) rotateX(63deg) rotateZ(-75deg)
}

.hero-art>span {
    position: absolute;
    top: 14%;
    right: 15%;
    font-size: 35px;
    color: #fff9e6
}

.hero-art p {
    position: absolute;
    right: 35px;
    bottom: 28px;
    text-align: right;
    font: 10px/1.5 var(--mono);
    letter-spacing: .12em
}

.ticker {
    margin: 0;
    background: var(--gold);
    padding: 20px;
    white-space: nowrap;
    overflow: hidden;
    text-align: center;
    font: 10px var(--mono);
    letter-spacing: .12em
}

.section {
    padding: 100px 5vw
}

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

.section h2,
.story h2 {
    font: 500 clamp(37px, 4.5vw, 58px)/1 var(--serif);
    letter-spacing: -.06em;
    margin: 0
}

.section-title>a,
.story a,
.contact-page a {
    font-size: 12px;
    border-bottom: 1px solid;
    padding-bottom: 4px
}

.products {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px
}

.card {
    min-width: 0
}

.card img {
    display: block;
    width: 100%;
    aspect-ratio: .82;
    object-fit: cover;
    background: var(--sand)
}

.card-info {
    display: flex;
    justify-content: space-between;
    padding: 12px 0
}

.card-info h3 {
    font-size: 13px;
    font-weight: 500;
    margin: 0
}

.card-info p {
    font: 11px var(--mono);
    margin: 5px 0
}

.add {
    border: 1px solid var(--line);
    background: transparent;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    font-size: 20px;
    cursor: pointer
}

.story {
    display: grid;
    grid-template-columns: 50% 50%;
    background: #e1d8ca
}

.story>div:last-child {
    padding: 9vw
}

.story-art {
    min-height: 560px;
    background: #b8aa94;
    overflow: hidden;
    position: relative
}

.story-art div {
    position: absolute;
    left: 28%;
    top: 27%;
    border: 30px solid #c6a764;
    width: 235px;
    height: 235px;
    border-radius: 50%;
    box-shadow: inset 8px 8px 12px #80613a;
    display: grid;
    place-items: center;
    font-size: 38px;
    color: #87633e;
    transform: rotate(-27deg)
}

footer {
    padding: 55px 5vw;
    background: #e9e2d8;
    border-top: 1px solid var(--line);
    display: grid;
    grid-template-columns: 1.5fr .7fr 1fr;
    gap: 7vw
}

footer p {
    line-height: 1.6;
    color: #615c53;
    max-width: 280px
}

footer b {
    display: block;
    font: 10px var(--mono);
    letter-spacing: .1em;
    margin: 7px 0 16px
}

footer div:nth-child(2) a {
    display: block;
    font-size: 12px;
    margin: 10px 0
}

footer form {
    border-bottom: 1px solid;
    display: flex;
    max-width: 280px
}

footer input {
    border: 0;
    background: transparent;
    outline: 0;
    padding: 9px 0;
    width: 100%;
    font-size: 12px
}

footer button {
    border: 0;
    background: transparent;
    font-size: 18px
}

.shop {
    padding: 78px 5vw 110px
}

.center-title {
    text-align: center;
    margin-bottom: 65px
}

.center-title>p:last-child {
    margin: 20px
}

.shop-layout {
    display: grid;
    grid-template-columns: 175px 1fr;
    gap: 50px
}

.shop-layout aside b {
    font: 10px var(--mono);
    letter-spacing: .1em;
    margin-bottom: 12px;
    display: block
}

.filter {
    display: flex;
    justify-content: space-between;
    width: 100%;
    border: 0;
    background: transparent;
    padding: 10px 0;
    text-align: left;
    color: #6b655b;
    font-size: 13px;
    cursor: pointer
}

.filter.active {
    color: var(--ink);
    font-weight: 600;
    border-bottom: 0
}

.shop-tools {
    display: flex;
    justify-content: space-between
}

.shop-tools input {
    width: 260px;
    border: 0;
    border-bottom: 1px solid;
    padding: 9px 0;
    background: transparent;
    outline: 0;
    font-size: 12px
}

.shop-tools select {
    border: 0;
    background: transparent;
    font-size: 12px
}

#result-count {
    font: 10px var(--mono);
    letter-spacing: .1em;
    margin: 26px 0 16px
}

.product-page {
    padding: 38px 5vw 95px;
    min-height: 670px
}

.product-detail {
    display: grid;
    grid-template-columns: 58% 1fr;
    gap: 7vw
}

.product-detail img {
    width: 100%;
    height: 610px;
    object-fit: cover
}

.product-detail h1 {
    font: 500 58px/1 var(--serif);
    letter-spacing: -.06em;
    margin: 8px 0
}

.price {
    font: 11px var(--mono);
    margin: 18px 0 28px
}

.description {
    line-height: 1.7;
    max-width: 360px
}

.details {
    border-top: 1px solid var(--line);
    margin-top: 25px;
    padding-top: 14px;
    font-size: 12px;
    line-height: 1.8
}

.back {
    font-size: 12px;
    display: block;
    margin-bottom: 26px
}

.plain {
    padding: 105px 15vw
}

.faq-list {
    margin-top: 55px;
    max-width: 750px
}

.faq-list details {
    border-top: 1px solid var(--line);
    padding: 20px 0
}

.faq-list details:last-child {
    border-bottom: 1px solid var(--line)
}

.faq-list summary {
    font-size: 17px;
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between
}

.faq-list p {
    max-width: 600px;
    line-height: 1.7;
    color: #635d55
}

.contact-page {
    background: #ded5c8;
    padding: 110px 10vw;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 11vw
}

.contact-page form {
    padding-top: 20px
}

.contact-page input,
.contact-page select,
.contact-page textarea,
.checkout input {
    display: block;
    width: 100%;
    border: 1px solid var(--line);
    background: transparent;
    padding: 14px;
    margin: 0 0 9px;
    outline-color: var(--ink);
    font-size: 12px
}

.contact-page textarea {
    resize: vertical
}

.checkout {
    display: grid;
    grid-template-columns: 58% 42%;
    min-height: calc(100vh - 76px)
}

.checkout section {
    padding: 55px max(6vw, 25px)
}

.checkout h1 {
    font: 500 50px var(--serif);
    margin: 0 0 35px
}

.checkout form {
    max-width: 560px
}

.checkout h3 {
    font: 500 20px var(--serif);
    margin: 25px 0 11px
}

.two {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 9px
}

.payment {
    border: 1px solid var(--line);
    display: block;
    padding: 13px;
    margin-bottom: 8px;
    font-size: 12px
}

.payment small {
    display: block;
    padding: 5px 0 0 21px;
    color: #726b61
}

.checkout aside {
    background: #e7dfd3;
    padding: 90px 7vw
}

.checkout h2 {
    font: 500 30px var(--serif);
    margin: 0 0 25px
}

.order-line {
    display: grid;
    grid-template-columns: 58px 1fr auto;
    align-items: center;
    gap: 12px;
    margin: 12px 0;
    font-size: 12px
}

.order-line img {
    width: 58px;
    height: 73px;
    object-fit: cover
}

.order-line b {
    font: 10px var(--mono);
    font-weight: 400
}

.order-info {
    display: flex;
    flex-direction: column;
    gap: 5px;
    align-items: flex-start
}

.order-remove {
    background: none;
    border: 0;
    padding: 0;
    font: 10px var(--mono);
    color: #726b61;
    cursor: pointer;
    text-decoration: underline
}

.order-remove:hover {
    color: var(--ink)
}

.totals {
    border-top: 1px solid #bdb3a5;
    margin-top: 25px;
    padding-top: 10px
}

.totals p {
    display: flex;
    justify-content: space-between;
    font-size: 12px
}

.totals .total {
    font-size: 14px;
    padding-top: 12px
}

.empty {
    text-align: center;
    padding: 55px 10px;
    grid-column: 1/-1
}

.message {
    position: fixed;
    right: 22px;
    bottom: 22px;
    background: var(--ink);
    color: #fff;
    padding: 14px 17px;
    font-size: 12px;
    box-shadow: 0 8px 25px #0004
}

@media(max-width:700px) {
    .announcement {
        font-size: 7px
    }

    header {
        height: 64px;
        padding: 0 20px
    }

    nav {
        display: none
    }

    .hero {
        grid-template-columns: 1fr
    }

    .hero-copy {
        padding: 73px 24px 50px
    }

    .hero h1 {
        font-size: 60px
    }

    .hero-art {
        min-height: 390px
    }

    .ring {
        width: 370px;
        height: 370px
    }

    .two {
        width: 260px;
        height: 260px
    }

    .three {
        width: 140px;
        height: 140px
    }

    .section {
        padding: 65px 20px
    }

    .products {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px 12px
    }

    .story {
        grid-template-columns: 1fr
    }

    .story-art {
        min-height: 370px
    }

    .story>div:last-child {
        padding: 55px 24px
    }

    .shop {
        padding: 55px 19px 70px
    }

    .shop-layout {
        display: block
    }

    .shop-layout aside {
        display: flex;
        gap: 10px;
        overflow: auto;
        margin-bottom: 22px
    }

    .shop-layout aside b {
        display: none
    }

    .filter {
        width: auto;
        white-space: nowrap;
        border: 1px solid var(--line);
        padding: 7px 10px
    }

    .filter.active {
        border: 1px solid var(--ink)
    }

    .shop-tools input {
        width: 65%
    }

    .product-page {
        padding: 23px 20px 60px
    }

    .product-detail {
        grid-template-columns: 1fr;
        gap: 22px
    }

    .product-detail img {
        height: 450px
    }

    .plain {
        padding: 72px 21px
    }

    .plain h1 {
        font-size: 58px
    }

    .contact-page {
        grid-template-columns: 1fr;
        padding: 70px 22px;
        gap: 20px
    }

    .checkout {
        display: block
    }

    .checkout section {
        padding: 38px 20px
    }

    .checkout aside {
        padding: 36px 20px
    }

    footer {
        grid-template-columns: 1fr;
        padding: 44px 22px;
        gap: 22px
    }
}

.admin-body {
    background: #f6f3ee
}

.admin-header {
    background: #181715;
    color: #f7f2e8;
    border: 0
}

.admin-header>div {
    display: flex;
    align-items: center;
    gap: 26px;
    font: 10px var(--mono);
    letter-spacing: .1em
}

.admin-header>div a {
    font: 12px var(--sans);
    letter-spacing: 0;
    border-bottom: 1px solid #c7a874;
    padding-bottom: 4px
}

.admin {
    max-width: 1280px;
    margin: auto;
    padding: 68px 32px 100px
}

.admin-intro {
    display: flex;
    justify-content: space-between;
    align-items: end;
    margin-bottom: 42px
}

.admin-intro h1 {
    font: 500 clamp(48px, 6vw, 75px)/.9 var(--serif);
    letter-spacing: -.07em;
    margin: 0
}

.admin-intro p:not(.eyebrow) {
    color: #655f55;
    margin: 16px 0 0
}

.admin-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin-bottom: 40px
}

.admin-stats article {
    background: #e4dccc;
    padding: 24px
}

.admin-stats span {
    display: block;
    font: 10px var(--mono);
    letter-spacing: .1em
}

.admin-stats b {
    display: block;
    font: 500 34px var(--serif);
    margin-top: 21px
}

.admin-grid {
    display: grid;
    grid-template-columns: 1.6fr 1fr;
    gap: 18px
}

.admin-card {
    background: white;
    border: 1px solid var(--line);
    padding: 25px;
    overflow: hidden
}

.admin-card-title {
    display: flex;
    justify-content: space-between;
    align-items: start;
    margin-bottom: 21px
}

.admin-card-title h2,
.modal-box h2 {
    font: 500 29px var(--serif);
    margin: 0
}

.admin-card-title button {
    font-size: 12px;
    text-decoration: underline
}

.order-table-wrap {
    overflow: auto
}

table {
    width: 100%;
    border-collapse: collapse;
    font-size: 12px;
    text-align: left;
    white-space: nowrap
}

th {
    font: 10px var(--mono);
    letter-spacing: .06em;
    color: #70695f;
    font-weight: 400
}

th,
td {
    padding: 13px 10px;
    border-bottom: 1px solid #e7e2da
}

td b {
    font-weight: 500
}

td small {
    display: block;
    color: #776f65;
    font-size: 10px;
    margin-top: 4px;
    white-space: normal
}

td select {
    border: 1px solid var(--line);
    background: #f8f6f2;
    padding: 5px;
    font-size: 11px
}

.no-data,
.no-orders {
    text-align: center;
    color: #746d63;
    padding: 35px
}

.admin-product {
    display: grid;
    grid-template-columns: 50px 1fr auto;
    gap: 12px;
    align-items: center;
    border-top: 1px solid #e7e2da;
    padding: 12px 0
}

.admin-product img {
    width: 50px;
    height: 55px;
    object-fit: cover;
    background: var(--sand)
}

.admin-product b,
.admin-product span {
    display: block;
    font-size: 12px
}

.admin-product span {
    font-size: 10px;
    color: #736b62;
    margin-top: 5px
}

.admin-product button {
    font-size: 11px;
    text-decoration: underline;
    margin-left: 10px
}

.admin-product .danger {
    color: #a23d30
}

.admin-modal {
    position: fixed;
    inset: 0;
    z-index: 10;
    background: #0008;
    padding: 24px;
    display: grid;
    place-items: center
}

.admin-modal[hidden] {
    display: none
}

.modal-box {
    width: min(540px, 100%);
    max-height: 94vh;
    overflow: auto;
    position: relative;
    background: var(--paper);
    padding: 32px
}

.modal-box.wide {
    width: min(1040px, 100%)
}

.modal-close {
    position: absolute;
    right: 22px;
    top: 19px;
    border: 0;
    background: none;
    font-size: 30px;
    line-height: 1;
    cursor: pointer
}

.modal-box form {
    margin-top: 23px
}

.modal-box label {
    display: block;
    font-size: 11px;
    margin: 14px 0
}

.modal-box input,
.modal-box select,
.modal-box textarea {
    display: block;
    width: 100%;
    margin-top: 6px;
    padding: 11px;
    border: 1px solid var(--line);
    background: white;
    outline-color: var(--ink);
    font-size: 12px
}

.modal-box textarea {
    resize: vertical
}

.modal-box .button {
    margin-top: 10px;
    width: 100%
}

@media(max-width:820px) {
    .admin {
        padding: 45px 18px 70px
    }

    .admin-intro {
        align-items: start;
        gap: 20px;
        flex-direction: column
    }

    .admin-stats,
    .admin-grid {
        grid-template-columns: 1fr
    }

    .admin-card {
        padding: 18px
    }

    .admin-header>div span {
        display: none
    }
}