@font-face {
  font-family: "Fraunces ED";
  src: url("/shop/fonts/Fraunces-Medium.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Fraunces ED";
  src: url("/shop/fonts/Fraunces-SemiBold.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Fraunces ED";
  src: url("/shop/fonts/Fraunces-Bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Plex ED";
  src: url("/shop/fonts/IBMPlexSans-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Plex ED";
  src: url("/shop/fonts/IBMPlexSans-Medium.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Plex ED";
  src: url("/shop/fonts/IBMPlexSans-SemiBold.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Plex ED";
  src: url("/shop/fonts/IBMPlexSans-Bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Plex Serif ED";
  src: url("/shop/fonts/IBMPlexSerif-Italic.woff2") format("woff2");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

:root {
  --ink: #1c1915;
  --ink-soft: #3f3a34;
  --paper: #fbf7f0;
  --cream: #f3ede3;
  --rule: #c9bdaa;
  --sage: #2c4a44;
  --sage-pale: #e7eeeb;
  --terra: #8c4a32;
  --gold: #b0894f;
  --white: #fffdf8;
  --max: 72rem;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Plex ED", "IBM Plex Sans", system-ui, sans-serif;
  font-size: 1.05rem;
  line-height: 1.55;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--sage); text-underline-offset: 0.15em; }
a:hover { color: var(--terra); }
h1, h2, h3 {
  font-family: "Fraunces ED", "Fraunces", Georgia, serif;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin: 0 0 0.6em;
}
h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); font-weight: 700; }
h2 { font-size: clamp(1.5rem, 3vw, 2rem); }
h3 { font-size: 1.25rem; }

.wrap { width: min(var(--max), calc(100% - 2.4rem)); margin-inline: auto; }
.kicker {
  font-family: "Plex ED", sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--sage);
  margin: 0 0 0.7rem;
}
.lede {
  font-family: "Plex Serif ED", Georgia, serif;
  font-style: italic;
  font-size: 1.2rem;
  color: var(--ink-soft);
  max-width: 38rem;
}
.muted { color: var(--ink-soft); }
.small { font-size: 0.9rem; }
.rate-note { font-size: 0.85rem; color: var(--ink-soft); max-width: 46rem; }

header.site {
  border-bottom: 1px solid var(--rule);
  background: var(--paper);
}
header.site .bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.95rem 0;
  flex-wrap: wrap;
}
.logo {
  font-family: "Plex ED", sans-serif;
  font-weight: 600;
  font-size: 0.82rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink);
  text-decoration: none;
}
.logo:hover { color: var(--sage); }
nav.site { display: flex; gap: 1.15rem; flex-wrap: wrap; }
nav.site a {
  color: var(--ink-soft);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 500;
}
nav.site a:hover, nav.site a[aria-current="page"] { color: var(--sage); text-decoration: underline; }

.hero {
  padding: 3.2rem 0 2.6rem;
  border-bottom: 1px solid var(--rule);
}
.hero .lede { margin-bottom: 1.4rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.7rem; align-items: center; }

.btn {
  display: inline-block;
  background: var(--sage);
  color: var(--white);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.98rem;
  padding: 0.7rem 1.15rem;
  border-radius: 2px;
  border: 1px solid var(--sage);
}
.btn:hover { background: var(--ink); border-color: var(--ink); color: var(--white); }
.btn-ghost {
  background: transparent;
  color: var(--sage);
}
.btn-ghost:hover { background: var(--sage-pale); color: var(--sage); }
.price {
  font-family: "Fraunces ED", Georgia, serif;
  font-weight: 600;
  font-size: 1.35rem;
  color: var(--ink);
}
.price span { font-family: "Plex ED", sans-serif; font-size: 0.95rem; font-weight: 500; color: var(--ink-soft); }

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(16.5rem, 1fr));
  gap: 1.5rem;
}
.card {
  background: var(--white);
  border: 1px solid var(--rule);
  border-radius: 3px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.card a.thumb { display: block; background: var(--cream); }
.card img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; object-position: top; }
.card .body { padding: 1rem 1.05rem 1.15rem; display: flex; flex-direction: column; gap: 0.45rem; flex: 1; }
.card h2, .card h3 { font-size: 1.2rem; margin: 0; }
.card h2 a, .card h3 a { color: var(--ink); text-decoration: none; }
.card h2 a:hover, .card h3 a:hover { color: var(--sage); }
.card .body .btn { margin-top: auto; align-self: flex-start; }

section.band { padding: 2.6rem 0; }
section.band + section.band { border-top: 1px solid var(--rule); }
.bundle {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2rem;
  align-items: center;
  background: var(--sage);
  color: var(--white);
  padding: 2rem 1.8rem;
  border-radius: 3px;
}
.bundle h2, .bundle a { color: var(--white); }
.bundle .btn { background: var(--white); color: var(--sage); border-color: var(--white); }
.bundle .btn:hover { background: var(--cream); color: var(--ink); }
.bundle .price { color: var(--white); }
.bundle .price span { color: #d7e4df; }
.bundle p { color: #e7eeeb; }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
.step {
  background: var(--cream);
  padding: 1.15rem 1.2rem;
  border-radius: 3px;
}
.step .n {
  font-family: "Fraunces ED", Georgia, serif;
  color: var(--sage);
  font-size: 1.3rem;
  display: block;
  margin-bottom: 0.3rem;
}

.ad-slot {
  margin: 1.6rem auto;
  max-width: 728px;
  min-height: 90px;
  background: repeating-linear-gradient(-45deg, var(--cream), var(--cream) 8px, #efe8dc 8px, #efe8dc 16px);
  border: 1px dashed var(--rule);
  color: var(--ink-soft);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0.6rem;
}
.ad-slot--inline { min-height: 60px; max-width: 100%; }

.gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.8rem;
}
.gallery .lead { grid-column: 1 / -1; }
.gallery img {
  width: 100%;
  border: 1px solid var(--rule);
  background: var(--white);
}
.product-layout {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 2.2rem;
  align-items: start;
  padding: 2.4rem 0 3rem;
}
.buy-box {
  background: var(--white);
  border: 1px solid var(--rule);
  padding: 1.3rem 1.35rem;
  border-radius: 3px;
  position: sticky;
  top: 1rem;
}
.buy-box ul { margin: 0.4rem 0 1rem; padding-left: 1.15rem; }
.buy-box li { margin: 0.25rem 0; }
.includes { margin: 0; padding-left: 1.15rem; }

table.prices {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
}
table.prices th, table.prices td {
  text-align: left;
  padding: 0.7rem 0.8rem;
  border-bottom: 1px solid var(--rule);
  vertical-align: top;
}
table.prices th { font-size: 0.8rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--sage); font-weight: 600; }
table.prices td.num { white-space: nowrap; font-weight: 550; }

footer.site {
  border-top: 1px solid var(--rule);
  padding: 2rem 0 2.6rem;
  font-size: 0.92rem;
  color: var(--ink-soft);
}
footer.site nav { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 0.8rem; }
footer.site a { color: var(--ink-soft); }

.notice {
  background: var(--sage-pale);
  border-left: 3px solid var(--sage);
  padding: 0.9rem 1rem;
  margin: 1rem 0;
}

@media (max-width: 800px) {
  .product-layout, .bundle, .steps, .gallery { grid-template-columns: 1fr; }
  .buy-box { position: static; }
  .ad-slot { min-height: 50px; }
}

@media print {
  header.site, footer.site, .ad-slot, .hero-actions, .no-print { display: none !important; }
  body { background: white; }
}
