:root {
  --ink: #211f1b;
  --muted: #716e67;
  --gold: #a87b38;
  --gold-light: #d7bd8e;
  --paper: #f8f6f1;
  --white: #fff;
  --line: #e8e4dc;
  --serif: "Playfair Display", Georgia, serif;
  --sans: "DM Sans", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--white); color: var(--ink); font-family: var(--sans); font-size: 15px; line-height: 1.65; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; }
button, a, select { -webkit-tap-highlight-color: transparent; }
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.container { width: min(1200px, calc(100% - 64px)); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.eyebrow { margin: 0 0 12px; color: var(--gold); font-size: 10px; font-weight: 700; letter-spacing: .2em; line-height: 1.5; text-transform: uppercase; }
h1, h2, h3, p { margin-top: 0; }
h1, h2 { font-family: var(--serif); font-weight: 400; letter-spacing: -.035em; line-height: 1.15; }
h1 em, h2 em { color: var(--gold); font-weight: 400; }
.button { min-height: 48px; display: inline-flex; align-items: center; justify-content: center; gap: 20px; padding: 0 23px; border: 1px solid transparent; font-size: 11px; font-weight: 600; letter-spacing: .04em; transition: background .2s ease, color .2s ease, transform .2s ease; cursor: pointer; }
.button:hover { transform: translateY(-2px); }
.button-dark { background: var(--ink); color: var(--white); }
.button-dark:hover { background: var(--gold); }
.text-link { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); font-size: 11px; font-weight: 600; border-bottom: 1px solid var(--gold-light); padding-bottom: 5px; transition: color .2s; }
.text-link:hover { color: var(--gold); }

/* Header */
.site-header { position: relative; z-index: 20; background: var(--white); }
.announcement { min-height: 30px; display: flex; align-items: center; justify-content: center; padding: 4px 16px; background: var(--ink); color: #f5efe4; font-size: 9px; letter-spacing: .13em; text-align: center; text-transform: uppercase; }
.nav-wrap { width: min(1320px, calc(100% - 64px)); min-height: 82px; margin: auto; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 9px; color: var(--ink); }
.brand-mark { width: 27px; height: 27px; display: grid; place-items: center; border: 1px solid var(--gold); border-radius: 50%; color: var(--gold); font-family: var(--serif); font-size: 17px; }
.brand-word { font-family: var(--serif); font-size: 22px; letter-spacing: .08em; }
.brand-word span { display: block; margin-top: -6px; color: var(--muted); font-family: var(--sans); font-size: 7px; letter-spacing: .28em; text-align: center; text-transform: uppercase; }
.main-nav { display: flex; align-items: center; gap: 36px; }
.main-nav a { position: relative; padding: 8px 0; color: #4c4943; font-size: 11px; }
.main-nav a::after { position: absolute; right: 0; bottom: 1px; left: 0; height: 1px; background: var(--gold); content: ""; transform: scaleX(0); transform-origin: left; transition: transform .2s; }
.main-nav a:hover::after, .main-nav a[aria-current="page"]::after { transform: scaleX(1); }
.nav-cta { padding: 10px 15px; border: 1px solid var(--line); font-size: 10px; transition: border-color .2s; }
.nav-cta:hover { border-color: var(--gold); }
.menu-toggle { display: none; width: 42px; height: 42px; border: 1px solid var(--line); background: transparent; color: var(--ink); font-size: 20px; cursor: pointer; }

/* Home */
.hero { position: relative; min-height: 610px; overflow: hidden; background: #d6c6b0; }
.hero-image { position: absolute; inset: 0; background-position: center 42%; background-size: cover; transition: background-image .5s ease; }
.hero-image::after { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(20,18,16,.68) 0%, rgba(20,18,16,.35) 44%, rgba(20,18,16,.04) 100%); content: ""; }
.hero-content { position: relative; z-index: 1; min-height: 610px; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; padding-top: 14px; color: var(--white); }
.hero-eyebrow { color: #e3c88f; }
.hero h1 { margin: 0 0 17px; font-size: clamp(47px, 6.4vw, 78px); }
.hero h1 em { color: #e3c88f; }
.hero-copy { max-width: 380px; margin-bottom: 27px; color: rgba(255,255,255,.82); font-size: 13px; }
.hero .button { background: var(--white); color: var(--ink); }
.hero .button:hover { background: var(--gold-light); }
.hero-controls { display: flex; align-items: center; gap: 12px; margin-top: 54px; }
.hero-arrow { width: 37px; height: 37px; border: 1px solid rgba(255,255,255,.55); background: transparent; color: var(--white); cursor: pointer; transition: background .2s; }
.hero-arrow:hover { background: rgba(255,255,255,.2); }
.hero-count { margin: 0 3px; font-size: 10px; letter-spacing: .1em; }
.hero-count span { color: rgba(255,255,255,.56); }
.hero-note { position: absolute; right: 28px; bottom: 21px; z-index: 1; margin: 0; color: rgba(255,255,255,.74); font-size: 9px; letter-spacing: .17em; text-transform: uppercase; writing-mode: vertical-rl; }
.section { padding-top: 96px; padding-bottom: 96px; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 34px; }
.section-heading h2, .story-copy h2, .newsletter h2 { margin: 0; font-size: clamp(33px, 4vw, 46px); }
.section-heading .text-link { margin-bottom: 7px; }
.category-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 15px; }
.category-tile { position: relative; min-height: 250px; overflow: hidden; background: var(--paper); }
.category-tile::after { position: absolute; inset: 35% 0 0; background: linear-gradient(transparent, rgba(0,0,0,.53)); content: ""; }
.category-tile img { width: 100%; height: 100%; min-height: 250px; object-fit: cover; transition: transform .5s; }
.category-tile:hover img { transform: scale(1.06); }
.category-tile span { position: absolute; right: 13px; bottom: 13px; left: 14px; z-index: 1; display: flex; justify-content: space-between; gap: 4px; color: var(--white); font-family: var(--serif); font-size: 16px; }
.category-tile b { font-family: var(--sans); font-size: 13px; font-weight: 400; }
.story-band { min-height: 470px; display: grid; grid-template-columns: 1fr 1fr; background: var(--paper); }
.story-image { min-height: 420px; overflow: hidden; }
.story-image img { width: 100%; height: 100%; object-fit: cover; }
.story-copy { max-width: 600px; align-self: center; padding: 60px clamp(36px, 8vw, 115px); }
.story-copy h2 { margin-bottom: 20px; font-size: clamp(34px, 4vw, 48px); }
.story-copy > p:not(.eyebrow) { margin-bottom: 24px; color: var(--muted); font-size: 13px; }
.featured-grid { grid-template-columns: repeat(4, minmax(0, 1fr)) !important; }
.promise-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; padding: 49px max(32px, calc((100% - 1200px)/2)); background: #f1eee8; text-align: center; }
.promise-icon { color: var(--gold); font-size: 24px; }
.promise-strip h3 { margin: 8px 0 4px; font-family: var(--serif); font-size: 17px; font-weight: 500; }
.promise-strip p { margin: 0; color: var(--muted); font-size: 11px; }
.testimonials { padding-top: 86px; }
.review-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.review-card { padding: 28px; border: 1px solid var(--line); }
.review-stars { margin-bottom: 15px; color: var(--gold); font-size: 12px; letter-spacing: .14em; }
.review-card blockquote { min-height: 84px; margin: 0 0 19px; color: #48453f; font-family: var(--serif); font-size: 17px; line-height: 1.55; }
.review-name { margin: 0; font-size: 11px; font-weight: 700; }
.review-name span { display: block; color: var(--muted); font-size: 9px; font-weight: 400; }

/* Collection and product cards */
.page-intro { padding: 70px 0 58px; background: var(--paper); text-align: center; }
.page-intro h1 { margin: 0 0 10px; font-size: clamp(40px, 5vw, 58px); }
.page-intro > .container > p:not(.eyebrow) { margin-bottom: 17px; color: var(--muted); font-size: 13px; }
.breadcrumbs { display: flex; justify-content: center; gap: 10px; color: var(--muted); font-size: 10px; }
.breadcrumbs a:hover { color: var(--gold); }
.collection-section { padding-top: 68px; }
.collection-title { display: flex; align-items: end; justify-content: space-between; margin-bottom: 24px; }
.collection-title h2 { margin: 0; font-size: 35px; }
.result-count { margin: 0 0 4px; color: var(--muted); font-size: 11px; }
.filters { display: grid; grid-template-columns: minmax(220px, 1fr) 190px 190px; gap: 12px; margin-bottom: 27px; }
.filters select, .search-field { width: 100%; height: 46px; border: 1px solid var(--line); background: var(--white); color: var(--ink); }
.filters select { padding: 0 14px; font-size: 11px; }
.search-field { display: flex; align-items: center; gap: 10px; padding: 0 13px; color: var(--gold); font-size: 23px; }
.search-field input { width: 100%; border: 0; outline: 0; color: var(--ink); font-size: 11px; }
.search-field input::placeholder { color: #969189; }
.search-field input:focus-visible { outline: 0; }
.product-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 25px 17px; }
.product-card { min-width: 0; animation: card-in .35s ease both; }
@keyframes card-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
.product-card-image { position: relative; display: block; aspect-ratio: 4 / 4.65; overflow: hidden; background: var(--paper); }
.product-card-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s, filter .3s; }
.product-card-image:hover img { transform: scale(1.055); }
.product-number-badge { position: absolute; top: 10px; left: 10px; z-index: 1; padding: 6px 9px; background: rgba(255,255,255,.94); color: var(--ink); font-size: 9px; font-weight: 700; letter-spacing: .1em; }
.product-card-image::after { position: absolute; inset: 0; border: 1px solid transparent; content: ""; pointer-events: none; transition: border-color .2s, box-shadow .2s; }
.product-card-image:hover::after { border-color: rgba(168,123,56,.7); box-shadow: inset 0 0 25px rgba(168,123,56,.13); }
.image-view { position: absolute; right: 10px; bottom: 10px; z-index: 1; padding: 7px 10px; background: rgba(255,255,255,.92); color: var(--ink); font-size: 9px; opacity: 0; transition: opacity .2s; }
.product-card-image:hover .image-view, .product-card-image:focus-visible .image-view { opacity: 1; }
.product-info { padding: 13px 1px 0; }
.product-number-detail { margin: 0 0 9px; color: var(--gold); font-size: 10px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.product-category { margin: 0 0 5px; color: var(--gold); font-size: 9px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
.product-name { margin: 0 0 5px; font-family: var(--serif); font-size: 17px; font-weight: 500; line-height: 1.35; }
.product-description { min-height: 36px; margin: 0 0 12px; color: var(--muted); font-size: 10px; line-height: 1.7; }
.card-link { display: inline-flex; gap: 8px; align-items: center; padding-bottom: 3px; border-bottom: 1px solid var(--gold-light); font-size: 10px; font-weight: 600; }
.card-link:hover { color: var(--gold); }
.pagination { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 6px; margin-top: 48px; }
.page-button { min-width: 38px; height: 38px; border: 1px solid var(--line); background: var(--white); color: var(--ink); font-size: 11px; cursor: pointer; transition: all .2s; }
.page-button:hover, .page-button[aria-current="page"] { border-color: var(--ink); background: var(--ink); color: var(--white); }
.page-button:disabled { opacity: .4; cursor: not-allowed; }
.page-button.wide { padding: 0 12px; }
.no-results { padding: 45px 0; color: var(--muted); text-align: center; }
.newsletter { padding: 65px 24px; background: var(--paper); text-align: center; }
.newsletter h2 { margin-bottom: 10px; font-size: 37px; }
.newsletter > p:not(.eyebrow):not(.form-feedback) { margin-bottom: 20px; color: var(--muted); font-size: 12px; }
.newsletter-form { width: min(500px, 100%); display: flex; gap: 8px; margin: auto; }
.newsletter-form input { flex: 1; min-width: 0; height: 48px; padding: 0 14px; border: 1px solid var(--line); background: white; font-size: 11px; }
.newsletter-form .button { white-space: nowrap; }
.form-feedback { min-height: 18px; margin: 9px 0 0; color: var(--gold); font-size: 11px; }

/* Product details */
.detail-section { padding-top: 48px; }
.detail-breadcrumb { justify-content: flex-start; margin: 0 0 27px; }
.detail-layout { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(320px, .92fr); gap: clamp(35px, 7vw, 90px); align-items: start; }
.detail-gallery { display: grid; grid-template-columns: 76px 1fr; gap: 12px; }
.thumbnail-list { display: flex; flex-direction: column; gap: 10px; }
.detail-thumb { width: 76px; height: 88px; padding: 0; overflow: hidden; border: 1px solid var(--line); background: var(--paper); cursor: pointer; }
.detail-thumb[aria-current="true"] { border-color: var(--gold); }
.detail-thumb img { width: 100%; height: 100%; object-fit: cover; }
.detail-main-image { position: relative; min-height: 550px; overflow: hidden; background: var(--paper); cursor: zoom-in; }
.detail-main-image img { width: 100%; height: 100%; min-height: 550px; object-fit: cover; transition: transform .45s; }
.detail-main-image:hover img { transform: scale(1.035); }
.detail-copy { padding-top: 17px; }
.detail-copy h1 { margin: 0 0 15px; font-size: clamp(34px, 4vw, 46px); }
.detail-description { max-width: 470px; margin-bottom: 24px; color: var(--muted); font-size: 13px; }
.detail-divider { height: 1px; margin: 24px 0; background: var(--line); }
.detail-meta { display: grid; grid-template-columns: 120px 1fr; gap: 12px; margin: 0; font-size: 11px; }
.detail-meta dt { color: var(--muted); }
.detail-meta dd { margin: 0; }
.color-swatches { display: flex; gap: 9px; }
.color-swatch { width: 17px; height: 17px; border: 2px solid white; border-radius: 50%; box-shadow: 0 0 0 1px var(--line); }
.color-gold { background: #c19a55; }.color-silver { background: #c8c8c3; }.color-rose { background: #bd8d7e; }
.detail-note { margin: 30px 0; padding: 17px; background: var(--paper); color: var(--muted); font-size: 11px; }
.detail-copy .button { width: 100%; }
.related-section { padding-top: 54px; }

/* Shared footer and lightbox */
.site-footer { padding: 55px 0 22px; background: #211f1b; color: #f7f4ee; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 36px; padding-bottom: 42px; }
.footer-brand .brand { color: var(--white); }
.footer-brand > p { max-width: 230px; margin: 17px 0 0; color: #b6b1a8; font-size: 11px; }
.footer-heading { margin: 0 0 15px; color: #e0c58f; font-size: 9px; font-weight: 600; letter-spacing: .15em; text-transform: uppercase; }
.footer-links { display: grid; gap: 9px; }
.footer-links a, .footer-links p { margin: 0; color: #c7c2b9; font-size: 11px; }
.footer-links a:hover { color: white; }
.social-links { display: flex; gap: 8px; margin-top: 14px; }
.social-links a { width: 30px; height: 30px; display: grid; place-items: center; border: 1px solid #625d54; border-radius: 50%; font-size: 10px; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; padding-top: 18px; border-top: 1px solid #49453f; color: #aaa59c; font-size: 9px; }
.footer-bottom p { margin: 0; }
.lightbox[hidden] { display: none; }
.lightbox { position: fixed; inset: 0; z-index: 100; display: flex; align-items: center; justify-content: center; padding: 50px; background: rgba(19,18,16,.94); }
.lightbox figure { max-width: min(850px, 76vw); max-height: 85vh; margin: 0; text-align: center; }
.lightbox figure img { max-width: 100%; max-height: 78vh; margin: auto; object-fit: contain; }
.lightbox figcaption { margin-top: 10px; color: white; font-size: 11px; }
.lightbox-close, .lightbox-nav { position: absolute; z-index: 1; width: 43px; height: 43px; border: 1px solid rgba(255,255,255,.55); background: transparent; color: white; font-size: 24px; cursor: pointer; }
.lightbox-close { top: 24px; right: 24px; }
.lightbox-nav { top: 50%; transform: translateY(-50%); }
.lightbox-prev { left: 26px; }.lightbox-next { right: 26px; }
.lightbox-close:hover, .lightbox-nav:hover { background: rgba(255,255,255,.18); }

@media (max-width: 1000px) {
  .container { width: min(100% - 44px, 850px); }
  .nav-wrap { width: calc(100% - 44px); }
  .category-grid { grid-template-columns: repeat(3, 1fr); }
  .category-tile, .category-tile img { min-height: 260px; }
  .product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .featured-grid { grid-template-columns: repeat(4, minmax(0, 1fr)) !important; }
  .detail-main-image, .detail-main-image img { min-height: 460px; }
}
@media (max-width: 720px) {
  .container { width: calc(100% - 36px); }
  .nav-wrap { width: calc(100% - 36px); min-height: 70px; }
  .announcement { font-size: 8px; }
  .menu-toggle { display: grid; place-items: center; }
  .main-nav { position: absolute; top: 100%; right: 0; left: 0; display: none; align-items: stretch; gap: 0; padding: 8px 18px 17px; border-top: 1px solid var(--line); background: white; box-shadow: 0 10px 14px rgba(0,0,0,.06); }
  .main-nav.is-open { display: flex; flex-direction: column; }
  .main-nav a { padding: 12px 3px; border-bottom: 1px solid var(--line); }
  .main-nav .nav-cta { margin-top: 11px; padding: 11px; border: 1px solid var(--line); text-align: center; }
  .hero, .hero-content { min-height: 555px; }
  .hero h1 { font-size: clamp(45px, 11vw, 66px); }
  .hero-copy { max-width: 310px; }
  .hero-controls { margin-top: 39px; }
  .section { padding-top: 69px; padding-bottom: 69px; }
  .section-heading { align-items: flex-start; margin-bottom: 25px; }
  .section-heading .text-link { margin-top: 10px; }
  .category-grid { grid-template-columns: repeat(2, 1fr); gap: 11px; }
  .category-tile, .category-tile img { min-height: 235px; }
  .category-tile span { font-size: 15px; }
  .story-band { grid-template-columns: 1fr; }
  .story-image { min-height: 330px; max-height: 400px; }
  .story-copy { padding: 44px 25px 49px; }
  .featured-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
  .promise-strip { grid-template-columns: repeat(2, 1fr); padding: 38px 20px; row-gap: 30px; }
  .review-grid { grid-template-columns: 1fr; }
  .review-card blockquote { min-height: 0; }
  .page-intro { padding: 55px 0 42px; }
  .collection-section { padding-top: 52px; }
  .filters { grid-template-columns: 1fr 1fr; }
  .search-field { grid-column: 1 / -1; }
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 12px; }
  .product-name { font-size: 15px; }
  .product-description { min-height: 51px; }
  .newsletter { padding: 48px 18px; }
  .newsletter-form { flex-direction: column; }
  .newsletter-form .button { width: 100%; }
  .detail-section { padding-top: 28px; }
  .detail-layout { grid-template-columns: 1fr; gap: 25px; }
  .detail-gallery { grid-template-columns: 1fr; }
  .thumbnail-list { order: 2; flex-direction: row; overflow-x: auto; }
  .detail-thumb { width: 67px; min-width: 67px; height: 76px; }
  .detail-main-image, .detail-main-image img { min-height: 0; aspect-ratio: 1 / 1.05; }
  .detail-copy { padding-top: 5px; }
  .detail-copy h1 { font-size: 36px; }
  .related-section { padding-top: 38px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 30px 20px; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-bottom { flex-direction: column; gap: 7px; }
  .lightbox { padding: 50px 18px; }
  .lightbox figure { max-width: 88vw; }
  .lightbox-nav { width: 36px; height: 36px; font-size: 19px; }
  .lightbox-prev { left: 8px; }.lightbox-next { right: 8px; }
}
@media (max-width: 380px) {
  .container { width: calc(100% - 28px); }
  .section-heading { flex-direction: column; gap: 8px; }
  .section-heading .text-link { margin-top: 0; }
  .filters { grid-template-columns: 1fr; }
  .search-field { grid-column: auto; }
  .category-tile, .category-tile img { min-height: 200px; }
  .pagination { gap: 4px; }
  .page-button { min-width: 34px; height: 36px; }
  .page-button.wide { padding: 0 7px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
