@font-face {
  font-family: Manrope;
  src: url("/fonts/manrope-800.woff2") format("woff2");
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: Inter;
  src: url("/fonts/inter-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: Inter;
  src: url("/fonts/inter-500.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Cormorant Garamond";
  src: url("/fonts/cormorant-garamond-500-italic.woff2") format("woff2");
  font-weight: 500;
  font-style: italic;
  font-display: swap;
}

*,
*::before,
*::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 1.02rem;
  line-height: 1.55;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
button, input, textarea { font: inherit; color: inherit; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3, .price {
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: -0.03em;
}
h1 { font-size: clamp(2.6rem, 6vw, 4.8rem); line-height: 0.96; }
h2 { font-size: clamp(1.5rem, 3vw, 2rem); line-height: 1.1; }
h3 { font-size: 1.15rem; line-height: 1.2; }

.skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  background: var(--gold);
  color: var(--black);
  padding: 0.6rem 0.8rem;
  z-index: 50;
}
.skip:focus { top: 0.5rem; }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}
.hp { position: absolute; left: -9999px; height: 0; width: 0; opacity: 0; }

.wrap { width: min(1120px, calc(100% - 2rem)); margin-inline: auto; }
.narrow { width: min(720px, calc(100% - 2rem)); }
.announce {
  background: var(--black);
  color: var(--bone);
  border-bottom: 1px solid var(--line);
  text-align: center;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.45rem 1rem;
}
.header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: color-mix(in srgb, var(--paper) 92%, transparent);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.header-bar {
  display: flex;
  align-items: center;
  gap: 1rem;
  min-height: 4.25rem;
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  text-decoration: none;
  color: var(--ink);
}
.mark { width: 0.9rem; height: 1.2rem; color: var(--gold); flex: none; }
.wordmark { font-size: 1rem; line-height: 1.02; max-width: 8.5rem; }
.brand-img { height: 1.35rem; width: auto; max-width: 42vw; }
.brand-icon { height: 1.35rem; width: auto; }
.nav { display: flex; align-items: center; gap: 1.1rem; margin-left: auto; }
.nav a, .shop summary, .footer a { text-decoration: none; }
.shop { position: relative; }
.shop summary { cursor: pointer; list-style: none; }
.shop summary::-webkit-details-marker { display: none; }
.shop-panel {
  position: absolute;
  top: calc(100% + 0.7rem);
  left: 0;
  background: var(--white);
  border: 1px solid var(--line);
  min-width: 15rem;
  padding: 0.4rem;
  display: grid;
  z-index: 5;
}
.shop-panel a { padding: 0.45rem 0.6rem; }
.shop-panel a:hover { background: #262626; }
.header-tools { display: flex; align-items: center; gap: 0.7rem; }
.search-link { display: none; text-decoration: none; }
.search-form input, .stack-form input, .stack-form textarea {
  border: 1px solid var(--line);
  background: var(--white);
  border-radius: 0;
  padding: 0.7rem 0.75rem;
  width: 8.5rem;
}
.search-form-large { display: flex; gap: 0.6rem; margin: 1rem 0 1.4rem; }
.search-form-large input { width: 100%; }
.cart-link { text-decoration: none; white-space: nowrap; }
.count {
  display: inline-grid;
  place-items: center;
  min-width: 1.3rem;
  height: 1.3rem;
  border-radius: 999px;
  background: var(--gold);
  color: var(--black);
  font-size: 0.75rem;
  font-weight: 800;
  padding: 0 0.3rem;
}

.hero { background: var(--black); color: var(--bone); }
.hero-grid { display: grid; gap: 2rem; padding: 2.5rem 0 3rem; align-items: center; }
.hero h1 { font-size: inherit; line-height: 0; }
.hero-mark { width: min(100%, 34rem); height: auto; }
.hero h1 { color: var(--bone); }
.eyebrow {
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.75rem;
  color: var(--gold-soft);
  margin-bottom: 0.8rem;
}
.hero .eyebrow { color: var(--gold-soft); }
.lede { font-size: 1.12rem; max-width: 38rem; margin-top: 1.2rem; color: var(--ink-soft); }
.hero .lede { color: var(--bone); }
.hero-actions, .checkout-actions { display: flex; flex-wrap: wrap; gap: 0.7rem; margin-top: 1.4rem; }
.hero-figure { margin: 0; background: var(--graphite); }
.hero-figure img { width: 100%; aspect-ratio: 1; object-fit: contain; background: var(--graphite); padding: 12%; }
.hero-figure figcaption { margin-top: 0.6rem; color: var(--gold); font-size: 0.85rem; letter-spacing: 0.08em; text-transform: uppercase; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0.7rem 1.1rem;
  background: var(--gold);
  color: var(--black);
  font-weight: 800;
  letter-spacing: -0.02em;
  text-decoration: none;
  border: 1px solid var(--gold);
  cursor: pointer;
}
.hero .btn,
.section .btn,
.drawer .btn,
.narrow .btn { background: var(--gold); color: var(--black); border-color: var(--gold); }
.btn-ghost, .hero .btn-ghost {
  background: transparent;
  color: var(--bone);
  border-color: color-mix(in srgb, var(--bone) 45%, transparent);
  font-weight: 500;
}
.btn-block { width: 100%; }
.btn:disabled, .btn-soon, .btn-soon:disabled {
  background: transparent;
  color: var(--bone);
  border: 1px solid color-mix(in srgb, var(--bone) 35%, transparent);
  cursor: not-allowed;
  opacity: 1;
  font-weight: 500;
}
.hero .btn-ghost:hover { border-color: var(--bone); }
.btn:focus-visible, a:focus-visible, button:focus-visible, input:focus-visible, summary:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

.section { padding: 2.6rem 0; }
.section-tight { padding-top: 0; }
.section-head { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; margin-bottom: 1rem; }
.section-head a { color: var(--gold); }
.filters { display: flex; gap: 0.45rem; flex-wrap: wrap; margin: 1rem 0 1.4rem; }
.filters a { text-decoration: none; border: 1px solid var(--line); padding: 0.4rem 0.7rem; color: var(--bone); font-size: 0.86rem; }
.filters a.is-on { border-color: var(--gold); color: var(--gold); }
.product-grid, .cat-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0.8rem; }
.card, .cat-card { text-decoration: none; display: grid; gap: 0.55rem; }
.card-media, .cat-card {
  background: var(--cream);
  aspect-ratio: 1;
  position: relative;
  overflow: hidden;
}
.card-media img, .cat-card img { width: 100%; height: 100%; object-fit: contain; }
.cat-card { align-content: end; }
.cat-card span {
  position: absolute;
  left: 0.6rem;
  right: 0.6rem;
  bottom: 0.6rem;
  background: color-mix(in srgb, var(--paper) 90%, transparent);
  padding: 0.35rem 0.45rem;
  font-family: var(--font-display);
}
.card-kicker, .fine, .result-count { color: var(--muted); font-size: 0.86rem; }
.card .price, .product-info .price { margin-top: 0.2rem; color: var(--gold); }
.card-media, .cat-card, .gallery img, .thumb, .bag-line img, .bag-placeholder { background: var(--bone); }
.verse { background: var(--bone); color: var(--black); border-block: 0; }
.verse blockquote { margin: 0; padding: 2.6rem 0; }
.verse p { font-family: var(--font-scripture); font-style: italic; font-weight: 500; font-size: clamp(2rem, 4.4vw, 3.4rem); line-height: 1.15; color: var(--black); letter-spacing: 0; }
.verse footer { margin-top: 0.8rem; letter-spacing: 0.12em; text-transform: uppercase; font-size: 0.78rem; color: var(--deep-gold); font-family: var(--font-sans); font-style: normal; }
.lines { display: flex; flex-wrap: wrap; gap: 0.55rem 1.2rem; list-style: none; padding: 0; margin: 0.4rem 0 0; }
.lines li { font-family: var(--font-display); font-weight: 800; letter-spacing: -0.03em; }
.notes { display: grid; gap: 1.2rem; }
.notes article { border-top: 1px solid var(--line); padding-top: 0.9rem; }
.notes p { margin-top: 0.4rem; color: var(--ink-soft); }

.product-grid.product { display: block; }
.product-grid { }
.product .product-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1.4rem; }
.gallery, .product-info { min-width: 0; }
.product-info .btn { margin-top: 1rem; }
.gallery img { width: 100%; aspect-ratio: 1; object-fit: contain; background: var(--cream); }
.thumbs { display: flex; gap: 0.4rem; margin-top: 0.5rem; overflow: auto; }
.thumb { border: 1px solid transparent; background: var(--cream); padding: 0; width: 4.2rem; cursor: pointer; }
.thumb img { aspect-ratio: 1; object-fit: contain; }
.choices { border: 0; margin: 1rem 0 0; padding: 0; }
.choices legend { margin-bottom: 0.45rem; }
.swatches, .sizes { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.swatch, .size {
  border: 1px solid var(--line);
  background: var(--white);
  min-height: 2.6rem;
  padding: 0.35rem 0.6rem;
  cursor: pointer;
  display: inline-flex;
  gap: 0.4rem;
  align-items: center;
}
.swatch.is-on, .size.is-on { border-color: var(--gold); }
.swatch-dot { width: 0.9rem; height: 0.9rem; border-radius: 50%; border: 1px solid var(--line); }
.size:disabled { opacity: 0.35; cursor: not-allowed; }
.chosen { margin-top: 0.8rem; }
.prose { margin-top: 1.4rem; }
.prose p, .prose li { margin: 0.7rem 0; }
.prose h2 { margin-top: 1.4rem; }
.guide { margin-top: 1rem; }
.guide table { width: 100%; border-collapse: collapse; margin-top: 0.6rem; }
.guide th, .guide td { text-align: left; border-bottom: 1px solid var(--line); padding: 0.4rem 0; }
.related { margin-top: 2.5rem; }
.related h2 { margin-bottom: 1rem; }
.crumb { margin: 0.4rem 0 0.8rem; }
.crumb a { color: var(--gold); }

.stack-form { display: grid; gap: 0.45rem; margin-top: 1rem; }
.stack-form input, .stack-form textarea { width: 100%; }
.banner { padding: 0.8rem 0.9rem; background: var(--cream); border: 1px solid var(--line); margin: 0.8rem 0; }
.banner-good { border-color: var(--good); }
.form-error { color: var(--danger); }
.bag-line { display: grid; grid-template-columns: 4.5rem 1fr auto; gap: 0.7rem; padding: 0.8rem 0; border-bottom: 1px solid var(--line); }
.bag-line img, .bag-placeholder { width: 4.5rem; height: 4.5rem; object-fit: contain; background: var(--cream); }
.qty { display: flex; align-items: center; gap: 0.45rem; margin-top: 0.35rem; }
.qty button { min-width: 2rem; min-height: 2rem; border: 1px solid var(--line); background: var(--white); cursor: pointer; }
.text-btn { background: none; border: 0; padding: 0; cursor: pointer; color: var(--muted); text-decoration: underline; }
.bag-total { display: flex; justify-content: space-between; gap: 1rem; margin: 0.8rem 0; }
.order-list { list-style: none; padding: 0; }
.order-list li { display: flex; justify-content: space-between; gap: 1rem; border-bottom: 1px solid var(--line); padding: 0.55rem 0; }
.faq { border-top: 1px solid var(--line); padding: 0.7rem 0; }
.faq summary { cursor: pointer; font-weight: 500; }
.empty-copy { color: var(--ink-soft); margin: 0.8rem 0; }

.footer { border-top: 1px solid var(--line); padding: 2rem 0 1.2rem; background: var(--black); }
.footer-grid { display: grid; gap: 1.4rem; }
.footer h2 { font-family: var(--font-sans); font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 0.5rem; }
.footer a { display: block; padding: 0.2rem 0; color: var(--ink-soft); }
.footer-note { margin-top: 0.7rem; max-width: 22rem; color: var(--ink-soft); }
.footer-base { display: flex; justify-content: space-between; gap: 1rem; margin-top: 1.6rem; color: var(--muted); font-size: 0.88rem; }

.drawer { display: none; position: fixed; inset: 0; background: rgba(28, 23, 18, 0.45); z-index: 30; justify-content: end; }
.drawer.is-open { display: flex; }
.drawer[hidden] { display: none !important; }
.drawer-panel { width: min(26rem, 100%); background: var(--paper); height: 100%; overflow: auto; padding: 1rem 1rem 2rem; }
.drawer-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 0.5rem; }

@media (min-width: 800px) {
  .hero-grid { grid-template-columns: 1.1fr 0.9fr; align-items: end; padding: 4rem 0; }
  .product-grid { grid-template-columns: repeat(4, 1fr); }
  .cat-grid { grid-template-columns: repeat(4, 1fr); }
  .product .product-grid { grid-template-columns: 1.05fr 0.95fr; align-items: start; }
  .notes { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; }
  .search-form input { width: 11rem; }
  .brand-img { height: 1.55rem; max-width: 280px; }
}
@media (max-width: 720px) {
  .nav > a { display: none; }
  .header-bar { gap: 0.6rem; }
  .header-tools .search-form { display: none; }
  .search-link { display: inline; }
  .shop-panel { right: 0; left: auto; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
