:root {
  color-scheme: light;
  --paper: #faf6ef;
  --ink: #251b19;
  --wine: #351a20;
  --patch-black: #141110;
  --patch-edge: #947044;
  --gold: #d9b37e;
  --muted: #695951;
  --line: #d9cbbc;
  --serif: "Baskerville", "Palatino Linotype", "Book Antiqua", Georgia, serif;
  --sans: system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 1rem/1.6 var(--sans); }
img { display: block; max-width: 100%; }
figure, h1, h2, p { margin: 0; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; color: inherit; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid #a57736; outline-offset: 5px; }
.sr-only, .skip:not(:focus) { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: fixed; z-index: 2; top: 1rem; left: 1rem; padding: .6rem 1rem; background: var(--paper); }
.container { width: min(100% - 5rem, 74rem); margin-inline: auto; }
.header { background: var(--patch-black); color: var(--paper); border-bottom: 1px solid var(--patch-edge); }
.header-inner { width: min(100% - 5rem, 86rem); margin: auto; min-height: 4.7rem; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }
.wordmark { font: 600 clamp(1.25rem, 2.5vw, 1.8rem)/1.1 var(--serif); letter-spacing: -.035em; }
nav { display: flex; gap: clamp(1rem, 4vw, 2.75rem); }
nav a, footer a:not(.wordmark) { font-size: .92rem; }
nav a:hover, footer a:hover { color: var(--gold); text-decoration: underline; text-underline-offset: .3rem; }
.header .wordmark, footer .wordmark { color: var(--gold); }
.header :focus-visible, footer :focus-visible { outline-color: var(--gold); }

.hero { display: grid; grid-template-columns: 1fr 1fr; background: var(--patch-black); color: var(--paper); }
.hero-copy { display: grid; place-items: center; padding: clamp(3.5rem, 7vw, 7.25rem) clamp(2.5rem, 5.8vw, 6rem); }
.hero-inner { width: min(100%, 32rem); }
.eyebrow { font-size: .875rem; line-height: 1.45; font-weight: 650; letter-spacing: .14em; text-transform: uppercase; color: #795624; }
.hero .eyebrow { color: var(--gold); }
h1, h2 { font-family: var(--serif); font-weight: 400; letter-spacing: -.05em; }
h1 { font-size: clamp(3.6rem, 6.25vw, 7rem); line-height: .99; margin-block: 1.15rem 1.55rem; }
h1 em { font-weight: inherit; color: #e9c798; }
.hero-description { max-width: 23rem; font-size: clamp(1rem, 1.25vw, 1.15rem); color: #efe2d8; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 3rem; padding: .6rem 1.25rem; font-size: .9rem; font-weight: 650; }
.button-light { color: var(--patch-black); background: var(--gold); border: 1px solid var(--gold); }
.button-light:hover { background: #f0c995; }
.hero-photo { position: relative; isolation: isolate; display: grid; align-items: center; background: var(--patch-black); }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; }
.hero-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--patch-black), transparent 34%); pointer-events: none; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .85rem 1.15rem; align-items: center; margin-top: 1.8rem; }
.hero-actions .text-link { color: var(--gold); }
.hero :focus-visible { outline-color: var(--gold); }

.section-heading { display: flex; justify-content: space-between; align-items: flex-end; gap: 1.25rem; margin-bottom: 1.6rem; padding-bottom: 1.2rem; border-bottom: 1px solid var(--line); }
h2 { font-size: clamp(2.65rem, 5.25vw, 5.4rem); line-height: 1; }
.section-heading h2 { margin-top: .6rem; color: var(--wine); }
.grid { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2.15rem clamp(1rem, 2.3vw, 2rem); }
.card { display: block; width: 100%; padding: 0; border: 0; background: transparent; text-align: left; }
.card-photo { overflow: hidden; display: block; aspect-ratio: 2 / 3; background: #eee8df; }
.card-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.card:hover img { transform: scale(1.035); }
.card-meta { display: grid; gap: .18rem; padding: .8rem 0 .65rem; border-bottom: 1px solid var(--line); }
.card-title { font: 400 clamp(1.4rem, 2.5vw, 2rem)/1.13 var(--serif); }
.card-type { font-size: .78rem; }
.card-color { color: var(--muted); font-size: .9rem; }

.story { padding-block: clamp(2.75rem, 6vw, 5rem); }
.story-inner { display: grid; grid-template-columns: minmax(0, 1.17fr) minmax(0, .83fr); gap: clamp(1.75rem, 6vw, 6rem); align-items: center; }
.story-copy h1 { font-size: clamp(2.85rem, 5.3vw, 5.5rem); margin: .75rem 0 1.2rem; }
.story-copy p:not(.eyebrow) { max-width: 33rem; }
.story-copy p + p { margin-top: 1rem; }
.story-copy .button { margin-top: 1.35rem; }
.story-photo { justify-self: end; width: min(100%, 24rem); }
.story-photo img { width: 100%; height: auto; border: .45rem solid var(--paper); outline: 1px solid var(--line); box-shadow: 0 10px 24px #33201716; }
.story-photo figcaption { margin-top: .65rem; color: var(--muted); font-size: .875rem; }
.story-process { border-top: 1px solid var(--line); padding-block: clamp(2.25rem, 4.5vw, 4rem); }
.story-process h2 { font: 650 .875rem/1.45 var(--sans); letter-spacing: .14em; }
.process-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); list-style: none; gap: 1.5rem; margin: 1.5rem 0 0; padding: 0; }
.process-steps li { border-left: 1px solid var(--line); padding-left: 1rem; }
.process-steps h3 { font: 400 clamp(1.45rem, 2.6vw, 2rem)/1.1 var(--serif); margin: 0 0 .5rem; }
.process-steps p { color: var(--muted); max-width: 21rem; }
.story-community { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(1.65rem, 5vw, 5rem); }
.story-community section + section { border-left: 1px solid var(--patch-edge); padding-left: clamp(1.4rem, 4.5vw, 4rem); }
.story-community h2 { margin-bottom: .85rem; }
.story-community p { max-width: 31rem; }
.story-socials { display: flex; flex-wrap: wrap; gap: .85rem 1.5rem; list-style: none; margin: 1.2rem 0 0; padding: 0; }
.story-socials li { display: flex; align-items: center; gap: .55rem; font-size: .92rem; font-weight: 600; }
.story-socials small { display: block; color: #eadacc; font-size: .82rem; font-weight: 400; }
.social-mark { display: grid; place-items: center; width: 2.4rem; height: 2.4rem; color: var(--gold); border: 1px solid var(--patch-edge); border-radius: 50%; }
.social-mark svg { width: 1.15rem; height: 1.15rem; }
footer { background: var(--patch-black); color: var(--paper); border-top: 1px solid var(--patch-edge); }
.footer-inner { display: grid; grid-template-columns: minmax(0, 1.65fr) repeat(3, minmax(0, 1fr)); align-items: start; gap: 1.5rem 2rem; padding-block: clamp(2.25rem, 5vw, 4rem); }
.footer-brand p { margin-top: .9rem; max-width: 19rem; color: #eadacc; font-size: .93rem; }


@media (max-width: 760px) {
  .container, .header-inner { width: calc(100% - 2rem); }
  .header-inner { min-height: 4rem; }
  .hero { grid-template-columns: 1fr; }
  .hero-copy { place-items: start; padding: 3.25rem max(1rem, 7vw); }
  h1 { font-size: clamp(3.45rem, 12vw, 5.5rem); }
  .hero-photo { aspect-ratio: 3 / 2; }
  .hero-photo img { min-height: 0; }
  .section-heading { align-items: flex-start; flex-direction: column; }
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem .85rem; }
  .story-inner, .story-community { grid-template-columns: minmax(0, 1fr); }
  .story-community section + section { border-left: 0; border-top: 1px solid var(--patch-edge); padding: 1.5rem 0 0; }
  .story-photo { justify-self: start; width: min(100%, 21rem); }
  .hero-photo::after { background: linear-gradient(180deg, var(--patch-black), transparent 23%); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}

body { min-height: 100vh; display: flex; flex-direction: column; }
main { flex: 1; }
.header-inner { display: grid; grid-template-columns: 1fr auto 1fr; }
.main-nav a:not([aria-current="page"]):hover { text-decoration: none; }
.main-nav a[aria-current="page"] { color: var(--gold); text-decoration: underline; text-underline-offset: .35rem; }
.cart-link { display: inline-flex; justify-self: end; align-items: center; gap: .45rem; font-size: .9rem; font-weight: 650; white-space: nowrap; }
.cart-link:hover, .cart-link[aria-current="page"] { color: var(--gold); }
.cart-link[aria-current="page"] { text-decoration: underline; text-underline-offset: .35rem; }
#cart-count { display: grid; place-items: center; min-width: 1.65rem; height: 1.65rem; border-radius: 50%; background: var(--gold); color: var(--patch-black); padding-inline: .25rem; font-size: .8rem; }
.footer-nav { display: grid; gap: .35rem; justify-items: start; }
.footer-nav .eyebrow { color: var(--gold); margin-bottom: .4rem; }
.text-link, .link-button { text-decoration: underline; text-underline-offset: .25rem; }
.text-link:hover, .link-button:hover { text-decoration-thickness: 2px; }
.link-button { background: transparent; border: 0; padding: .35rem 0; width: fit-content; }
.link-button:disabled { opacity: .65; cursor: default; }
.button-dark { color: var(--gold); background: var(--patch-black); border: 1px solid var(--patch-edge); }
.button-dark:hover { background: var(--wine); }
.button-dark:disabled { color: var(--wine); background: #efe4d5; cursor: default; }
.home-collection, .page-section { padding-block: clamp(3rem, 6vw, 5.75rem); }
.page-intro { margin-bottom: 1.7rem; }
.page-intro h1, .product-copy h1 { font-size: clamp(3.2rem, 7vw, 6rem); margin: 0 0 .85rem; }
.page-intro p { max-width: 38rem; color: var(--muted); }
.collection-controls { display: flex; flex-wrap: wrap; gap: .7rem 1.3rem; align-items: center; margin-bottom: 1.45rem; padding-block: .75rem; border-block: 1px solid var(--line); }
.filter-group, .filter-results { display: flex; flex-wrap: wrap; align-items: center; gap: .3rem; }
.filter-label { font-size: .8rem; font-weight: 650; color: var(--muted); margin-right: .35rem; }
.type-option { border: 1px solid var(--line); border-radius: 2rem; padding: .45rem .75rem; background: transparent; font-size: .875rem; }
.type-option:hover { border-color: var(--patch-edge); }
.type-option[aria-pressed="true"] { color: var(--gold); background: var(--patch-black); border-color: var(--patch-black); }
.swatch { display: grid; place-items: center; padding: 0; width: 2rem; height: 2rem; background: transparent; border: 1px solid transparent; border-radius: 50%; }
.swatch::before { content: ""; width: 1.25rem; height: 1.25rem; border: 1px solid #251b1940; border-radius: 50%; background: var(--swatch); }
.swatch:hover { border-color: var(--patch-edge); }
.swatch[aria-pressed="true"] { border: 2px solid var(--patch-black); }
.filter-results { margin-left: auto; gap: .65rem; color: var(--muted); font-size: .875rem; }
.section-note { margin-top: .7rem; color: var(--muted); }
.accent-band { background: var(--wine); color: var(--paper); padding-block: clamp(2.5rem, 5vw, 4.5rem); }
.accent-band .eyebrow, .button-outline { color: var(--gold); }
.accent-band :focus-visible { outline-color: var(--gold); }
.accent-band h2 { font-size: clamp(2.2rem, 4.5vw, 3.8rem); }
.button-outline { border: 1px solid var(--patch-edge); }
.button-outline:hover { background: var(--patch-black); }
.home-story, .collection-question { text-align: center; }
.home-story h2 { margin-top: .75rem; }
.home-story p:not(.eyebrow), .collection-question p { max-width: 37rem; margin: .85rem auto 0; }
.home-story .button, .collection-question .button { margin-top: 1.35rem; }
.notice { background: #efe4d5; padding: 1rem 1.2rem; }
.card-price { color: var(--muted); font-size: .88rem; }
.card:hover .card-title { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .2rem; }

.back-link { display: inline-block; margin-bottom: 1.75rem; }
.product-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .85fr); align-items: start; gap: clamp(1.5rem, 7vw, 7rem); }
.product-photo { background: var(--patch-black); max-width: 36rem; }
.product-photo img { width: 100%; height: auto; }
.product-copy { padding-block: clamp(0rem, 5vw, 3.5rem); }
.product-copy h1 { margin: .65rem 0 .9rem; font-size: clamp(3rem, 6vw, 5.5rem); }
.product-price { font-size: 1.1rem; color: var(--muted); margin-bottom: 1rem; }
.piece-colors { margin-top: 1rem; }
.piece-colors strong { margin-right: .45rem; }
.product-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .8rem 1rem; margin-block: 1.55rem .75rem; }
.purchase-note { font-size: .9rem; color: var(--muted); }
#cart-feedback:not(:empty) { margin-top: .5rem; }
.cart-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .55fr); gap: clamp(1.4rem, 6vw, 5rem); align-items: start; }
.cart-items { list-style: none; margin: 0; padding: 0; }
.cart-row { display: grid; grid-template-columns: 5.3rem minmax(0, 1fr) auto; gap: 1rem; align-items: center; border-bottom: 1px solid var(--line); padding-block: .9rem; }
.cart-row:first-child { border-top: 1px solid var(--line); }
.cart-image { width: 100%; height: auto; aspect-ratio: 3 / 4; object-fit: cover; }
.cart-details { display: grid; gap: .2rem; }
.cart-product { font: 400 1.55rem/1.15 var(--serif); }
.cart-product:hover { text-decoration: underline; }
.empty-cart .button { margin-top: .9rem; }
.cart-summary { padding: clamp(1.15rem, 3vw, 2rem); border: 1px solid var(--line); border-top: 2px solid var(--gold); }
.cart-summary h2, .policy h2 { font-size: clamp(1.6rem, 3vw, 2.35rem); letter-spacing: -.035em; }
.cart-summary .text-link, .keep-browsing { display: inline-block; margin-top: .9rem; }
#saved-count { color: #795624; margin-bottom: .5rem; }
.request-details { margin-block: .95rem; border-top: 1px solid var(--line); }
.request-details div { display: flex; justify-content: space-between; gap: .65rem; padding-block: .55rem; border-bottom: 1px solid var(--line); }
.request-details dd { margin: 0; text-align: right; }
#piece-request { display: grid; gap: .45rem; }
#piece-request label { color: var(--muted); font-size: .875rem; font-weight: 650; }
#piece-request input:not([type="checkbox"]) { width: 100%; min-height: 2.75rem; margin-bottom: .45rem; padding: .45rem .6rem; border: 1px solid #ac9986; background: var(--paper); color: var(--ink); font: inherit; }
#piece-request button { margin-top: .3rem; }
.request-status:not(:empty) { margin-top: .8rem; }
.request-note { margin-top: .9rem; padding: .7rem .8rem; background: var(--wine); color: var(--paper); font-size: .88rem; }
.contact-links { display: flex; gap: 1rem 1.5rem; flex-wrap: wrap; margin-top: 1.35rem; }

.policy { max-width: 52rem; }
.policy section { margin-top: 1.65rem; }
.policy h2 { margin-bottom: .45rem; }

@media (max-width: 760px) {
  .header-inner { grid-template-columns: 1fr auto; padding-block: .8rem; gap: .6rem 1rem; }
  .main-nav { grid-row: 2; grid-column: 1 / -1; }
  .cart-link { grid-column: 2; grid-row: 1; }
  .footer-inner { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-brand { grid-column: 1 / -1; }
  .filter-results { margin-left: 0; }
  .process-steps { grid-template-columns: minmax(0, 1fr); }
  .product-layout, .cart-layout { grid-template-columns: minmax(0, 1fr); }
  .product-photo { max-width: 27rem; }
  .product-copy { padding-block: 0; }
}

.policy-fine-print { margin-top: 2rem; padding-top: 1.1rem; border-top: 1px solid var(--line); color: var(--muted); font-size: .875rem; line-height: 1.6; overflow-wrap: anywhere; }
.policy-fine-print h2 { margin-bottom: .55rem; color: var(--ink); font-size: 1.35rem; }
.policy-fine-print p + p { margin-top: .6rem; }
.cart-acknowledgment { min-width: 0; margin: .25rem 0; padding: .6rem .8rem .8rem; border: 1px solid var(--line); }
.cart-acknowledgment legend { padding-inline: .25rem; font-size: .875rem; font-weight: 650; }
.cart-acknowledgment p { font-size: .875rem; color: var(--muted); }
#piece-request .acknowledgment-choice { display: flex; align-items: flex-start; gap: .65rem; margin-top: .6rem; min-height: 2.25rem; color: var(--ink); cursor: pointer; }
.acknowledgment-choice input { flex: 0 0 auto; width: 1.15rem; height: 1.15rem; margin: .12rem 0 0; accent-color: var(--patch-black); }
.main-nav { flex-wrap: wrap; }

@media (max-width: 380px) {
  .contact-page .button { max-width: 100%; overflow-wrap: anywhere; }
}
