:root {
  --ink: #1b1914;
  --paper: #e8dfc8;
  --pine: #1f3d32;
  --pine-deep: #152c25;
  --copper: #b85a2a;
  --slip: #c4a574;
  --fog: #d4cfc4;
  --white: #f6f0e4;
  --display: "Big Shoulders Display", "Arial Narrow", sans-serif;
  --serif: "Literata", Georgia, serif;
  --wrap: 1180px;
  --rule: 1px solid #1f3d32;
}

*,
*::before,
*::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { margin: 0; padding: 0; }
body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--serif);
  font-size: 17px;
  line-height: 1.55;
  font-optical-sizing: auto;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3 { font-family: var(--display); font-weight: 800; letter-spacing: -0.03em; line-height: 0.92; margin: 0 0 0.6em; }
h1 { font-size: clamp(2.6rem, 7vw, 5.2rem); }
h2 { font-size: clamp(1.8rem, 4vw, 3rem); }
p { margin: 0 0 1em; }

.skip-link {
  position: absolute; left: 1rem; top: -40px; background: var(--pine); color: var(--paper); padding: .5rem 1rem; z-index: 100;
}
.skip-link:focus { top: 1rem; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.wrap { width: min(var(--wrap), calc(100% - 2.4rem)); margin-inline: auto; }

.banner {
  margin: 0;
  background: var(--pine-deep);
  color: var(--paper);
  text-align: center;
  font-size: 0.82rem;
  padding: 0.45rem 1rem;
  letter-spacing: 0.01em;
}

.site-header {
  background: var(--pine);
  color: var(--paper);
  position: sticky;
  top: 0;
  z-index: 40;
}
.site-header__inner {
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  align-items: center;
  gap: 1.2rem;
  min-height: 68px;
}
.logo {
  font-family: var(--display);
  font-weight: 800;
  font-size: 1.85rem;
  letter-spacing: 0.02em;
  line-height: 1;
}
.logo--foot { font-size: 2.4rem; color: var(--paper); }
.primary-nav ul { display: flex; gap: 1.4rem; }
.primary-nav a { font-size: 0.95rem; }
.primary-nav a:hover { color: var(--slip); }
.header-tools { display: flex; align-items: center; gap: 0.2rem; }
.icon-btn {
  background: none; border: 0; color: inherit; width: 40px; height: 40px;
  display: inline-flex; align-items: center; justify-content: center; cursor: pointer; position: relative;
}
.burger { display: none; }
.cart-count {
  position: absolute; top: 4px; right: 2px; background: var(--copper); color: var(--white);
  font-family: var(--display); font-size: 11px; min-width: 16px; height: 16px; border-radius: 0;
  display: inline-flex; align-items: center; justify-content: center; padding: 0 3px;
}
.cart-count[data-count="0"] { display: none; }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 0.85rem 1.4rem; border: var(--rule); background: transparent;
  font-family: var(--display); font-weight: 700; font-size: 1.05rem; letter-spacing: 0.02em;
  cursor: pointer; text-align: center;
}
.btn--fill { background: var(--pine); color: var(--paper); border-color: var(--pine); }
.btn--copper { background: var(--copper); color: var(--white); border-color: var(--copper); }
.btn--ghost { margin-top: 0.5rem; }
.btn--ghost-light { border-color: var(--paper); color: var(--paper); }
.text-link { font-style: italic; border-bottom: 1px solid var(--copper); padding-bottom: 1px; }

.hero {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  min-height: calc(100vh - 110px);
  background: var(--pine);
  color: var(--paper);
}
.hero__media { margin: 0; overflow: hidden; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; min-height: 420px; }
.hero__panel {
  padding: 3.5rem 3rem 3.2rem;
  display: flex; flex-direction: column; justify-content: flex-end; gap: 1rem;
}
.hero__mark {
  font-family: var(--display); font-weight: 700; font-size: 1rem; margin: 0;
  color: var(--slip);
}
.hero__panel h1 { max-width: 9ch; }
.hero__panel p { max-width: 38ch; color: var(--fog); font-size: 1.05rem; }
.hero__panel .btn { align-self: flex-start; margin-top: 0.6rem; }

.band {
  display: grid; grid-template-columns: repeat(3, 1fr);
  border-bottom: var(--rule); padding: 1.6rem 0;
  gap: 1.2rem;
}
.band__item strong { display: block; font-family: var(--display); font-size: 1.3rem; font-weight: 700; }
.band__item span { font-size: 0.95rem; }

.split {
  display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center;
  padding: 4rem 0;
}
.split__copy p { max-width: 42ch; }

.section-head {
  display: flex; justify-content: space-between; align-items: baseline;
  padding: 2rem 0 1.2rem; border-top: var(--rule);
}

.product-grid,
ul.products {
  display: grid !important;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.4rem 1rem;
  list-style: none;
  padding: 0 0 3rem;
  margin: 0;
}
.product-card figure,
.product-card img { width: 100%; aspect-ratio: 1; object-fit: cover; background: var(--fog); }
.product-card h2,
.woocommerce-loop-product__title {
  font-family: var(--serif); font-weight: 400; font-style: italic; font-size: 1.05rem;
  letter-spacing: 0; line-height: 1.3; margin: 0.7rem 0 0.2rem;
}
.product-card .price,
.price { font-family: var(--display); font-weight: 700; font-size: 1.15rem; }
.woocommerce-Price-amount { font-family: var(--display); }

.cats {
  display: grid; grid-template-columns: repeat(4, 1fr);
  border-top: var(--rule);
}
.cat-tile { position: relative; color: var(--white); min-height: 280px; overflow: hidden; }
.cat-tile img { width: 100%; height: 100%; object-fit: cover; min-height: 280px; filter: brightness(0.72); }
.cat-tile span {
  position: absolute; left: 1rem; bottom: 1rem;
  font-family: var(--display); font-size: 1.8rem; font-weight: 800;
}

.workshop-band {
  display: grid; grid-template-columns: 1.4fr 1fr;
  background: var(--pine); color: var(--paper);
}
.workshop-band figure { margin: 0; }
.workshop-band img { width: 100%; height: 100%; object-fit: cover; min-height: 360px; }
.workshop-band > div { padding: 3.2rem 3rem; display: flex; flex-direction: column; justify-content: center; }
.workshop-band p { max-width: 40ch; color: var(--fog); }

.site-footer {
  background: var(--pine-deep); color: var(--paper); padding: 3.2rem 0 1.4rem; margin-top: 0;
}
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 2rem; }
.footer-brand p { max-width: 32ch; color: var(--fog); }
.footer-label { font-family: var(--display); font-weight: 700; font-size: 1.1rem; margin: 0 0 0.8rem; }
.site-footer a { color: var(--fog); }
.site-footer a:hover { color: var(--paper); }
.site-footer ul { display: flex; flex-direction: column; gap: 0.35rem; }
.footer-base {
  display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
  margin-top: 2.4rem; padding-top: 1rem; border-top: 1px solid rgba(246,240,228,.18);
  font-size: 0.85rem; color: var(--fog);
}

.page-shell { padding: 2.4rem 0 4rem; }
.page-head { margin-bottom: 1.6rem; max-width: 40rem; }
.page-head time { color: #5c574c; }
.prose { max-width: 42rem; }
.prose h2 { margin-top: 1.6em; }
.prose a { border-bottom: 1px solid var(--copper); }
.prose ul, .prose ol { margin: 0 0 1em 1.2em; list-style: disc; }
.section-nav {
  display: flex; flex-wrap: wrap; gap: 0.6rem 1.2rem;
  margin-bottom: 1.6rem; padding-bottom: 1rem; border-bottom: var(--rule);
}
.section-nav a { font-family: var(--display); font-weight: 700; }
.section-nav a.is-on { border-bottom: 2px solid var(--copper); }
.child-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; margin-top: 2rem; }
.child-cards a {
  display: block; padding: 1.2rem; border: var(--rule); background: var(--white);
}
.child-cards strong { display: block; font-family: var(--display); font-size: 1.4rem; margin-bottom: 0.3rem; }

.journal-list li { border-bottom: var(--rule); }
.journal-list a { display: grid; gap: 0.3rem; padding: 1.4rem 0; }
.journal-list time { font-size: 0.85rem; color: #5c574c; }
.journal-list strong { font-family: var(--display); font-size: 1.8rem; }

.shop-layout { display: grid; grid-template-columns: 200px 1fr; gap: 2.4rem; padding: 2rem 0 4rem; }
.shop-aside a { display: block; padding: 0.25rem 0; }
.shop-aside ul ul { padding-left: 0.8rem; font-size: 0.95rem; }
.shop-shell { padding: 2rem 0 4rem; }

.pdp-wrap { padding: 2rem 0 4rem; }
.pdp { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 2.4rem; }
.pdp-gallery .woocommerce-product-gallery { width: 100% !important; }
.pdp-summary .price { font-size: 1.8rem; display: block; margin: 0.4rem 0 1rem; }
.pdp-facts { display: grid; gap: 0.5rem; margin: 1.4rem 0; border-top: var(--rule); padding-top: 1rem; }
.pdp-facts > div { display: grid; grid-template-columns: 7rem 1fr; gap: 0.6rem; }
.pdp-facts dt { color: #5c574c; }
.single_add_to_cart_button,
.checkout-button,
.woocommerce-button,
#place_order,
button[name="woocommerce_checkout_place_order"] {
  background: var(--copper) !important; color: var(--white) !important; border: 0 !important;
  font-family: var(--display) !important; font-weight: 700 !important; padding: 0.9rem 1.4rem !important;
  border-radius: 0 !important;
}
.woocommerce-product-gallery__trigger { display: none !important; }
.woocommerce-product-gallery { opacity: 1 !important; }
.woocommerce-ordering { margin: 0 0 1.2rem; }
.woocommerce-ordering select { max-width: 16rem; }
.quantity input { width: 4rem; padding: 0.6rem; border: var(--rule); background: var(--white); }
.pdp-below { padding-top: 2rem; }
.related.products ul.products { grid-template-columns: repeat(4, 1fr); }

.woocommerce-cart-form table,
.woocommerce-checkout-review-order-table,
.shop_table {
  width: 100%; border-collapse: collapse;
}
.shop_table th, .shop_table td { border-bottom: var(--rule); padding: 0.9rem 0.4rem; text-align: left; }
.cart_totals { max-width: 24rem; margin-left: auto; }
.woocommerce-form-coupon, .woocommerce-checkout .form-row input,
.woocommerce-checkout .form-row select, .woocommerce-form-login input,
.woocommerce-Input, .woocommerce-Input--text, input[type=text], input[type=email],
input[type=password], input[type=tel], textarea, select {
  width: 100%; padding: 0.7rem 0.75rem; border: var(--rule); background: var(--white); border-radius: 0;
}
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; }
.contact-form { display: grid; gap: 0.9rem; }
.contact-form label { display: grid; gap: 0.3rem; font-family: var(--display); font-weight: 700; }
.notice { padding: 0.8rem 1rem; background: var(--white); border: var(--rule); }
.notice--err { border-color: var(--copper); }
.faq details { border-bottom: var(--rule); padding: 0.9rem 0; }
.faq summary { cursor: pointer; font-family: var(--display); font-weight: 700; font-size: 1.2rem; }

.overlay {
  position: fixed; inset: 0; background: rgba(21, 44, 37, 0.45); z-index: 50;
}
.drawer {
  position: fixed; top: 0; bottom: 0; width: min(360px, 92vw); background: var(--white);
  color: var(--ink); z-index: 60; padding: 1rem 1.2rem 2rem; overflow: auto;
  transform: translateX(-100%); transition: transform .2s ease;
}
.drawer--cart { right: 0; left: auto; transform: translateX(100%); }
.drawer.is-open { transform: translateX(0); }
.drawer__head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1rem; }
.mobile-nav { display: flex; flex-direction: column; gap: 0.8rem; font-family: var(--display); font-size: 1.6rem; font-weight: 700; }
.mini-cart__list li { display: grid; grid-template-columns: 64px 1fr; gap: 0.7rem; margin-bottom: 0.8rem; }
.mini-cart__list img { width: 64px; height: 64px; object-fit: cover; }
.mini-cart__empty { color: #5c574c; }
.mini-cart .btn { width: 100%; margin-top: 0.4rem; }
.search-panel {
  position: fixed; top: 0; left: 0; right: 0; background: var(--pine); color: var(--paper);
  z-index: 70; padding: 1.2rem 0; transform: translateY(-110%); transition: transform .2s ease;
}
.search-panel.is-open { transform: translateY(0); }
.search-panel form { display: grid; grid-template-columns: 1fr auto auto; gap: 0.6rem; align-items: center; }
.search-panel input { background: var(--pine-deep); color: var(--paper); border: 1px solid var(--slip); }

.empty-state { padding: 5rem 0; text-align: left; max-width: 28rem; }

.woocommerce-message, .woocommerce-info, .woocommerce-error {
  border: var(--rule); background: var(--white); padding: 0.8rem 1rem; list-style: none;
}
.woocommerce-error { border-color: var(--copper); }

@media (max-width: 900px) {
  .hero, .split, .workshop-band, .shop-layout, .pdp, .contact-grid, .footer-grid, .cats, .band {
    grid-template-columns: 1fr;
  }
  .product-grid, ul.products, .related.products ul.products { grid-template-columns: repeat(2, 1fr); }
  .primary-nav { display: none; }
  .burger { display: inline-flex; }
  .site-header__inner { grid-template-columns: auto 1fr auto; }
  .logo { justify-self: center; }
  .hero__panel { padding: 2rem 1.4rem 2.2rem; }
  .workshop-band > div { padding: 2rem 1.4rem 2.4rem; }
  .child-cards { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; scroll-behavior: auto !important; }
}

:focus-visible { outline: 2px solid var(--copper); outline-offset: 3px; }
