:root {
  --bg: #f6f1ea;
  --bg-2: #efe7dc;
  --ink: #161513;
  --muted: #6b645c;
  --line: #e4d9cc;
  --dark: #1b1916;
  --banner-h: 36px;
  --header-h: 72px;
  --max: 1280px;
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Times New Roman", serif;
  --sans: "Helvetica Neue", Helvetica, Arial, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { font-size: 16px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  letter-spacing: .01em;
  line-height: 1.5;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
a:hover { opacity: .72; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; letter-spacing: .04em; }
.skip-link { position: absolute; left: -999px; }
.wrap { width: min(var(--max), calc(100% - 40px)); margin: 0 auto; }

.announce {
  height: var(--banner-h);
  background: #1b1916;
  color: #f6f1ea;
  display: grid;
  place-items: center;
  font-size: 12px;
  letter-spacing: .12em;
  text-transform: uppercase;
  position: relative;
  overflow: hidden;
}
.announce__item { position: absolute; opacity: 0; transition: opacity .4s; }
.announce__item.is-on { opacity: 1; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
}
.header-bar {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  min-height: var(--header-h);
  padding: 0 24px;
  gap: 16px;
}
.header-nav { display: flex; gap: 22px; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; }
.nav-drop { position: relative; }
.nav-drop__menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 220px;
  background: var(--bg);
  border: 1px solid var(--line);
  padding: 12px 0;
  z-index: 50;
}
.nav-drop:hover .nav-drop__menu { display: block; }
.nav-drop__menu a { display: block; padding: 8px 18px; font-size: 12px; }
.logo { justify-self: center; }
.logo__mark {
  font-family: var(--sans);
  font-weight: 500;
  letter-spacing: .42em;
  font-size: 18px;
  text-transform: uppercase;
  padding-left: .42em;
}
.header-tools { display: flex; justify-content: flex-end; gap: 8px; align-items: center; }
.icon-btn {
  background: none; border: 0; padding: 8px; cursor: pointer; color: inherit; position: relative;
}
.burger { display: none; }
.cart-count {
  position: absolute; top: 2px; right: 0;
  min-width: 16px; height: 16px; border-radius: 99px;
  background: var(--ink); color: var(--bg); font-size: 10px;
  display: grid; place-items: center;
}
.cart-count[data-count="0"] { display: none; }

.overlay { position: fixed; inset: 0; background: rgba(22,21,19,.35); z-index: 60; }
.drawer {
  position: fixed; top: 0; bottom: 0; width: min(420px, 92vw); background: var(--bg);
  z-index: 70; transform: translateX(110%); transition: transform .28s ease; display: flex; flex-direction: column;
}
.drawer--nav { left: 0; transform: translateX(-110%); }
.drawer--search, .drawer--cart { right: 0; }
.drawer.is-open { transform: translateX(0); }
.drawer__head { display: flex; justify-content: space-between; align-items: center; padding: 18px 20px; border-bottom: 1px solid var(--line); }
.drawer__body { padding: 20px; overflow: auto; }
.mobile-nav { display: flex; flex-direction: column; padding: 12px 20px 40px; gap: 14px; letter-spacing: .12em; text-transform: uppercase; font-size: 13px; }
.nav-label { margin: 16px 0 0; font-size: 11px; color: var(--muted); }
.search-form input { width: 100%; padding: 12px 0; border: 0; border-bottom: 1px solid var(--ink); background: transparent; font: inherit; }
.search-results a { display: flex; gap: 12px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--line); }
.search-results img { width: 56px; height: 56px; object-fit: cover; }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 46px; padding: 0 22px; border: 1px solid var(--ink);
  background: transparent; cursor: pointer; font: inherit; letter-spacing: .12em;
  text-transform: uppercase; font-size: 12px;
}
.btn--dark { background: var(--ink); color: var(--bg); }
.btn--outline { background: transparent; }
.btn--block { width: 100%; }
.text-link { letter-spacing: .14em; text-transform: uppercase; font-size: 12px; border-bottom: 1px solid currentColor; }

.hero { display: grid; grid-template-columns: 1fr 1.1fr; min-height: 72vh; }
.hero__copy { display: flex; flex-direction: column; justify-content: center; padding: 48px 56px; }
.hero__kicker { letter-spacing: .18em; text-transform: uppercase; font-size: 12px; }
.hero__copy h1 { font-size: clamp(28px, 4vw, 48px); line-height: 1.2; margin: 12px 0 18px; }
.hero__note { color: var(--muted); margin-bottom: 24px; }
.hero__media { display: grid; grid-template-columns: 1fr 1fr; }
.hero__shot { position: relative; overflow: hidden; background: var(--bg-2); }
.hero__shot img { width: 100%; height: 100%; object-fit: cover; min-height: 360px; }
.hero__shot span { position: absolute; left: 16px; bottom: 16px; font-size: 12px; letter-spacing: .08em; }

.band { padding: 72px 0; }
.band.cream { background: var(--bg-2); }
.rail-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 28px; }
.rail-head h2 { margin: 0; font-size: 28px; }
.cat-grid, .product-grid, .look-grid, .review-grid { display: grid; gap: 18px; }
.cat-grid { grid-template-columns: repeat(4, 1fr); }
.product-grid--4 { grid-template-columns: repeat(4, 1fr); }
.look-grid { grid-template-columns: repeat(4, 1fr); }
.review-grid { grid-template-columns: repeat(4, 1fr); }
.cat-tile { position: relative; background: var(--bg-2); min-height: 280px; overflow: hidden; }
.cat-tile img { width: 100%; height: 100%; object-fit: cover; min-height: 280px; }
.cat-tile span { position: absolute; left: 16px; bottom: 16px; letter-spacing: .16em; text-transform: uppercase; font-size: 13px; }

.pcard { display: flex; flex-direction: column; gap: 10px; }
.pcard__media { position: relative; background: #efe8de; aspect-ratio: 1; overflow: hidden; }
.pcard__img { width: 100%; height: 100%; object-fit: cover; }
.pcard__img--hover { position: absolute; inset: 0; opacity: 0; transition: opacity .25s; }
.pcard:hover .pcard__img--hover { opacity: 1; }
.pcard__badge {
  position: absolute; left: 10px; top: 10px; z-index: 2;
  background: var(--bg); padding: 4px 8px; font-size: 10px; letter-spacing: .12em; text-transform: uppercase;
}
.pcard__title { font-size: 14px; font-weight: 400; margin: 0; font-family: var(--sans); letter-spacing: .02em; }
.pcard__metal { margin: 0; color: var(--muted); font-size: 12px; }
.pcard__price del { color: var(--muted); margin-right: 6px; }
.pcard__price ins { text-decoration: none; }

.story__grid { display: grid; grid-template-columns: 1.4fr .8fr; gap: 48px; align-items: center; }
.story__quote { font-family: var(--serif); font-size: 36px; }
.reviews h2 { text-align: center; margin-bottom: 32px; }
.reviews blockquote { margin: 0; font-size: 15px; }
.reviews cite { display: block; margin-top: 12px; color: var(--muted); font-style: normal; font-size: 13px; }

.collection { padding: 40px 0 80px; }
.collection__head { text-align: center; margin-bottom: 36px; }
.collection__head h1 { font-size: 36px; margin-bottom: 8px; }
.collection__desc { max-width: 640px; margin: 0 auto 8px; color: var(--muted); }
.collection__count { color: var(--muted); font-size: 13px; }
.collection__pager { margin-top: 40px; display: flex; justify-content: center; }

.pdp { display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; padding: 32px 0 64px; }
.pdp__stage { background: #efe8de; }
.pdp__stage img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.pdp__thumbs { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; margin-top: 10px; }
.pdp__thumbs button { border: 1px solid transparent; padding: 0; background: #efe8de; cursor: pointer; }
.pdp__thumbs button.is-on { border-color: var(--ink); }
.pdp__info h1 { font-size: 32px; margin: 0 0 12px; }
.pdp-price { font-size: 18px; margin-bottom: 8px; }
.pdp-price del { color: var(--muted); margin-right: 8px; }
.pdp-price ins { text-decoration: none; }
.pdp-compare { color: var(--muted); font-size: 13px; }
.pdp-metal { letter-spacing: .08em; }
.pdp-fair { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 12px 0; margin: 16px 0; }
.pdp-fair summary { cursor: pointer; letter-spacing: .08em; text-transform: uppercase; font-size: 12px; }
.pdp-form { display: flex; flex-direction: column; gap: 12px; margin: 20px 0; }
.pdp-qty { display: flex; align-items: center; border: 1px solid var(--line); width: 140px; }
.pdp-qty button { width: 40px; height: 40px; border: 0; background: none; cursor: pointer; }
.pdp-qty input { width: 60px; border: 0; text-align: center; background: transparent; font: inherit; }
.pdp-trust { list-style: none; padding: 0; margin: 24px 0; display: grid; gap: 8px; font-size: 13px; }
.pdp-trust a { border-bottom: 1px solid var(--line); }
.pdp-below { padding-bottom: 80px; }
.pdp-block { padding: 36px 0; border-top: 1px solid var(--line); }
.pdp-block h2 { font-size: 24px; }
.variations { width: 100%; }
.variations td { padding: 6px 0; }
.variations select { width: 100%; min-height: 44px; background: transparent; border: 1px solid var(--line); font: inherit; padding: 0 10px; }

.page-wrap { padding: 48px 0 80px; max-width: 820px; }
.page-body p { margin: 0 0 14px; }
.page-body h2, .page-body h3 { margin: 28px 0 10px; }
.page-body table { width: 100%; border-collapse: collapse; margin: 16px 0; }
.page-body th, .page-body td { border-bottom: 1px solid var(--line); padding: 8px 6px; text-align: left; font-size: 14px; }
.empty-state { text-align: center; padding: 80px 0; }

.site-footer { background: #1b1916; color: #f6f1ea; padding: 56px 0 28px; margin-top: 40px; }
.footer-cta { text-align: center; margin-bottom: 48px; }
.footer-kicker { letter-spacing: .18em; text-transform: uppercase; font-size: 11px; }
.footer-form { display: flex; gap: 8px; justify-content: center; margin-top: 16px; }
.footer-form input { min-width: 260px; background: transparent; border: 0; border-bottom: 1px solid #e8e8e8; color: inherit; padding: 10px 0; font: inherit; }
.site-footer .btn--dark { background: #f6f1ea; color: #1b1916; }
.footer__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.footer__h { letter-spacing: .16em; text-transform: uppercase; font-size: 12px; }
.footer__grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; font-size: 14px; }
.footer-contact { margin-top: 18px; font-size: 13px; color: #cfc6ba; }
.footer__legal { margin-top: 40px; padding-top: 18px; border-top: 1px solid #3a3530; font-size: 12px; color: #cfc6ba; }

.checkout-layout { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; width: min(1100px, calc(100% - 40px)); margin: 32px auto 80px; }
.checkout-logo { display: inline-block; margin-bottom: 24px; }
.checkout-block { margin: 24px 0; }
.checkout-block h2 { font-size: 20px; }
.checkout-layout__aside { background: var(--bg-2); padding: 24px; }
.mini-cart { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.mini-cart li { display: grid; grid-template-columns: 72px 1fr; gap: 12px; }
.mini-cart img { width: 72px; height: 72px; object-fit: cover; }
.mini-cart__foot { margin-top: 20px; }
.mini-cart__sub { display: flex; justify-content: space-between; }
.empty-cart { text-align: center; padding: 24px 0; }

@media (max-width: 900px) {
  .header-nav { display: none; }
  .burger { display: inline-flex; }
  .header-bar { grid-template-columns: auto 1fr auto; }
  .hero, .story__grid, .pdp, .checkout-layout, .cat-grid, .product-grid--4, .look-grid, .review-grid, .footer__grid {
    grid-template-columns: 1fr 1fr;
  }
  .hero { grid-template-columns: 1fr; }
  .pdp, .checkout-layout, .story__grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .cat-grid, .product-grid--4, .look-grid, .review-grid, .footer__grid, .hero__media { grid-template-columns: 1fr; }
  .footer-form { flex-direction: column; }
  .footer-form input { min-width: 0; width: 100%; }
}
