:root {
  --bg: #f6f1e8;
  --field: #efe4d4;
  --ink: #1c140e;
  --muted: #6d5c4e;
  --accent: #8c3b24;
  --on: #fff8f2;
  --serif: "Cormorant Garamond", Palatino, "Palatino Linotype", serif;
  --font: "IBM Plex Sans", "Segoe UI", sans-serif;
}
* { box-sizing: border-box; }
html { background: var(--bg); }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--font); font-size: 1.12rem; line-height: 1.55; }
img { max-width: 100%; display: block; }
a { color: var(--accent); }
h1, h2, h3 { font-family: var(--serif); font-weight: 500; letter-spacing: -0.03em; line-height: 0.95; margin: 0 0 0.35em; }
h1 { font-size: clamp(3rem, 8vw, 5.8rem); }
h2 { font-size: clamp(1.8rem, 4vw, 2.8rem); }
p { margin: 0 0 0.8em; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.skip { position: absolute; left: 1rem; top: -4rem; background: var(--accent); color: var(--on); padding: 0.45rem 0.7rem; z-index: 40; }
.skip:focus { top: 1rem; }

.mast { display: flex; flex-wrap: wrap; align-items: center; gap: 0.8rem 1.1rem; padding: 0.9rem 1.1rem; }
.mark { color: var(--ink); text-decoration: none; font-size: 1.35rem; }
.mast .go { margin-left: auto; color: var(--on); background: var(--accent); text-decoration: none; padding: 0.4rem 0.65rem; }
.mast details { width: 100%; }
.mast summary { cursor: pointer; }
.mast nav { display: flex; flex-direction: column; gap: 0.3rem; padding: 0.6rem 0 0.2rem; }
.mast nav a { color: var(--ink); text-decoration: none; }
.mast nav a[aria-current="page"] { color: var(--accent); }
.note { margin: 0; padding: 0.45rem 1.1rem 0.8rem; color: var(--muted); }
.note a { color: var(--accent); }

.col, main > header, .page-col { width: min(40rem, calc(100% - 2rem)); margin-left: auto; margin-right: auto; }
.col { padding-bottom: 1rem; }
.lede { font-size: 1.3rem; }
.actions { display: flex; flex-wrap: wrap; gap: 0.8rem 1rem; align-items: center; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 2.8rem; padding: 0.4rem 0.85rem; background: var(--accent); color: var(--on); text-decoration: none; border: none; cursor: pointer; }
.btn-line { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 2px var(--accent); }
.btn-block { width: 100%; }
.bleed { width: 100vw; margin-left: calc(50% - 50vw); margin-bottom: 1.5rem; }
.bleed img { width: 100%; max-height: 86vh; object-fit: cover; }
.facts { list-style: none; padding: 0; margin: 0 0 1.5rem; }
.facts li { padding: 0.7rem 0; }
.facts strong { font-size: 1.8rem; font-weight: 500; display: block; }
.promise { font-size: clamp(1.7rem, 3vw, 2.3rem); line-height: 1.25; }
.piece { padding: 1.5rem 0 0.4rem; }
.piece h2 { font-size: clamp(2rem, 5vw, 3.2rem); }
.essay-product { padding: 1rem 0 2rem; }
.essay-product h3 { font-size: 2rem; margin: 0; }
.essay-product h3 a { color: var(--ink); text-decoration: none; }
.price { font-size: 1.3rem; }
.add { background: none; border: none; color: var(--accent); cursor: pointer; padding: 0; font: inherit; }
.voices { padding-bottom: 1rem; }
.voices blockquote { margin: 0 0 0.4rem; font-size: 1.3rem; }
.fine { color: var(--muted); }
details.faq { padding: 0.6rem 0; }
summary { cursor: pointer; font-size: 1.2rem; }
.notice { background: var(--field); padding: 1.2rem; margin: 1rem 0 2rem; }

.page-col { width: min(42rem, calc(100% - 2rem)); margin: 0 auto; padding: 1.2rem 0 3rem; }
.crumbs a { color: var(--muted); }
.prose { max-width: 64ch; }
.toc ol { padding-left: 1.1rem; }
.data-list div { padding: 0.45rem 0; }
.data-list dt { color: var(--muted); }
.milestones div { padding: 0.8rem 0; }
.gloss article { padding: 0.9rem 0; }
.product-col { width: min(42rem, calc(100% - 2rem)); margin: 0 auto; }
.product-col .bleed { margin-top: 0.5rem; }
.price-row .price { font-size: 2rem; }
.perks { padding-left: 1.1rem; }
.dossier-row { padding: 0.6rem 0 0.2rem; }
.spec { width: 100%; }
.spec th { text-align: left; color: var(--muted); font-weight: 500; padding: 0.35rem 0.6rem 0.35rem 0; vertical-align: top; }
.contact-block { padding-bottom: 1rem; }
.panel { background: var(--field); padding: 1rem; margin-bottom: 1rem; }
.form { display: grid; gap: 0.75rem; }
.field, .check { display: flex; flex-direction: column; gap: 0.25rem; }
input, select, textarea { background: var(--field); color: var(--ink); border: none; padding: 0.75rem; width: 100%; }
textarea { min-height: 8rem; }
.field-error, #send-error { color: #f0b4a8; }
.cart-line { display: grid; grid-template-columns: 84px 1fr; gap: 0.7rem; padding: 0.7rem 0; }
.cart-line img { width: 84px; height: 84px; object-fit: cover; }
.line-total { margin: 0; }
.summary { background: var(--field); padding: 1rem; margin-top: 0.6rem; }
.sum-row, .sum-lines li { display: flex; justify-content: space-between; gap: 0.8rem; }
.sum-lines { list-style: none; padding: 0; }
.qty button, .remove { background: var(--accent); color: var(--on); border: none; padding: 0.2rem 0.45rem; cursor: pointer; }
.modal { position: fixed; inset: 0; background: rgba(0,0,0,0.7); display: grid; place-items: center; z-index: 30; padding: 1rem; }
.modal[hidden] { display: none; }
.modal-box { background: var(--field); color: var(--ink); padding: 1.3rem; max-width: 30rem; }
.cookie-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 25; background: var(--accent); color: var(--on); padding: 0.85rem 1rem; display: flex; flex-wrap: wrap; gap: 0.7rem; justify-content: space-between; align-items: center; }
.cookie-bar a { color: var(--on); }
.cookie-bar[hidden] { display: none; }
.cookie-actions { display: flex; gap: 0.4rem; }
.cookie-bar .btn { background: var(--on); color: var(--accent); }
.cookie-bar .btn-line { color: var(--on); box-shadow: inset 0 0 0 2px var(--on); }
.foot { padding: 2rem 0 1.2rem; }
.foot-name { font-size: clamp(3.2rem, 12vw, 6.5rem); line-height: 0.86; letter-spacing: -0.045em; margin: 0 0 0.8rem; }
.foot a { color: var(--ink); }
.foot-links { display: flex; flex-direction: column; gap: 0.25rem; }
.foot-links a { text-decoration: none; }
.base { display: flex; flex-direction: column; gap: 0.3rem; color: var(--muted); margin-top: 1rem; }
.html-checkout { margin: 0.4rem 0 1rem; }

body { font-size: 1.02rem; background: var(--bg); color: var(--ink); }
.mast { position: sticky; top: 0; z-index: 6; display: flex; flex-wrap: wrap; align-items: center; gap: 0.45rem 1rem; padding: 0.7rem 1rem; background: #1c140e; color: var(--on); }
.mast a, .mark, .mast nav a { color: var(--on); text-decoration: none; }
.mark { font-family: var(--serif); font-size: 1.7rem; }
.mast .nav { display: flex; flex-direction: row; flex-wrap: wrap; gap: 0.25rem 0.85rem; flex: 1 0 100%; order: 2; }
.nav a[aria-current="page"] { color: #e7b49a; }
.mast .go { margin-left: 0; background: var(--accent); color: var(--on); padding: 0.45rem 0.7rem; }
.tools { display: flex; gap: 0.8rem; align-items: center; margin-left: auto; }
.note { color: var(--muted); }
.col, main > header, .page-col { width: min(76rem, calc(100% - 2rem)); }
.shop { width: min(76rem, calc(100% - 2rem)); margin: 0 auto; padding: 1rem 0 0.5rem; }
.shop > section > h2, .shop > section > p { max-width: 40rem; }
.essay-product { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); column-gap: 1.4rem; align-items: center; padding: 0.9rem; margin: 0 0 0.7rem; background: #fffaf3; }
.essay-product h3 { font-size: clamp(2rem, 3vw, 3.1rem); margin: 0; }
.essay-product figure, .essay-product .bleed { grid-column: 2; grid-row: 1 / span 8; width: auto; margin: 0; }
.essay-product img { width: 100%; height: 100%; aspect-ratio: 5/4; object-fit: cover; max-height: none; }
.col .essay, .piece, .voices, .promise { max-width: 40rem; }
main > .bleed { width: 100%; margin: 0; }
main > .bleed img { width: 100%; max-height: 42vh; object-fit: cover; }
.product-col { width: min(76rem, calc(100% - 2rem)); margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; column-gap: 2rem; align-items: start; }
.product-col > .bleed { grid-column: 1; grid-row: 1 / span 8; width: auto; margin: 0; }
.product-col > .bleed img { width: 100%; max-height: none; aspect-ratio: 1; object-fit: cover; }
.product-col > :not(.bleed):not(.dossier):not(section) { grid-column: 2; }
.product-col > .dossier, .product-col > section { grid-column: 1 / -1; }
.product-col > section { display: grid; grid-template-columns: 1fr; }
.facts { display: grid; grid-template-columns: 1fr 1fr; gap: 0.4rem 1rem; }
.facts li { display: block; padding: 0.4rem 0; }
.foot .col { width: min(76rem, calc(100% - 2rem)); }
.foot-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 1.5rem; }
.foot-links { flex-direction: row; flex-wrap: wrap; gap: 0.35rem 0.9rem; }
.foot-name { font-family: var(--serif); font-size: clamp(3rem, 8vw, 5.5rem); }
input, select, textarea { background: #fff; color: var(--ink); }
.page-col .form, .contact-block .form { max-width: 36rem; }
h1 { font-size: clamp(2.6rem, 5vw, 4.4rem); }
@media (max-width: 800px) {
  .essay-product, .product-col { grid-template-columns: 1fr; }
  .essay-product figure, .essay-product .bleed, .product-col > .bleed, .product-col > :not(.bleed):not(.dossier):not(section) { grid-column: auto; grid-row: auto; }
  .foot-grid, .facts { grid-template-columns: 1fr; }
}
