:root {
  --ink: #1f1f1d;
  --muted: #6c6a64;
  --line: #ddd9d1;
  --paper: #faf9f6;
  --soft: #f1eee8;
  --accent: #d5dfd2;
  --serif: Georgia, "Times New Roman", serif;
  --sans: Arial, Helvetica, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font: 15px/1.5 var(--sans); }
body.no-scroll { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; }
button { color: inherit; cursor: pointer; }
img { display: block; max-width: 100%; }

.announcement { padding: 9px 20px; background: var(--ink); color: #fff; text-align: center; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; }
.announcement span { margin: 0 7px; opacity: .6; }
.site-header { position: relative; z-index: 5; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; min-height: 78px; padding: 0 4vw; border-bottom: 1px solid var(--line); background: var(--paper); }
.wordmark { font-size: 18px; font-weight: 700; letter-spacing: .22em; }
.desktop-nav { display: flex; gap: 28px; justify-content: center; font-size: 13px; }
.desktop-nav a, .footer-links a, .section-heading a, .text-link { transition: opacity .2s ease; }
.desktop-nav a:hover, .footer-links a:hover, .section-heading a:hover, .text-link:hover { opacity: .55; }
.header-actions { display: flex; gap: 18px; justify-content: flex-end; align-items: center; font-size: 13px; }
.text-button, .cart-button, .icon-button { border: 0; background: transparent; padding: 4px; }
.cart-button { padding: 10px 0 10px 10px; }
.cart-count { display: inline-grid; place-items: center; min-width: 18px; height: 18px; margin-left: 3px; border-radius: 50%; background: var(--ink); color: #fff; font-size: 10px; }
.menu-toggle { display: none; font-size: 18px; }
.mobile-nav { display: none; }

.hero { position: relative; min-height: min(690px, 78vh); overflow: hidden; background: #d9d4cd; }
.hero > img { width: 100%; height: 100%; min-height: min(690px, 78vh); object-fit: cover; object-position: center 42%; }
.hero::after { position: absolute; inset: 0; background: rgba(20, 19, 17, .2); content: ""; }
.hero-content { position: absolute; z-index: 1; left: 8vw; bottom: 11%; max-width: 450px; color: #fff; }
.hero-content h1 { max-width: 430px; margin: 12px 0; font: 400 clamp(42px, 6vw, 82px)/.98 var(--serif); letter-spacing: -.02em; }
.hero-content p:not(.eyebrow) { max-width: 360px; margin: 0 0 28px; font-size: 16px; }
.eyebrow { margin: 0; color: var(--muted); font-size: 11px; letter-spacing: .15em; text-transform: uppercase; }
.hero .eyebrow { color: #fff; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 25px; border: 1px solid var(--ink); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; transition: background .2s ease, color .2s ease; }
.button-dark { background: var(--ink); color: #fff; }
.button-dark:hover { background: transparent; color: var(--ink); }
.button-light { border-color: #fff; background: #fff; color: var(--ink); }
.button-light:hover { background: transparent; color: #fff; }

.section { width: min(1280px, 88vw); margin: 0 auto; padding: 100px 0; }
.intro-section { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: end; }
h1, h2 { margin: 0; font-weight: 400; letter-spacing: -.02em; }
h2 { font: 400 clamp(36px, 4.5vw, 58px)/1.05 var(--serif); }
.intro-copy { max-width: 420px; margin: 0; color: var(--muted); font-size: 19px; line-height: 1.5; }
.section-heading { display: flex; justify-content: space-between; align-items: end; margin-bottom: 34px; }
.section-heading h2 { margin-top: 10px; }
.section-heading a, .text-link { font-size: 12px; text-transform: uppercase; letter-spacing: .1em; }
.section-heading a span, .text-link span { margin-left: 7px; font-size: 17px; }
.product-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; }
.product-grid-wide { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px 22px; }
.product-card-image { position: relative; display: block; overflow: hidden; aspect-ratio: 4 / 5; background: var(--soft); }
.product-image { width: 100%; height: 100%; object-fit: cover; transition: transform .55s ease; }
.product-card:hover .product-image { transform: scale(1.035); }
.product-badge { position: absolute; top: 12px; left: 12px; padding: 5px 8px; background: var(--paper); font-size: 10px; letter-spacing: .1em; text-transform: uppercase; }
.product-card-info { display: flex; justify-content: space-between; gap: 10px; padding-top: 13px; }
.product-title { display: block; font-size: 14px; }
.product-meta { margin: 3px 0 0; color: var(--muted); font-size: 12px; }
.product-price { white-space: nowrap; font-size: 13px; }

.editorial { display: grid; grid-template-columns: 1.15fr .85fr; align-items: center; min-height: 640px; padding-top: 30px; padding-bottom: 30px; }
.editorial-image { height: 620px; overflow: hidden; background: var(--soft); }
.editorial-image img { width: 100%; height: 100%; object-fit: cover; }
.editorial-copy { max-width: 430px; padding: 60px; }
.editorial-copy h2 { margin: 16px 0 20px; }
.editorial-copy p:not(.eyebrow) { color: var(--muted); font-size: 16px; }
.editorial-copy .text-link { display: inline-block; margin-top: 22px; }
.collection-strip { padding-top: 60px; padding-bottom: 105px; border-top: 1px solid var(--line); }
.collection-nav { display: flex; flex-wrap: wrap; gap: 22px; margin-bottom: 36px; }
.collection-strip .collection-nav { margin: 20px 0 0; }
.collection-nav a { padding-bottom: 4px; border-bottom: 1px solid transparent; color: var(--muted); font-size: 13px; }
.collection-nav a.is-active, .collection-nav a:hover { border-bottom-color: var(--ink); color: var(--ink); }

.page-header { padding-bottom: 42px; border-bottom: 1px solid var(--line); }
.page-header h1 { margin: 10px 0 14px; font: 400 clamp(48px, 7vw, 90px)/1 var(--serif); }
.page-header > p:last-child { margin: 0; color: var(--muted); }
.collection-section { padding-top: 45px; }
.breadcrumbs { display: flex; gap: 9px; margin-bottom: 35px; color: var(--muted); font-size: 12px; }
.breadcrumbs a:hover { color: var(--ink); }
.product-detail-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(340px, .75fr); gap: 8vw; align-items: start; }
.product-detail-image { aspect-ratio: 4 / 5; overflow: hidden; background: var(--soft); }
.product-detail-photo { width: 100%; height: 100%; object-fit: cover; }
.product-detail-info { position: sticky; top: 28px; padding-top: 6px; }
.product-detail-info h1 { margin: 9px 0 15px; font: 400 clamp(42px, 5vw, 70px)/1 var(--serif); }
.detail-price { padding-bottom: 25px; border-bottom: 1px solid var(--line); font-size: 16px; }
.detail-price del { margin-left: 8px; color: var(--muted); font-size: 13px; }
.detail-description { max-width: 470px; margin: 25px 0 35px; color: var(--muted); font-size: 16px; }
.option-group { margin: 25px 0; }
.option-label { display: flex; justify-content: space-between; margin-bottom: 12px; font-size: 12px; text-transform: uppercase; letter-spacing: .1em; }
.option-label strong { font-weight: 400; text-transform: none; letter-spacing: 0; }
.swatches, .size-options { display: flex; gap: 8px; flex-wrap: wrap; }
.swatch { width: 27px; height: 27px; border: 1px solid var(--ink); border-radius: 50%; background: #ded3bf; box-shadow: inset 0 0 0 4px var(--paper); }
.swatch:nth-child(2) { background: #222; }
.swatch:nth-child(3) { background: #7a594b; }
.swatch.is-selected { outline: 1px solid var(--ink); outline-offset: 3px; }
.size-option { min-width: 52px; height: 42px; padding: 0 12px; border: 1px solid var(--line); background: transparent; font-size: 12px; }
.size-option.is-selected, .size-option:hover { border-color: var(--ink); background: var(--ink); color: #fff; }
.purchase-row { display: grid; grid-template-columns: 125px 1fr; gap: 10px; margin-top: 35px; }
.quantity-control { display: flex; align-items: center; justify-content: space-around; border: 1px solid var(--ink); }
.quantity-control button { width: 36px; border: 0; background: transparent; font-size: 20px; }
.quantity-control span { font-size: 13px; }
.detail-notes { margin-top: 38px; padding-top: 22px; border-top: 1px solid var(--line); color: var(--muted); font-size: 12px; }
.detail-notes p { margin: 9px 0; }
.detail-notes span { color: var(--ink); }

.drawer-backdrop { position: fixed; z-index: 10; inset: 0; background: rgba(0, 0, 0, .32); }
.cart-drawer { position: fixed; z-index: 11; top: 0; right: 0; display: flex; flex-direction: column; width: min(480px, 100vw); height: 100vh; transform: translateX(100%); background: var(--paper); transition: transform .28s ease; }
.cart-drawer.is-open { transform: translateX(0); }
.drawer-header { display: flex; justify-content: space-between; align-items: center; padding: 25px 28px; border-bottom: 1px solid var(--line); }
.drawer-header h2 { font-size: 28px; }
.drawer-body { flex: 1; overflow: auto; padding: 20px 28px; }
.cart-line { display: grid; grid-template-columns: 78px 1fr auto; gap: 14px; align-items: start; padding: 16px 0; border-bottom: 1px solid var(--line); }
.cart-photo { width: 78px; height: 96px; object-fit: cover; }
.cart-line-info > a { display: block; margin-bottom: 4px; font-size: 13px; }
.cart-line-info small, .cart-line-info + b { color: var(--muted); font-size: 12px; }
.cart-line-controls { display: flex; gap: 10px; align-items: center; margin-top: 14px; font-size: 12px; }
.cart-line-controls button { border: 0; background: transparent; padding: 0; }
.remove-button { margin-left: 4px; color: var(--muted); text-decoration: underline; }
.drawer-footer { padding: 22px 28px 28px; border-top: 1px solid var(--line); }
.cart-subtotal, .summary-total { display: flex; justify-content: space-between; align-items: center; }
.cart-subtotal { font-size: 14px; }
.drawer-note, .form-note { color: var(--muted); font-size: 12px; }
.drawer-footer .button { width: 100%; margin-top: 15px; }
.empty-cart { display: grid; min-height: 250px; place-items: center; align-content: center; gap: 10px; color: var(--muted); text-align: center; }
.empty-cart a { color: var(--ink); font-size: 12px; text-transform: uppercase; letter-spacing: .1em; }

.search-panel { position: fixed; z-index: 12; inset: 0; overflow: auto; background: var(--paper); }
.search-panel-inner { width: min(800px, 88vw); margin: 0 auto; padding: 35px 0 80px; }
.search-panel-inner > .icon-button { display: block; margin-left: auto; font-size: 28px; }
.search-panel label { display: block; margin: 45px 0 12px; font: 400 42px/1 var(--serif); }
.search-panel input { width: 100%; padding: 15px 0; border: 0; border-bottom: 1px solid var(--ink); outline: 0; background: transparent; font-size: 20px; }
.search-results { display: grid; margin-top: 25px; }
.search-results a { display: flex; justify-content: space-between; padding: 14px 0; border-bottom: 1px solid var(--line); }
.search-results small { color: var(--muted); }
.search-results p { color: var(--muted); }

.checkout { padding-top: 45px; }
.checkout-header { display: flex; justify-content: space-between; align-items: center; padding-bottom: 35px; border-bottom: 1px solid var(--line); }
.checkout-header p { margin: 0; color: var(--muted); font-size: 12px; }
.checkout-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(310px, .65fr); gap: 10vw; padding-top: 52px; }
.checkout-step { padding: 26px 0 32px; border-bottom: 1px solid var(--line); }
.checkout-step .eyebrow { margin-bottom: 20px; color: var(--ink); }
.checkout-form label { display: grid; gap: 7px; margin: 14px 0; font-size: 12px; }
.checkout-form input, .checkout-form select { width: 100%; min-height: 46px; padding: 0 12px; border: 1px solid var(--line); border-radius: 0; outline: 0; background: transparent; }
.checkout-form input:focus, .checkout-form select:focus { border-color: var(--ink); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.shipping-option { display: flex !important; grid-template-columns: auto 1fr auto !important; grid-template-areas: "radio text price"; align-items: center; gap: 12px; padding: 15px; border: 1px solid var(--line); }
.shipping-option + .shipping-option { margin-top: 9px !important; }
.shipping-option input { grid-area: radio; width: 16px; min-height: auto; accent-color: var(--ink); }
.shipping-option span { display: grid; gap: 3px; grid-area: text; }
.shipping-option small { color: var(--muted); }
.shipping-option b { grid-area: price; font-weight: 400; }
.checkout-submit { width: 100%; margin-top: 30px; }
.order-summary { align-self: start; padding: 28px; background: var(--soft); }
.order-summary > .eyebrow { margin-bottom: 20px; color: var(--ink); }
.summary-line { display: grid; grid-template-columns: 58px 1fr auto; gap: 12px; align-items: center; margin: 15px 0; font-size: 12px; }
.summary-image { position: relative; }
.summary-photo { width: 58px; height: 72px; object-fit: cover; }
.summary-image span { position: absolute; top: -6px; right: -6px; display: grid; width: 18px; height: 18px; place-items: center; border-radius: 50%; background: var(--ink); color: #fff; font-size: 10px; }
.summary-line div:not(.summary-image) { display: grid; gap: 2px; }
.summary-line small, .summary-total span:last-child { color: var(--muted); }
.summary-total { padding-top: 16px; margin-top: 18px; border-top: 1px solid var(--line); font-size: 13px; }
.grand-total { margin-top: 12px; color: var(--ink); font-size: 17px; }
.empty-page, .thank-you { min-height: 65vh; display: grid; align-content: center; justify-items: start; gap: 20px; }
.empty-page h1, .thank-you h1 { font: 400 clamp(46px, 7vw, 86px)/.95 var(--serif); }
.success-mark { display: grid; width: 58px; height: 58px; place-items: center; border: 1px solid var(--ink); border-radius: 50%; font-size: 24px; }
.thank-you { justify-items: center; text-align: center; }
.thank-you p:not(.eyebrow) { max-width: 470px; color: var(--muted); font-size: 16px; }

.site-footer { display: grid; grid-template-columns: 1fr auto 1fr; gap: 30px; align-items: end; padding: 50px 4vw; border-top: 1px solid var(--line); background: var(--soft); }
.site-footer p { margin: 12px 0 0; color: var(--muted); font-size: 12px; }
.footer-links { display: flex; gap: 22px; font-size: 12px; }
.demo-note { justify-self: end; }

@media (max-width: 760px) {
  .announcement { padding-right: 12px; padding-left: 12px; font-size: 9px; }
  .site-header { grid-template-columns: 40px 1fr 80px; min-height: 65px; padding: 0 5vw; }
  .menu-toggle { display: block; }
  .desktop-nav, .text-button { display: none; }
  .wordmark { justify-self: center; font-size: 15px; }
  .header-actions { gap: 0; }
  .mobile-nav { display: grid; position: absolute; z-index: 4; right: 0; left: 0; max-height: 0; overflow: hidden; padding: 0 5vw; border-bottom: 1px solid transparent; background: var(--paper); transition: max-height .25s ease, padding .25s ease; }
  .mobile-nav.is-open { max-height: 250px; padding-top: 15px; padding-bottom: 15px; border-bottom-color: var(--line); }
  .mobile-nav a { padding: 10px 0; font-size: 14px; }
  .hero, .hero > img { min-height: 590px; }
  .hero-content { right: 7vw; left: 7vw; bottom: 8%; }
  .hero-content h1 { font-size: 54px; }
  .section { width: 90vw; padding: 68px 0; }
  .intro-section, .editorial, .product-detail-grid, .checkout-grid { grid-template-columns: 1fr; gap: 32px; }
  .intro-copy { font-size: 17px; }
  .section-heading { align-items: start; gap: 20px; flex-direction: column; }
  .product-grid, .product-grid-wide { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px 12px; }
  .product-card-info { display: block; }
  .product-price { display: block; margin-top: 5px; }
  .editorial { padding-top: 0; padding-bottom: 0; }
  .editorial-image { height: 430px; }
  .editorial-copy { padding: 30px 0 70px; }
  .collection-nav { gap: 15px; }
  .page-header h1 { font-size: 60px; }
  .product-detail-info { position: static; }
  .product-detail-info h1 { font-size: 54px; }
  .checkout-header { display: grid; gap: 15px; }
  .checkout-grid { padding-top: 30px; }
  .order-summary { order: -1; }
  .site-footer { grid-template-columns: 1fr; gap: 22px; padding: 40px 5vw; }
  .demo-note { justify-self: start; }
}
