@charset "UTF-8";

:root {
  color-scheme: light;
  --paper: #f7f2ea;
  --paper-deep: #eee8de;
  --cream: #fbf8f2;
  --ink: #26372f;
  --ink-soft: #45544a;
  --muted: #766f64;
  --line: #dcd5c9;
  --clay: #ad7960;
  --display: "Iowan Old Style", "Baskerville", "Palatino Linotype", Georgia, serif;
  --sans: "Avenir Next", Avenir, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; min-width: 280px; color: var(--ink); background: var(--paper); font-family: var(--sans); }
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; }
a { color: inherit; }
img { display: block; max-width: 100%; }
::selection { color: white; background: var(--ink); }
:focus-visible { outline: 2px solid var(--clay); outline-offset: 4px; }

.skip-link { position: absolute; z-index: 50; top: -80px; left: 15px; padding: 12px 16px; background: var(--ink); color: white; text-decoration: none; }
.skip-link:focus { top: 12px; }

.site-header { min-height: 84px; padding: 0 clamp(22px, 4.5vw, 76px); display: flex; align-items: center; justify-content: space-between; gap: 24px; background: var(--paper); }
.wordmark { display: inline-flex; align-items: center; gap: 11px; flex: none; text-decoration: none; }
.wordmark__symbol { width: 35px; height: 35px; display: grid; place-items: center; border: 1px solid var(--ink); border-radius: 50%; font: italic 23px/1 var(--display); padding-right: 2px; }
.wordmark__text { font: 600 17px/1 var(--display); letter-spacing: -.045em; white-space: nowrap; }
.wordmark__text span { font-weight: 400; }
.header-actions { display: flex; align-items: center; gap: clamp(22px, 3.2vw, 48px); }
.header-status, .header-link { font-size: 11px; font-weight: 650; letter-spacing: .14em; text-transform: uppercase; white-space: nowrap; }
.header-status { display: inline-flex; align-items: center; gap: 9px; color: var(--muted); }
.status-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--clay); }
.header-link { text-decoration: none; border-bottom: 1px solid var(--ink); padding: 8px 0; }
.header-link span { padding-left: 12px; font-size: 15px; line-height: 0; }
.header-cart { display: inline-flex; align-items: center; gap: 9px; border: 0; padding: 8px 0; color: var(--ink); background: transparent; cursor: pointer; font-size: 11px; font-weight: 750; letter-spacing: .14em; text-decoration: none; text-transform: uppercase; white-space: nowrap; }
.header-cart__count { display: grid; place-items: center; min-width: 25px; height: 25px; padding: 0 5px; border-radius: 50%; color: #fffdf8; background: var(--ink); font-size: 10px; letter-spacing: 0; }

.hero { position: relative; display: grid; min-height: min(760px, calc(100svh - 84px)); margin: 0 clamp(12px, 1.7vw, 28px); overflow: hidden; isolation: isolate; background: #e9ddd0; }
.hero__media, .hero__copy { grid-area: 1 / 1; }
.hero__media { position: relative; min-height: inherit; overflow: hidden; background: radial-gradient(circle at 76% 37%, #efe5d8 0 14%, transparent 15%), linear-gradient(118deg, #f5eee4, #dcc4ae); }
.hero__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(247,242,234,.76) 0%, rgba(247,242,234,.61) 28%, rgba(247,242,234,.12) 53%, transparent 78%); pointer-events: none; }
.hero__image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hero__media.is-fallback .hero__image { display: none; }
.hero__fallback-mark { display: none; position: absolute; top: 48%; right: 20%; transform: translateY(-50%); color: rgba(80,75,67,.15); font: italic clamp(220px, 30vw, 550px)/1 var(--display); }
.hero__media.is-fallback .hero__fallback-mark { display: block; }
.hero__copy { position: relative; z-index: 1; align-self: center; width: min(670px, 51%); padding: 60px 0 62px clamp(38px, 7vw, 120px); }
.eyebrow { margin: 0; color: var(--ink-soft); font-size: 10px; font-weight: 750; letter-spacing: .21em; line-height: 1.5; text-transform: uppercase; }
.eyebrow-line { display: inline-block; width: 20px; height: 1px; margin: 0 8px 3px 0; background: currentColor; }
.hero h1 { margin: clamp(22px, 3vw, 43px) 0 22px; font: 400 clamp(65px, 7.5vw, 122px)/.96 var(--display); letter-spacing: -.073em; }
.hero__subline { max-width: 420px; margin: 0 0 36px; font-size: clamp(16px, 1.35vw, 19px); line-height: 1.6; color: #3e483f; }
.button { display: inline-flex; align-items: center; justify-content: space-between; gap: 60px; min-width: 187px; min-height: 55px; padding: 0 21px; font-size: 12px; font-weight: 700; letter-spacing: .045em; text-decoration: none; transition: background-color .2s ease, transform .2s ease; }
.button:hover { transform: translateY(-2px); }
.button--dark { color: #fffdf8; background: var(--ink); }
.button--dark:hover { background: #3e5145; }
.button span { font-size: 19px; font-weight: 400; }
.hero__note { margin: 18px 0 0; color: #55584f; font-size: 12px; line-height: 1.5; }
.hero__index { position: absolute; z-index: 1; display: flex; align-items: center; gap: 12px; right: 44px; bottom: 35px; color: #fffaf3; font-size: 11px; font-weight: 750; letter-spacing: .18em; text-shadow: 0 1px 10px rgba(0,0,0,.3); }
.hero__index-rule { width: 52px; height: 1px; background: currentColor; }

.collection { max-width: 1620px; margin: 0 auto; padding: clamp(78px, 8vw, 145px) clamp(22px, 5.7vw, 102px) 115px; scroll-margin-top: 20px; }
.collection__intro { display: flex; justify-content: space-between; align-items: end; gap: 30px; }
.section-eyebrow { color: var(--clay); }
.collection h2 { margin: 22px 0 0; font: 400 clamp(51px, 5.2vw, 85px)/1.03 var(--display); letter-spacing: -.067em; }
.heading-period { color: var(--clay); }
.collection__intro-side { display: flex; gap: 32px; align-items: end; padding-bottom: 8px; }
.collection__intro-side p { width: 120px; margin: 0; font: italic 19px/1.18 var(--display); text-align: right; }
.intro-index { color: var(--muted); font-size: 11px; font-weight: 700; letter-spacing: .16em; white-space: nowrap; }
.catalog-controls { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin: 50px 0 27px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.filter-list { display: flex; align-items: center; flex-wrap: wrap; gap: 2px; min-width: 0; padding: 12px 0; }
.filter-button { flex: none; border: 0; padding: 11px 14px; color: #665e55; background: transparent; cursor: pointer; font-size: 11px; font-weight: 700; letter-spacing: .055em; white-space: nowrap; transition: background-color .2s ease, color .2s ease; }
.filter-button:hover { background: #e8e0d5; color: var(--ink); }
.filter-button[aria-pressed="true"] { background: var(--ink); color: #fffdf8; }
.result-count { flex: none; margin: 0; color: var(--muted); font-size: 11px; letter-spacing: .04em; white-space: nowrap; }
.product-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 47px 19px; }
.product-card { min-width: 0; }
.product-card__link { display: block; text-decoration: none; }
.product-card__media { position: relative; display: block; aspect-ratio: 1 / 1.14; overflow: hidden; background: #ebe9df; }
.product-card__media img { width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: transform .45s ease; }
.product-card__media.has-image img { opacity: 1; }
.product-card__link:hover .product-card__media img { transform: scale(1.035); }
.concept-badge { position: absolute; z-index: 2; top: 13px; left: 13px; padding: 7px 9px 6px; background: rgba(250,248,242,.92); color: var(--ink-soft); font-size: 8px; font-weight: 750; letter-spacing: .13em; line-height: 1; text-transform: uppercase; }
.mockup-placeholder { position: absolute; inset: 0; display: grid; place-items: center; overflow: hidden; background: radial-gradient(ellipse at 24% 82%, rgba(174,163,142,.17), transparent 50%), linear-gradient(140deg, #f1ede4, #e7e9e0); }
.mockup-placeholder::before { content: ""; position: absolute; width: 63%; aspect-ratio: 1; border: 1px solid rgba(67,81,65,.25); border-radius: 50%; transform: translate(15%, -10%); }
.mockup-placeholder::after { content: ""; position: absolute; width: 86%; aspect-ratio: 1; border: 1px solid rgba(67,81,65,.12); border-radius: 50%; transform: translate(15%, -10%); }
.mockup-placeholder__mark { position: relative; z-index: 1; margin-top: -12px; color: rgba(59,76,62,.54); font: italic 80px/1 var(--display); }
.mockup-placeholder__caption { position: absolute; z-index: 1; left: 0; right: 0; bottom: 16%; color: #6b7467; font-size: 9px; font-weight: 750; letter-spacing: .16em; text-align: center; text-transform: uppercase; }
.product-card__media.has-image .mockup-placeholder { display: none; }
.product-card__meta { display: flex; justify-content: space-between; align-items: start; gap: 8px; margin: 15px 0 8px; color: var(--muted); font-size: 10px; font-weight: 750; letter-spacing: .12em; line-height: 1.3; text-transform: uppercase; }
.product-card__meta span:last-child { white-space: nowrap; }
.product-card__title { display: block; margin: 0; font: 400 clamp(19px, 1.55vw, 25px)/1.18 var(--display); letter-spacing: -.035em; }
.product-card__bottom { display: flex; align-items: center; justify-content: space-between; margin: 16px 0 0; padding-top: 10px; border-top: 1px solid var(--line); color: var(--ink-soft); font-size: 10px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.product-card__bottom span:last-child { font-size: 17px; font-weight: 400; line-height: 1; }
.product-card__link:hover .product-card__bottom { color: var(--clay); }
.catalog-message { margin: 48px 0 0; color: var(--muted); font-size: 15px; }

.preview-note { display: flex; align-items: center; gap: clamp(30px, 6vw, 98px); padding: 67px clamp(24px, 12vw, 190px); background: var(--paper-deep); }
.preview-note__ornament { flex: none; color: var(--clay); font: 400 105px/1 var(--display); }
.preview-note .eyebrow { color: var(--clay); }
.preview-note p:nth-child(2) { max-width: 640px; margin: 12px 0 0; font: 400 clamp(23px, 2.25vw, 35px)/1.25 var(--display); letter-spacing: -.032em; }
.preview-note a { display: inline-block; margin-top: 18px; color: var(--ink); font-size: 12px; font-weight: 700; text-underline-offset: 4px; }
.site-footer { display: grid; grid-template-columns: auto minmax(0, 1fr) minmax(235px, 300px); align-items: start; gap: 24px; min-height: 156px; padding: 35px clamp(22px, 5.7vw, 102px); }
.footer-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 22px; }
.footer-links a { color: var(--ink-soft); font-size: 11px; font-weight: 650; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.footer-links a:hover { color: var(--clay); }
.footer-company { min-width: 0; color: var(--ink-soft); font-size: 13px; line-height: 1.6; overflow-wrap: anywhere; }
.footer-company p { margin: 0; }
.footer-company__name { color: var(--ink); font-weight: 750; letter-spacing: .04em; }
.footer-company address { font-style: normal; }
.footer-company address > * { display: block; }
.footer-company a { color: inherit; text-underline-offset: 3px; }

.detail-dialog { width: min(1000px, calc(100% - 32px)); max-width: 1000px; max-height: min(90dvh, 790px); margin: auto; padding: 0; overflow: auto; border: none; background: var(--paper); color: var(--ink); box-shadow: 0 25px 90px rgba(31,36,28,.22); }
.detail-dialog::backdrop { background: rgba(28,36,29,.66); backdrop-filter: blur(4px); }
.detail-dialog__layout { position: relative; display: grid; grid-template-columns: 1fr 1fr; min-height: 570px; }
.dialog-close { position: absolute; z-index: 5; top: 20px; right: 20px; display: grid; place-items: center; width: 36px; height: 36px; padding: 0; border: 1px solid var(--line); border-radius: 50%; color: var(--ink); background: var(--paper); cursor: pointer; font: 30px/1 var(--display); }
.dialog-close:hover { background: var(--paper-deep); }
.detail-dialog__visual { position: relative; min-height: 570px; background: #e9e9e1; }
.detail-dialog__visual .product-card__media { position: absolute; inset: 0; width: 100%; height: 100%; aspect-ratio: auto; }
.detail-dialog__visual img { object-fit: contain; }
.detail-dialog__body { display: flex; flex-direction: column; justify-content: center; padding: 80px clamp(34px, 5vw, 79px); }
.detail-dialog__eyebrow { color: var(--clay); }
.detail-dialog__category { margin: 43px 0 15px; color: var(--muted); font-size: 11px; font-weight: 750; letter-spacing: .14em; text-transform: uppercase; }
.detail-dialog h2 { margin: 0; font: 400 clamp(40px, 4.3vw, 63px)/1.02 var(--display); letter-spacing: -.06em; }
.detail-dialog__price { margin: 24px 0 30px; font-size: 18px; font-weight: 600; }
.detail-dialog__message { padding: 22px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.detail-dialog__message span { color: var(--muted); font-size: 10px; font-weight: 750; letter-spacing: .15em; text-transform: uppercase; }
.detail-dialog__message p { margin: 10px 0 0; font: italic 25px/1.2 var(--display); }
.detail-dialog__note { max-width: 300px; margin: 28px 0 0; color: var(--muted); font-size: 12px; line-height: 1.55; }
.detail-dialog__purchase { margin-top: 28px; }
.detail-dialog__purchase > label { display: block; margin-bottom: 12px; color: var(--muted); font-size: 10px; font-weight: 750; letter-spacing: .15em; text-transform: uppercase; }
.detail-dialog__purchase-row { display: flex; gap: 12px; align-items: stretch; }
.detail-dialog__purchase-row input { width: 78px; min-height: 55px; border: 1px solid var(--line); border-radius: 0; padding: 0 12px; color: var(--ink); background: var(--cream); font: 600 16px var(--sans); }
.detail-dialog__purchase-row .button { flex: 1; gap: 14px; border: 0; cursor: pointer; white-space: nowrap; }
.form-error { margin: 12px 0 0; color: #9b3327; font-size: 12px; line-height: 1.5; }
.form-error[hidden] { display: none; }

.cart-drawer { position: fixed; inset: 0 0 0 auto; width: min(100%, 480px); max-width: 100%; height: 100dvh; max-height: 100dvh; margin: 0; padding: 0; border: 0; color: var(--ink); background: var(--paper); box-shadow: -20px 0 65px rgba(31,36,28,.18); }
.cart-drawer::backdrop { background: rgba(28,36,29,.55); }
.cart-drawer__inner { display: flex; flex-direction: column; height: 100%; }
.cart-drawer__header { display: flex; align-items: start; justify-content: space-between; gap: 20px; padding: 31px 32px 24px; border-bottom: 1px solid var(--line); }
.cart-drawer__header h2 { margin: 9px 0 0; font: 400 42px/1 var(--display); letter-spacing: -.05em; }
.cart-drawer__close { position: static; flex: none; }
.cart-drawer__items { flex: 1; overflow-y: auto; padding: 4px 32px; }
.cart-drawer__empty { margin: 34px 0; color: var(--muted); font-size: 14px; }
.cart-line { display: grid; grid-template-columns: 96px 1fr; gap: 17px; padding: 23px 0; border-bottom: 1px solid var(--line); }
.cart-line > img { width: 96px; height: 112px; object-fit: cover; background: var(--paper-deep); }
.cart-line__content h3 { margin: 2px 0 6px; font: 400 21px/1.14 var(--display); }
.cart-line__content p { margin: 0; color: var(--muted); font-size: 12px; }
.cart-line__controls { display: flex; align-items: end; justify-content: space-between; gap: 10px; margin-top: 18px; }
.cart-line__controls label { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: 11px; font-weight: 700; }
.cart-line__controls input { width: 55px; height: 32px; border: 1px solid var(--line); border-radius: 0; padding: 3px 6px; color: var(--ink); background: var(--cream); font: 600 12px var(--sans); }
.cart-line__controls button { border: 0; padding: 7px 0; color: var(--ink-soft); background: transparent; cursor: pointer; font-size: 11px; text-decoration: underline; text-underline-offset: 3px; }
.cart-drawer__footer { padding: 24px 32px 31px; border-top: 1px solid var(--line); background: var(--cream); }
.cart-drawer__subtotal { display: flex; justify-content: space-between; gap: 16px; font-size: 15px; }
.cart-drawer__subtotal strong { font-weight: 700; }
.cart-drawer__footer > p:not(.form-error) { margin: 10px 0 19px; color: var(--muted); font-size: 11px; line-height: 1.5; }
.cart-drawer__checkout { width: 100%; border: 0; cursor: pointer; }
.cart-drawer__checkout:disabled { opacity: .5; cursor: not-allowed; transform: none; }

.policy-page { max-width: 1000px; min-height: calc(100svh - 240px); margin: 0 auto; padding: clamp(70px, 8vw, 125px) 30px 120px; }
.policy-page h1 { margin: 18px 0 47px; font: 400 clamp(52px, 6vw, 80px)/1.04 var(--display); letter-spacing: -.06em; }
.policy-page__body { max-width: 760px; color: var(--ink-soft); font-size: 16px; line-height: 1.8; }
.policy-page__body p { margin: 0 0 24px; }
.policy-page__body a { color: var(--ink); text-underline-offset: 4px; }

@media (max-width: 1100px) {
  .hero__copy { width: 56%; }
  .hero h1 { font-size: clamp(64px, 7.5vw, 94px); }
  .product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .catalog-controls { display: block; }
  .result-count { padding: 0 14px 13px; }
}

@media (max-width: 760px) {
  .site-header { min-height: 72px; padding: 0 22px; }
  .header-status { display: none; }
  .header-link { font-size: 9px; }
  .header-link span { padding-left: 5px; }
  .header-actions { gap: 17px; }
  .header-cart { font-size: 10px; }
  .hero { display: flex; flex-direction: column; min-height: auto; margin: 0 10px; }
  .hero__copy { order: 1; align-self: auto; width: 100%; padding: 60px 27px 55px; background: #ece3d8; }
  .hero__media { order: 2; flex: none; min-height: 0; height: 380px; }
  .hero__media::after { display: none; }
  .hero__image { object-position: 64% center; }
  .hero__fallback-mark { right: 29%; font-size: 260px; }
  .hero h1 { margin: 25px 0 17px; font-size: clamp(59px, 10vw, 82px); }
  .hero__subline { max-width: 400px; margin-bottom: 28px; }
  .hero__index { display: none; }
  .collection { padding: 78px 22px 90px; }
  .collection__intro-side { display: none; }
  .collection h2 { font-size: clamp(49px, 8vw, 65px); }
  .catalog-controls { margin-top: 34px; }
  .filter-list { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
  .filter-list::-webkit-scrollbar { display: none; }
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 39px 14px; }
  .product-card__meta { margin-top: 12px; font-size: 9px; }
  .product-card__title { font-size: 20px; }
  .concept-badge { top: 8px; left: 8px; font-size: 7px; padding: 6px; }
  .preview-note { gap: 23px; padding: 53px 24px; }
  .preview-note__ornament { font-size: 60px; }
  .site-footer { grid-template-columns: minmax(0, 1fr); min-height: 135px; padding: 30px 22px; }
  .footer-links { justify-content: flex-start; }
  .detail-dialog__layout { display: block; }
  .detail-dialog { max-height: calc(100dvh - 20px); }
  .detail-dialog__visual { min-height: 0; height: min(34dvh, 290px); }
  .detail-dialog__body { padding: 26px 31px 34px; }
  .detail-dialog__category { margin: 18px 0 10px; }
  .detail-dialog h2 { font-size: clamp(36px, 8vw, 48px); }
  .detail-dialog__price { margin: 16px 0 19px; }
  .detail-dialog__message { padding: 14px 0; }
  .detail-dialog__message p { margin-top: 7px; font-size: 21px; }
  .detail-dialog__purchase { margin-top: 18px; }
}

@media (max-width: 420px) {
  .wordmark__text { font-size: 15px; }
  .wordmark__symbol { width: 31px; height: 31px; font-size: 21px; }
  .header-link { font-size: 8px; }
  .header-actions { gap: 11px; }
  .header-cart { font-size: 9px; }
  .hero__copy { padding: 48px 24px 44px; }
  .hero__eyebrow { font-size: 8px; }
  .hero h1 { font-size: clamp(56px, 15vw, 70px); }
  .hero__media { height: 300px; }
  .collection { padding-inline: 16px; }
  .collection h2 { font-size: 48px; }
  .product-card__title { font-size: 18px; }
  .product-card__bottom { font-size: 9px; }
  .mockup-placeholder__mark { font-size: 60px; }
  .mockup-placeholder__caption { font-size: 7px; }
  .preview-note__ornament { display: none; }
  .cart-drawer__header, .cart-drawer__footer { padding-inline: 22px; }
  .cart-drawer__items { padding-inline: 22px; }
  .policy-page { padding-inline: 22px; }
}

@media (max-width: 340px) {
  .header-actions .header-link { display: none; }
  .product-grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .button, .product-card__media img { transition: none; }
}
