:root {
  --ink: #171512;
  --charcoal: #24211e;
  --paper: #f7f4ef;
  --white: #ffffff;
  --line: #d9d3ca;
  --muted: #726c65;
  --accent: #cd8a4f;
  --accent-dark: #a9642e;
  --serif: Georgia, "Times New Roman", serif;
  --sans: Arial, Helvetica, sans-serif;
}

* { box-sizing: border-box; }

[hidden] { display: none !important; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-width: 1180px;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
}

body.no-scroll { overflow: hidden; }

button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { color: inherit; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

.announcement {
  height: 34px;
  display: grid;
  place-items: center;
  color: #f9f5ef;
  background: var(--ink);
  font-size: 11px;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.announcement p { margin: 0; }

.site-header {
  height: 96px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 0 48px;
  border-bottom: 1px solid var(--line);
  background: rgba(247, 244, 239, .94);
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(14px);
}

.brand {
  width: 306px;
  height: 77px;
  padding: 0;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border: 1px solid var(--accent);
  background: var(--ink);
  box-shadow: 0 10px 28px rgba(23, 21, 18, .15);
}
.brand::before {
  content: "";
  position: absolute;
  inset: 8px 12px;
  background: var(--accent);
  -webkit-mask: url("./assets/brand-logo-v2.png") center / contain no-repeat;
  mask: url("./assets/brand-logo-v2.png") center / contain no-repeat;
}
.brand img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
}

.site-header nav { display: flex; gap: 38px; }
.site-header nav a,
.bag-button {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.site-header nav a { position: relative; }
.site-header nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -7px;
  height: 1px;
  background: var(--ink);
  transition: right .25s ease;
}
.site-header nav a:hover::after { right: 0; }

.bag-button {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 10px;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.bag-count {
  min-width: 25px;
  height: 25px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--white);
  background: var(--ink);
  font-size: 11px;
}

.product-hero {
  max-width: 1560px;
  min-height: calc(100vh - 130px);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(670px, 1.15fr) minmax(440px, .85fr);
  gap: clamp(48px, 6vw, 110px);
  padding: 54px 60px 76px;
  align-items: center;
}

.product-gallery {
  min-width: 0;
  display: grid;
  grid-template-columns: 84px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
}

.gallery-thumbnails { display: grid; gap: 12px; }

.thumbnail {
  width: 84px;
  height: 94px;
  padding: 4px;
  overflow: hidden;
  border: 1px solid transparent;
  background: #ebe7e1;
  cursor: pointer;
  transition: border-color .2s ease, opacity .2s ease;
}

.thumbnail:hover { opacity: .78; }
.thumbnail.is-active { border-color: var(--ink); }
.thumbnail img { width: 100%; height: 100%; object-fit: cover; }

.main-image-wrap {
  min-height: 620px;
  position: relative;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: #eeeae5;
}

.main-image-wrap::before {
  content: "";
  position: absolute;
  inset: 22px;
  border: 1px solid rgba(23, 21, 18, .09);
  pointer-events: none;
}

#main-product-image {
  width: 100%;
  height: 620px;
  object-fit: contain;
  transition: opacity .18s ease, transform .35s ease;
}

.main-image-wrap:hover #main-product-image { transform: scale(1.015); }

.image-label {
  position: absolute;
  top: 24px;
  left: 26px;
  z-index: 2;
  padding: 8px 11px;
  color: var(--ink);
  background: rgba(255,255,255,.85);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .12em;
  backdrop-filter: blur(5px);
}

.image-zoom {
  position: absolute;
  right: 24px;
  bottom: 24px;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 10px 13px;
  border: 0;
  color: var(--ink);
  background: rgba(255,255,255,.9);
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}

.product-info { max-width: 540px; }

.eyebrow {
  margin: 0 0 20px;
  color: var(--accent-dark);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .18em;
}

.eyebrow-light { color: #d9a477; }

h1, h2, h3, p { text-wrap: pretty; }

h1 {
  margin: 0 0 22px;
  font-family: var(--serif);
  font-size: clamp(44px, 3.3vw, 58px);
  font-weight: 400;
  line-height: 1.02;
  letter-spacing: -.045em;
}

.price-row {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 28px;
}

.price { margin: 0; font-size: 25px; font-weight: 700; letter-spacing: -.02em; }
.price-row > span { color: var(--muted); font-size: 12px; letter-spacing: .08em; }

.quick-highlights {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin: 0 0 28px;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.quick-highlights p {
  min-height: 76px;
  margin: 0;
  padding: 14px 15px;
  display: flex;
  align-items: center;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.45;
}

.purchase-row { display: grid; grid-template-columns: 118px 1fr; gap: 12px; }

.quantity-control, .mini-quantity {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  align-items: center;
  border: 1px solid var(--ink);
  background: transparent;
}

.quantity-control { height: 58px; }
.quantity-control button,
.mini-quantity button {
  height: 100%;
  border: 0;
  background: transparent;
  cursor: pointer;
}
.quantity-control span, .mini-quantity span { text-align: center; font-size: 13px; }

.primary-button, .secondary-button, .light-button {
  min-height: 58px;
  border: 1px solid var(--ink);
  cursor: pointer;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .11em;
  text-transform: uppercase;
  transition: background .2s ease, color .2s ease, transform .2s ease;
}

.primary-button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 22px;
  color: var(--white);
  background: var(--ink);
}
.primary-button:hover { background: var(--accent-dark); border-color: var(--accent-dark); }

.secondary-button {
  width: 100%;
  margin-top: 12px;
  color: var(--ink);
  background: transparent;
}
.secondary-button:hover { color: var(--white); background: var(--ink); }

.purchase-note { margin: 17px 0 0; color: var(--muted); font-size: 12px; line-height: 1.55; }

.manifesto {
  padding: 112px max(6vw, 72px) 100px;
  color: var(--white);
  background: var(--ink);
}

.manifesto-grid {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 80px;
  align-items: end;
  padding-bottom: 84px;
}

.manifesto h2, .editorial-copy h2, .details-copy h2, .faq-section h2, .closing-cta h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(46px, 4.5vw, 76px);
  font-weight: 400;
  line-height: 1.04;
  letter-spacing: -.04em;
}

.manifesto-grid > p {
  max-width: 470px;
  margin: 0 0 8px;
  color: #c6c0b8;
  font-size: 18px;
  line-height: 1.7;
}

.manifesto-features {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid #49443f;
  border-bottom: 1px solid #49443f;
}

.manifesto-features article { min-height: 250px; padding: 28px 34px; border-right: 1px solid #49443f; }
.manifesto-features article:last-child { border-right: 0; }
.manifesto-features span { color: #9b9187; font-size: 11px; }
.manifesto-features h3 { margin: 56px 0 10px; font-family: var(--serif); font-size: 30px; font-weight: 400; }
.manifesto-features p { margin: 0; color: #aaa39c; font-size: 14px; line-height: 1.65; }

.selling-points {
  display: grid;
  grid-template-columns: .78fr 1.22fr;
  gap: 90px;
  padding: 120px max(6vw, 72px);
  border-bottom: 1px solid var(--line);
  background: #f3efe9;
}

.selling-points-intro {
  position: sticky;
  top: 150px;
  align-self: start;
}

.selling-points-intro h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: 64px;
  font-weight: 400;
  line-height: 1.02;
  letter-spacing: -.04em;
}

.selling-points-intro > p:last-child {
  max-width: 420px;
  margin: 30px 0 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.7;
}

.selling-points-list {
  border-top: 1px solid var(--line);
}

.selling-points-list article {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 20px;
  padding: 34px 0 38px;
  border-bottom: 1px solid var(--line);
}

.point-number {
  padding-top: 7px;
  color: var(--accent-dark);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
}

.selling-points-list h3 {
  margin: 0 0 14px;
  font-family: var(--serif);
  font-size: 30px;
  font-weight: 400;
  line-height: 1.18;
}

.selling-points-list p {
  max-width: 800px;
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.75;
}

.editorial-grid {
  max-width: 1560px;
  margin: 0 auto;
  padding: 120px 60px;
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 26px;
}

.editorial-card { overflow: hidden; background: #ebe4dc; }
.editorial-card img { width: 100%; object-fit: cover; }
.editorial-card-tall { display: grid; grid-template-columns: 1fr 1fr; min-height: 720px; }
.editorial-card-tall img { height: 100%; }
.editorial-card-tall .editorial-copy { align-self: center; }
.editorial-card-split { display: grid; grid-template-rows: 1fr 340px; }
.editorial-card-split img { height: 340px; object-position: center 48%; }
.editorial-copy { padding: 58px 48px; }
.editorial-copy h2 { font-size: 48px; }
.editorial-copy > p:last-child { max-width: 440px; margin: 28px 0 0; color: var(--muted); }

.details-section {
  display: grid;
  grid-template-columns: .83fr 1.17fr;
  min-height: 850px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.details-copy {
  padding: 100px max(5vw, 70px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.details-copy h2 { font-size: 58px; }
.details-copy > p:nth-of-type(2) { max-width: 520px; margin: 30px 0 42px; color: var(--muted); font-size: 17px; }

.spec-list { margin: 0; border-top: 1px solid var(--line); }
.spec-list div { display: flex; justify-content: space-between; padding: 13px 0; border-bottom: 1px solid var(--line); }
.spec-list dt { color: var(--muted); }
.spec-list dd { margin: 0; font-weight: 700; }

.details-image { display: grid; place-items: center; overflow: hidden; background: #e9e1d8; }
.details-image img { width: 100%; height: 850px; object-fit: contain; }

.feature-strip {
  max-width: 1560px;
  margin: 0 auto;
  padding: 120px 60px;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 90px;
  align-items: center;
}
.feature-strip > img { width: 100%; height: 690px; object-fit: contain; background: #eee8e1; }
.feature-strip h2 { max-width: 560px; margin: 0 0 50px; font-family: var(--serif); font-size: 62px; font-weight: 400; line-height: 1.02; letter-spacing: -.04em; }
.strip-list { border-top: 1px solid var(--line); }
.strip-list p { margin: 0; display: grid; grid-template-columns: 160px 1fr; padding: 16px 0; border-bottom: 1px solid var(--line); }
.strip-list span { color: var(--muted); }

.faq-section {
  padding: 112px max(6vw, 72px);
  display: grid;
  grid-template-columns: .75fr 1.25fr;
  gap: 90px;
  background: #ede8e1;
}
.faq-section h2 { font-size: 58px; }
.faq-list { border-top: 1px solid #c7beb4; }
.faq-list details { border-bottom: 1px solid #c7beb4; }
.faq-list summary { list-style: none; display: flex; justify-content: space-between; padding: 26px 0; font-size: 18px; font-weight: 700; cursor: pointer; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary span { font-size: 24px; font-weight: 400; transition: transform .2s ease; }
.faq-list details[open] summary span { transform: rotate(45deg); }
.faq-list details p { max-width: 720px; margin: -5px 50px 28px 0; color: var(--muted); }

.closing-cta {
  min-height: 490px;
  padding: 84px max(6vw, 72px);
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  color: var(--white);
  background: linear-gradient(115deg, #171512 0%, #302720 60%, #67452f 100%);
}
.closing-cta h2 { font-size: 72px; }
.light-button { width: 260px; color: var(--ink); background: var(--white); border-color: var(--white); }
.light-button:hover { color: var(--white); background: transparent; }

footer {
  min-height: 280px;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  grid-template-rows: 1fr auto;
  gap: 30px 80px;
  align-items: start;
  padding: 70px max(6vw, 72px) 30px;
  background: var(--paper);
}
.footer-brand { color: var(--accent); font-size: 34px; font-weight: 800; letter-spacing: -.06em; }
footer > p { max-width: 360px; margin: 3px 0 0; color: var(--muted); }
footer nav { display: grid; justify-content: end; gap: 8px; font-weight: 700; }
.copyright { grid-column: 1 / -1; max-width: none; padding-top: 26px; border-top: 1px solid var(--line); font-size: 12px; }

.scrim { position: fixed; inset: 0; z-index: 50; visibility: hidden; opacity: 0; background: rgba(23,21,18,.58); transition: opacity .25s ease, visibility .25s; }
.scrim.is-visible { visibility: visible; opacity: 1; }

.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 60;
  width: 510px;
  height: 100vh;
  padding: 36px;
  display: flex;
  flex-direction: column;
  transform: translateX(102%);
  background: var(--paper);
  box-shadow: -20px 0 60px rgba(0,0,0,.14);
  transition: transform .35s cubic-bezier(.22,.8,.25,1);
}
.cart-drawer.is-open { transform: translateX(0); }
.cart-header, .checkout-header { display: flex; justify-content: space-between; align-items: flex-start; }
.cart-header h2, .checkout-header h2 { margin: 0; font-family: var(--serif); font-size: 38px; font-weight: 400; }
.icon-button { width: 42px; height: 42px; border: 1px solid var(--line); border-radius: 50%; background: transparent; font-size: 26px; cursor: pointer; }
.cart-empty { flex: 1; display: grid; place-items: center; color: var(--muted); }
.cart-filled { flex: 1; padding-top: 42px; }
.cart-item { display: grid; grid-template-columns: 130px 1fr; gap: 20px; }
.cart-item img { width: 130px; height: 152px; object-fit: cover; background: #ebe7e1; }
.cart-item h3 { margin: 8px 0 4px; font-family: var(--serif); font-size: 22px; font-weight: 400; line-height: 1.2; }
.cart-item p { margin: 0; color: var(--muted); font-size: 13px; }
.cart-item-bottom { display: flex; justify-content: space-between; align-items: center; margin-top: 32px; }
.mini-quantity { width: 96px; height: 34px; }
.remove-button { margin: 14px 0 0 150px; padding: 0; border: 0; border-bottom: 1px solid currentColor; background: transparent; color: var(--muted); font-size: 12px; cursor: pointer; }
.cart-footer { padding-top: 24px; border-top: 1px solid var(--line); }
.subtotal-row { display: flex; justify-content: space-between; font-size: 18px; }
.cart-footer > p { margin: 8px 0 20px; color: var(--muted); font-size: 12px; }
.checkout-button { width: 100%; justify-content: center; }

dialog { color: var(--ink); }
dialog::backdrop { background: rgba(23,21,18,.65); backdrop-filter: blur(4px); }

.checkout-dialog {
  width: 760px;
  padding: 0;
  border: 0;
  background: var(--paper);
  box-shadow: 0 30px 80px rgba(0,0,0,.22);
}
.checkout-dialog form, .checkout-success { padding: 44px 48px 48px; }
.checkout-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin: 34px 0 26px; }
.checkout-grid label { display: grid; gap: 7px; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .07em; }
.checkout-grid label.wide { grid-column: 1 / -1; }
.checkout-grid input { width: 100%; height: 50px; padding: 0 14px; border: 1px solid var(--line); background: var(--white); outline: 0; }
.checkout-grid input:focus { border-color: var(--accent-dark); }
.checkout-summary { display: flex; justify-content: space-between; padding: 20px 0; border-top: 1px solid var(--line); }
.checkout-summary span { max-width: 540px; }
.checkout-notice { margin: 0 0 20px; padding: 14px 16px; color: var(--muted); background: #eee8e1; font-size: 12px; line-height: 1.55; }
.checkout-submit { width: 100%; justify-content: center; }
.checkout-success { min-height: 560px; display: flex; flex-direction: column; align-items: stretch; justify-content: center; text-align: center; }
.checkout-success h2 { margin: 0; font-family: var(--serif); font-size: 46px; font-weight: 400; }
.checkout-success > p:not(.eyebrow):not(.copy-status) { max-width: 590px; margin: 16px auto 28px; color: var(--muted); }
.request-recipient, .request-reference { display: flex; justify-content: space-between; gap: 30px; padding: 13px 0; border-top: 1px solid var(--line); text-align: left; }
.request-reference { border-bottom: 1px solid var(--line); }
.request-recipient span, .request-reference span { color: var(--muted); }
.request-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 26px; }
.request-actions .primary-button { justify-content: center; text-decoration: none; }
.request-actions .secondary-button { margin-top: 0; }
.copy-status { min-height: 24px; margin: 10px 0 0; color: var(--accent-dark); font-size: 13px; }
.text-button { align-self: center; padding: 3px 0; border: 0; border-bottom: 1px solid currentColor; background: transparent; color: var(--muted); font-size: 12px; cursor: pointer; }
.success-mark { width: 64px; height: 64px; display: grid; place-items: center; margin-bottom: 24px; border-radius: 50%; color: var(--white); background: var(--accent-dark); font-size: 26px; }
.checkout-success .success-mark, .checkout-success .eyebrow { align-self: center; }

.lightbox-dialog { width: min(1280px, 90vw); height: 90vh; padding: 28px; border: 0; background: #ede9e3; }
.lightbox-dialog img { width: 100%; height: 100%; object-fit: contain; }
.lightbox-close { position: absolute; top: 18px; right: 18px; z-index: 2; background: rgba(255,255,255,.9); }

.reveal { opacity: 0; transform: translateY(28px); transition: opacity .75s ease, transform .75s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
