@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,400;0,9..144,500;0,9..144,600;0,9..144,700;1,9..144,500;1,9..144,600&family=IBM+Plex+Sans:wght@400;500;600;700&family=IBM+Plex+Mono:wght@400;500;600;700&display=swap');

:root {
  /* Crate & docket palette — grounded in trading/shipping + boutique gifting */
  --ink: #1b1b16;
  --crate: #223d2e;
  --crate-deep: #16281d;
  --crate-mid: #2d4f3b;
  --brass: #c0902e;
  --brass-light: #dcae55;
  --brass-text: #85570f; /* AA-safe brass for small text on kraft/paper (~4.9:1) */
  --stamp: #a5341f;
  --kraft: #ede4d0;
  --kraft-deep: #e2d5b8;
  --paper: #fbf8f1;
  --line: #d9cdae;
  --muted: #5f5c4d;
  --white: #ffffff;
  --radius: 3px;
  --radius-lg: 6px;
  --shadow-sm: 0 2px 10px rgba(27, 27, 22, 0.08);
  --shadow-md: 0 14px 34px rgba(27, 27, 22, 0.16);
  --max-width: 1160px;
  font-size: 16px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}

body {
  font-family: 'IBM Plex Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--ink);
  background: var(--kraft);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  background-image:
    radial-gradient(circle at 12% 8%, rgba(27,27,22,0.025), transparent 40%),
    radial-gradient(circle at 88% 92%, rgba(27,27,22,0.025), transparent 40%);
}

h1, h2, h3, h4 {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 600;
  line-height: 1.15;
  color: var(--ink);
  letter-spacing: -0.01em;
}

a { color: inherit; text-decoration: none; }

img, svg { display: block; max-width: 100%; }

ul { list-style: none; }

:focus-visible {
  outline: 2.5px solid var(--stamp);
  outline-offset: 3px;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.mono {
  font-family: 'IBM Plex Mono', monospace;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brass-text);
  margin-bottom: 14px;
}
.eyebrow::before {
  content: "";
  width: 18px;
  height: 1px;
  background: var(--brass-text);
  display: inline-block;
}
.section--dark .eyebrow,
.hero .eyebrow { color: var(--brass-light); }
.section--dark .eyebrow::before,
.hero .eyebrow::before { background: var(--brass-light); }

.section { padding: 96px 0; }
.section--tight { padding: 64px 0; }
.section--alt { background: var(--paper); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section--dark { background: var(--crate-deep); color: var(--kraft); }

.section-head {
  max-width: 640px;
  margin: 0 auto 52px;
  text-align: center;
}
.section-head h2 { font-size: clamp(1.8rem, 3vw, 2.5rem); margin-bottom: 14px; }
.section-head p { color: var(--muted); font-size: 1.05rem; }
.section--dark .section-head p { color: rgba(237,228,208,0.72); }

/* Scroll reveal */
[data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s cubic-bezier(0.2, 0.7, 0.2, 1), transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1);
}
[data-reveal].is-visible { opacity: 1; transform: none; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.92rem;
  font-family: 'IBM Plex Sans', sans-serif;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.btn:hover { transform: translateY(-1px); }

.btn--brass { background: var(--brass); color: var(--crate-deep); }
.btn--brass:hover { background: var(--brass-light); box-shadow: var(--shadow-md); }

.btn--outline { border-color: rgba(237,228,208,0.45); color: var(--kraft); }
.btn--outline:hover { background: rgba(237,228,208,0.1); border-color: var(--kraft); }

.btn--outline-dark { border-color: var(--ink); color: var(--ink); }
.btn--outline-dark:hover { background: var(--ink); color: var(--kraft); }

/* Top bar */
.topbar {
  background: var(--crate-deep);
  color: rgba(237,228,208,0.85);
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.76rem;
  letter-spacing: 0.02em;
}
.topbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 9px;
  padding-bottom: 9px;
  flex-wrap: wrap;
  gap: 6px;
}
.topbar a { color: rgba(237,228,208,0.85); }
.topbar a:hover { color: var(--brass-light); }
.topbar .contact-links { display: flex; gap: 22px; flex-wrap: wrap; }
.topbar .contact-links span { display: inline-flex; align-items: center; gap: 6px; }
.topbar .reg-no { opacity: 0.65; }

/* Header / Nav */
.site-header {
  background: var(--kraft);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 50;
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-left: 25px;
  font-family: 'Fraunces', serif;
  font-weight: 600;
  font-size: 1.3rem;
  color: var(--ink);
}
.brand-logo { height: 44px; width: auto; display: block; }
.footer-brand .brand-logo { height: 38px; }
.brand-text small {
  display: block;
  font-family: 'IBM Plex Mono', monospace;
  font-weight: 500;
  font-size: 0.6rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brass);
  margin-top: 2px;
}

.nav-links { display: flex; gap: 8px; align-items: center; }
.nav-links a {
  font-family: 'IBM Plex Mono', monospace;
  font-weight: 500;
  font-size: 0.78rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--muted);
  position: relative;
  padding: 8px 14px;
}
.nav-links a:hover { color: var(--ink); }
.nav-links a.active { color: var(--stamp); }
.nav-links a.active::after {
  content: "";
  position: absolute;
  left: 14px; right: 14px; bottom: 3px;
  height: 1px;
  background: var(--stamp);
}

.nav-cta { margin-left: 10px; }

.nav-actions { display: flex; align-items: center; gap: 10px; }

/* Cart toggle */
.cart-toggle {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 9px 16px;
  border-radius: 999px;
  border: 1.5px solid var(--ink);
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  font-family: 'IBM Plex Mono', monospace;
  font-weight: 600;
  font-size: 0.82rem;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
}
.cart-toggle:hover { background: var(--ink); color: var(--kraft); transform: translateY(-1px); }
.cart-toggle.has-items { border-color: var(--brass); color: var(--brass-text); }
.cart-toggle.has-items:hover { background: var(--brass); color: var(--crate-deep); }
.cart-toggle__icon { flex-shrink: 0; }
.cart-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 18px;
  height: 18px;
  padding: 0 4px;
  border-radius: 999px;
  background: var(--stamp);
  color: var(--kraft);
  font-size: 0.68rem;
  font-weight: 700;
  margin-left: -4px;
}
.cart-toggle__total { letter-spacing: 0.02em; }
.cart-toggle--pulse { animation: cartPulse 0.4s ease; }
@keyframes cartPulse {
  0% { transform: scale(1); }
  35% { transform: scale(1.12); }
  100% { transform: scale(1); }
}

/* Cart toast */
.cart-toast-wrap {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 120;
  display: flex;
  flex-direction: column-reverse;
  gap: 10px;
  pointer-events: none;
}
.cart-toast {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 240px;
  max-width: 320px;
  padding: 12px 16px;
  background: var(--crate-deep);
  border: 1px solid var(--brass);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  opacity: 0;
  transform: translateY(12px);
  transition: transform 0.3s cubic-bezier(0.2, 0.7, 0.2, 1), opacity 0.3s ease;
}
.cart-toast.is-visible { opacity: 1; transform: translateY(0); }
.cart-toast__icon {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--brass);
  color: var(--crate-deep);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.72rem;
  font-weight: 700;
}
.cart-toast__body { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.cart-toast__title {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--brass-light);
}
.cart-toast__name {
  font-size: 0.85rem;
  color: var(--kraft);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
@media (max-width: 560px) {
  .cart-toast-wrap { left: 16px; right: 16px; bottom: 16px; }
  .cart-toast { min-width: 0; max-width: none; }
}

/* Cart drawer */
.cart-overlay {
  position: fixed;
  inset: 0;
  background: rgba(27, 27, 22, 0.5);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
  z-index: 90;
}
.cart-overlay.is-open { opacity: 1; pointer-events: auto; }

.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(420px, 100%);
  background: var(--kraft);
  box-shadow: var(--shadow-md);
  transform: translateX(100%);
  transition: transform 0.3s cubic-bezier(0.2, 0.7, 0.2, 1);
  z-index: 91;
  display: flex;
  flex-direction: column;
}
.cart-drawer.is-open { transform: translateX(0); }

.cart-drawer__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 24px;
  border-bottom: 1px solid var(--line);
}
.cart-drawer__head h3 { font-size: 1.1rem; }
.cart-drawer__close {
  background: none;
  border: none;
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
  color: var(--muted);
  padding: 4px 8px;
}
.cart-drawer__close:hover { color: var(--ink); }

.cart-drawer__body { flex: 1; overflow-y: auto; padding: 12px 24px; }
.cart-empty { color: var(--muted); font-size: 0.92rem; padding: 24px 0; }

.cart-line {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 14px;
  padding: 16px 0;
  border-bottom: 1px dashed var(--line);
}
.cart-line__thumb {
  width: 56px;
  height: 56px;
  flex-shrink: 0;
  object-fit: cover;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--paper);
}
.cart-line__thumb--empty {
  background: var(--paper);
  background-image: linear-gradient(135deg, var(--line) 0%, var(--line) 8%, transparent 8%, transparent 50%, var(--line) 50%, var(--line) 58%, transparent 58%, transparent 100%);
  background-size: 10px 10px;
}
.cart-line__main { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 10px; }
.cart-line__info { display: flex; flex-direction: column; gap: 3px; }
.cart-line__name { font-size: 0.92rem; font-weight: 500; }
.cart-line__sku { font-size: 0.72rem; color: var(--muted); }
.cart-line__controls { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.cart-line__price { font-size: 0.86rem; font-weight: 600; }
.cart-line__remove {
  background: none;
  border: none;
  font-size: 1.2rem;
  line-height: 1;
  color: var(--muted);
  cursor: pointer;
  padding: 2px 6px;
}
.cart-line__remove:hover { color: var(--stamp); }

.cart-drawer__foot {
  padding: 20px 24px 24px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.cart-drawer__subtotal {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  font-family: 'IBM Plex Mono', monospace;
}
.cart-drawer__subtotal span { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.05em; color: var(--muted); }
.cart-drawer__subtotal strong { font-size: 1.3rem; color: var(--ink); }
.cart-drawer__clear {
  background: none;
  border: none;
  font-size: 0.8rem;
  color: var(--muted);
  text-decoration: underline;
  text-underline-offset: 2px;
  cursor: pointer;
  align-self: center;
}
.cart-drawer__clear:hover { color: var(--stamp); }

body.cart-open { overflow: hidden; }

/* Quantity stepper */
.qty-stepper { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 999px; overflow: hidden; }
.qty-btn {
  background: var(--paper);
  border: none;
  width: 30px;
  height: 30px;
  font-size: 1rem;
  cursor: pointer;
  color: var(--ink);
  transition: background 0.15s ease;
}
.qty-btn:hover { background: var(--kraft-deep); }
.qty-input {
  width: 44px;
  text-align: center;
  border: none;
  border-left: 1px solid var(--line);
  border-right: 1px solid var(--line);
  height: 30px;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.85rem;
  background: var(--paper);
  color: var(--ink);
  -moz-appearance: textfield;
}
.qty-input::-webkit-outer-spin-button, .qty-input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.qty-stepper--sm .qty-btn { width: 26px; height: 26px; }
.qty-stepper--sm .qty-input { width: 38px; height: 26px; }

/* Size select — apparel sizing, shown only on products with a sizes[] entry */
.size-select {
  height: 32px;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--paper);
  color: var(--ink);
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.8rem;
  cursor: pointer;
}
.size-select:focus { outline: none; border-color: var(--stamp); }
.product-detail__buy .size-select { height: 46px; padding: 0 14px; font-size: 0.88rem; }

.btn--sm { padding: 9px 18px; font-size: 0.82rem; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.nav-toggle span { width: 24px; height: 2px; background: var(--ink); border-radius: 2px; }

/* Hero */
.hero {
  background: var(--crate-deep);
  color: var(--kraft);
  position: relative;
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 85% 15%, rgba(192,144,46,0.16), transparent 45%);
  pointer-events: none;
}
.hero .container {
  position: relative;
  padding-top: 88px;
  padding-bottom: 88px;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}
.hero h1 {
  font-size: clamp(2.2rem, 4vw, 3.3rem);
  color: var(--kraft);
  margin-bottom: 22px;
}
.hero p.lead {
  font-size: 1.1rem;
  color: rgba(237,228,208,0.78);
  max-width: 500px;
  margin-bottom: 34px;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* Dispatch docket — hero signature panel */
.docket {
  background: var(--paper);
  color: var(--ink);
  border-radius: var(--radius-lg);
  padding: 30px 30px 34px;
  position: relative;
  box-shadow: var(--shadow-md);
  transform: rotate(1.2deg);
}
.docket::before {
  content: "";
  position: absolute;
  inset: 8px;
  border: 1px dashed var(--line);
  border-radius: 2px;
  pointer-events: none;
}
.docket-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  border-bottom: 1.5px solid var(--ink);
  padding-bottom: 12px;
  margin-bottom: 18px;
}
.docket-head h3 {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 600;
}
.docket-head span {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.7rem;
  color: var(--muted);
}
.docket-field {
  display: grid;
  grid-template-columns: 108px 1fr;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px dotted var(--line);
  font-size: 0.9rem;
}
.docket-field:last-of-type { border-bottom: none; }
.docket-field dt {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.68rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  align-self: start;
  padding-top: 2px;
}
.docket-field dd { font-weight: 500; }
.docket-field dd.status { color: var(--crate); font-weight: 600; }

.seal {
  position: absolute;
  right: 20px;
  bottom: -22px;
  width: 108px;
  height: 108px;
  color: var(--stamp);
  transform: rotate(-11deg);
  opacity: 0.92;
  mix-blend-mode: multiply;
  animation: sealDrop 0.7s cubic-bezier(0.2, 0.8, 0.3, 1.3) 0.3s backwards;
}
@keyframes sealDrop {
  from { transform: rotate(-11deg) scale(2.1); opacity: 0; }
  to { transform: rotate(-11deg) scale(1); opacity: 0.92; }
}
.seal svg { width: 100%; height: 100%; }
.seal-text {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-family: 'IBM Plex Mono', monospace;
  text-transform: uppercase;
  line-height: 1.25;
}
.seal-text .l1 { font-size: 0.62rem; font-weight: 700; letter-spacing: 0.06em; }
.seal-text .l2 { font-size: 0.52rem; font-weight: 500; margin-top: 2px; }
.seal-text .l3 { font-size: 0.52rem; font-weight: 700; letter-spacing: 0.1em; margin-top: 2px; }

/* Feature strip */
.feature-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.feature-card { background: var(--kraft); padding: 34px 30px; }
.feature-card .icon {
  width: 42px; height: 42px;
  display: flex; align-items: center; justify-content: center;
  color: var(--brass);
  margin-bottom: 18px;
}
.feature-card h3 { font-size: 1.1rem; margin-bottom: 8px; }
.feature-card p { color: var(--muted); font-size: 0.93rem; }

/* Grid */
.grid { display: grid; gap: 26px; }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }

/* Tag-card — product categories rendered as gift tags */
.tag-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 22px 24px;
  position: relative;
  transition: transform 0.25s cubic-bezier(0.2,0.7,0.3,1), box-shadow 0.25s ease, border-color 0.25s ease;
}
.tag-card:hover { transform: rotate(-1deg) translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--brass); }
.tag-code {
  position: absolute;
  top: 16px;
  right: 18px;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.68rem;
  color: var(--muted);
  letter-spacing: 0.03em;
}
.tag-hole {
  position: absolute;
  top: 14px;
  left: 18px;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: var(--line);
  border: 2px solid var(--paper);
  box-shadow: 0 0 0 1px var(--line);
}
.tag-hole::before {
  content: "";
  position: absolute;
  top: -13px;
  left: -12px;
  width: 22px;
  height: 14px;
  border: 1.5px solid var(--line);
  border-bottom: none;
  border-radius: 12px 12px 0 0;
}
.tag-card h3 { font-size: 1.05rem; margin: 10px 0 8px; margin-top: 14px; }
.tag-card p { font-size: 0.9rem; color: var(--muted); }

/* Product catalog */
.product-category { margin-bottom: 56px; scroll-margin-top: 90px; }
.product-category:last-child { margin-bottom: 0; }
.product-category__head {
  display: flex;
  align-items: baseline;
  gap: 14px;
  margin-bottom: 24px;
  padding-bottom: 12px;
  border-bottom: 1.5px solid var(--ink);
}
.product-category__head .tag-code { color: var(--brass-text); font-weight: 700; }
.product-category__head h2 { font-size: 1.4rem; }

.product-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.25s cubic-bezier(0.2,0.7,0.3,1), box-shadow 0.25s ease, border-color 0.25s ease;
}
.product-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--brass); }
.product-card__media { display: block; position: relative; aspect-ratio: 1 / 1; background: var(--kraft); }
.product-card__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.product-card__media .tag-code {
  position: absolute;
  top: 10px;
  right: 10px;
  background: rgba(27,27,22,0.72);
  color: var(--kraft);
  padding: 4px 9px;
  border-radius: 4px;
  font-size: 0.64rem;
  letter-spacing: 0.02em;
}
.product-card__body { padding: 16px 22px 22px; display: flex; flex-direction: column; flex-grow: 1; }
.product-card h3 { font-size: 1rem; margin: 0 0 8px; display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.product-card h3:hover { color: var(--stamp); }
.product-card h3 small { font-size: 0.68rem; color: var(--muted); font-weight: 500; }
.product-card__body > p { font-size: 0.88rem; color: var(--muted); flex-grow: 1; margin-bottom: 20px; }

.product-card__footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 16px;
  border-top: 1px dashed var(--line);
}
.product-price {
  font-family: 'IBM Plex Mono', monospace;
  font-weight: 700;
  font-size: 1rem;
  color: var(--ink);
}
.product-price small { font-weight: 500; font-size: 0.72rem; color: var(--muted); margin-left: 3px; }

.product-card--link { text-decoration: none; }
.product-card--link:hover h3 { color: var(--stamp); }

/* Product detail page */
.breadcrumb { display: flex; align-items: center; gap: 8px; font-size: 0.78rem; color: var(--muted); flex-wrap: wrap; }
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--stamp); }
.breadcrumb span[aria-hidden] { color: var(--line); }

.product-detail {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 48px;
  align-items: start;
  margin-bottom: 56px;
}
.product-detail__media {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  position: relative;
  overflow: hidden;
  aspect-ratio: 1 / 1;
}
.product-detail__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.product-detail__media .tag-code {
  position: absolute;
  top: 14px;
  right: 14px;
  background: rgba(27,27,22,0.72);
  color: var(--kraft);
  padding: 5px 10px;
  border-radius: 4px;
  font-size: 0.7rem;
  letter-spacing: 0.02em;
}
.product-detail__media--placeholder {
  padding: 50px 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 340px;
  gap: 18px;
  aspect-ratio: auto;
}
.product-detail__icon { color: var(--brass); opacity: 0.85; }
.product-detail__media-label { font-size: 0.8rem; color: var(--muted); max-width: 240px; }

.product-detail__info h1 { font-size: clamp(1.5rem, 2.6vw, 2rem); margin: 10px 0 14px; }
.product-detail__short { color: var(--muted); font-size: 1rem; margin-bottom: 26px; }
.product-detail__buy {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  padding: 22px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  margin-bottom: 16px;
}
.product-detail__buy .product-price { font-size: 1.3rem; }

.product-detail__body { max-width: 780px; margin: 0 auto 64px; }
.product-detail__body h2 { font-size: 1.2rem; margin-bottom: 14px; padding-bottom: 10px; border-bottom: 1px solid var(--line); }
.product-detail__body > p#detail-description { font-size: 1rem; line-height: 1.8; color: var(--ink); margin-bottom: 40px; }
.product-detail__body .info-table { margin-bottom: 20px; table-layout: fixed; }
.product-detail__body .info-table th { width: 260px; }
.product-detail__body .info-table td { word-break: break-word; }

.product-detail__related { border-top: 1px solid var(--line); padding-top: 48px; }

/* Testimonial cards */
.testimonial-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 26px 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.testimonial-quote {
  font-family: 'Fraunces', Georgia, serif;
  font-style: italic;
  font-size: 1.05rem;
  line-height: 1.5;
  color: var(--ink);
}
.testimonial-quote::before { content: "\201C"; color: var(--brass); }
.testimonial-quote::after { content: "\201D"; color: var(--brass); }
.testimonial-attrib { display: flex; align-items: center; gap: 12px; margin-top: auto; }
.testimonial-mark {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--crate-deep);
  color: var(--brass-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.72rem;
  font-weight: 600;
  flex-shrink: 0;
}
.testimonial-attrib h4 { font-size: 0.88rem; margin: 0; }
.testimonial-attrib span { font-size: 0.78rem; color: var(--muted); }

/* Core values */
.value-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px 26px;
}
.value-card .icon {
  width: 42px; height: 42px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  background: var(--crate-deep);
  color: var(--brass-light);
  margin-bottom: 18px;
}
.value-card h3 { font-size: 1.05rem; margin-bottom: 8px; }
.value-card p { color: var(--muted); font-size: 0.92rem; }

/* Vision & Mission */
.vm-card {
  background: var(--crate-deep);
  color: var(--kraft);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  border: 1px solid var(--crate-mid);
}
.vm-card .eyebrow { color: var(--brass-light); }
.vm-card .eyebrow::before { background: var(--brass-light); }
.vm-card h3 { color: var(--kraft); font-size: 1.3rem; margin-bottom: 12px; }
.vm-card p { color: rgba(237,228,208,0.78); font-size: 0.98rem; }

/* Ledger — services rendered as manifest line items */
.ledger { border-top: 1px solid var(--line); }
.ledger-row {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 24px;
  padding: 28px 4px;
  border-bottom: 1px dashed var(--line);
  transition: background 0.2s ease;
}
.ledger-row:hover { background: rgba(192,144,46,0.06); }
.ledger-code {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.85rem;
  color: var(--brass-text);
  font-weight: 600;
  padding-top: 3px;
}
.ledger-body h3 { font-size: 1.15rem; margin-bottom: 6px; }
.ledger-body p { color: var(--muted); font-size: 0.95rem; max-width: 640px; }

/* CTA banner */
.cta-banner {
  background: var(--crate-deep);
  color: var(--kraft);
  border-radius: var(--radius-lg);
  padding: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
  position: relative;
  overflow: hidden;
  border: 1px solid var(--crate-mid);
}
.cta-banner::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 90% 10%, rgba(192,144,46,0.22), transparent 50%);
  pointer-events: none;
}
.cta-banner h2 { color: var(--kraft); font-size: 1.7rem; margin-bottom: 8px; position: relative; }
.cta-banner p { color: rgba(237,228,208,0.72); position: relative; }
.cta-banner .cta-actions { position: relative; display: flex; gap: 14px; flex-wrap: wrap; }

/* About page */
.about-hero {
  background: var(--paper);
  padding: 68px 0;
  border-bottom: 1px solid var(--line);
}
.info-table { width: 100%; border-collapse: collapse; margin-top: 8px; }
.info-table tr { border-bottom: 1px dotted var(--line); }
.info-table tr:last-child { border-bottom: none; }
.info-table th, .info-table td { text-align: left; padding: 16px 12px; font-size: 0.95rem; vertical-align: top; }
.info-table th {
  width: 200px;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.72rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
}

.tag-list { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: var(--paper);
  border: 1px solid var(--line);
  color: var(--ink);
  border-radius: 999px;
  padding: 7px 14px 7px 8px;
  font-size: 0.83rem;
  font-weight: 500;
}
.chip::before {
  content: attr(data-code);
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.62rem;
  font-weight: 700;
  color: var(--white);
  background: var(--crate);
  border-radius: 999px;
  padding: 2px 6px;
}

.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.two-col--stretch { align-items: stretch; }
.two-col--stretch > * { height: 100%; display: flex; flex-direction: column; }
.checklist li { display: flex; gap: 12px; padding: 11px 0; font-size: 0.96rem; color: var(--ink); }
.checklist li svg { color: var(--brass); flex-shrink: 0; margin-top: 3px; }

/* Contact page */
.contact-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 48px; }
.contact-card { display: flex; gap: 16px; padding: 20px 0; border-bottom: 1px dotted var(--line); }
.contact-card:last-child { border-bottom: none; }
.contact-card .icon {
  width: 42px; height: 42px;
  color: var(--brass);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.contact-card h4 { font-family: 'IBM Plex Mono', monospace; font-size: 0.78rem; letter-spacing: 0.04em; text-transform: uppercase; margin-bottom: 5px; color: var(--muted); }
.contact-card p, .contact-card a { color: var(--ink); font-size: 0.96rem; }

.form-panel {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 38px;
}
.form-row { margin-bottom: 22px; }
.form-row label {
  display: block;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.7rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--muted);
}
.form-row input, .form-row select, .form-row textarea {
  width: 100%;
  padding: 10px 2px;
  border: none;
  border-bottom: 1.5px solid var(--line);
  border-radius: 0;
  font-family: inherit;
  font-size: 0.97rem;
  background: transparent;
  color: var(--ink);
}
.form-row select { padding: 10px 2px; }
.form-row input:focus, .form-row select:focus, .form-row textarea:focus {
  outline: none;
  border-color: var(--stamp);
}
.form-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-note { font-size: 0.82rem; color: var(--muted); margin-top: 16px; }

/* Checkout */
.checkout-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 48px; align-items: start; }
.checkout-form-section { margin-bottom: 32px; }
.checkout-form-section:last-of-type { margin-bottom: 0; }
.checkout-form-section h3 { font-size: 1.05rem; margin-bottom: 18px; }
.form-divider { border: none; border-top: 1px dashed var(--line); margin: 32px 0; }

.payment-notice { display: flex; gap: 14px; align-items: flex-start; background: var(--kraft-deep); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; }
.payment-notice .icon { color: var(--brass-text); flex-shrink: 0; margin-top: 2px; }
.payment-notice p { font-size: 0.92rem; color: var(--ink); }
.payment-notice p + p { margin-top: 6px; color: var(--muted); font-size: 0.85rem; }

.terms-row { display: flex; gap: 10px; align-items: flex-start; margin: 28px 0 22px; }
.terms-row input[type="checkbox"] { margin-top: 3px; width: 16px; height: 16px; accent-color: var(--brass); flex-shrink: 0; }
.terms-row label { font-size: 0.88rem; color: var(--muted); }
.terms-row a { color: var(--stamp); text-decoration: underline; text-underline-offset: 2px; }

.order-summary-card { position: sticky; top: 96px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 30px; }
.order-summary-card h3 { font-size: 1.1rem; margin-bottom: 18px; }
.order-summary-lines { max-height: 400px; overflow-y: auto; }
.order-summary-totals { border-top: 1px solid var(--line); margin-top: 14px; padding-top: 16px; display: flex; flex-direction: column; gap: 8px; }
.order-summary-row { display: flex; justify-content: space-between; align-items: baseline; font-size: 0.92rem; color: var(--muted); }
.order-summary-row.total { font-size: 1.2rem; color: var(--ink); font-weight: 600; font-family: 'IBM Plex Mono', monospace; padding-top: 10px; border-top: 1px dashed var(--line); margin-top: 4px; }

.map-embed {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  margin-top: 24px;
  height: 260px;
  filter: grayscale(0.35) contrast(1.05);
}
.map-embed iframe { width: 100%; height: 100%; border: 0; }

/* Footer */
.site-footer { background: var(--crate-deep); color: rgba(237,228,208,0.75); padding: 64px 0 24px; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.85fr 0.85fr 0.85fr 1.15fr;
  gap: 32px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(237,228,208,0.14);
}
.footer-grid h4 {
  color: var(--kraft);
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.footer-grid ul li { margin-bottom: 10px; font-size: 0.9rem; }
.footer-grid ul li a:hover { color: var(--brass-light); }
.footer-brand p { font-size: 0.88rem; margin-top: 14px; max-width: 320px; color: rgba(237,228,208,0.55); }
.footer-bottom {
  padding-top: 22px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.72rem;
  color: rgba(237,228,208,0.45);
}

/* Legal / policy documents */
.legal-doc { max-width: 720px; margin: 0 auto; }
.legal-meta {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.8rem;
  color: var(--muted);
  padding-bottom: 24px;
  margin-bottom: 8px;
  border-bottom: 1px dashed var(--line);
}
.legal-toc {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 24px;
  margin: 28px 0 8px;
}
.legal-toc h2 {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 12px;
  font-weight: 600;
}
.legal-toc ol {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px 24px;
  padding-left: 20px;
}
.legal-toc a { font-size: 0.9rem; color: var(--ink); }
.legal-toc a:hover { color: var(--stamp); }

.legal-doc section { margin-top: 44px; }
.legal-doc h2 {
  display: flex;
  align-items: baseline;
  gap: 12px;
  font-size: 1.25rem;
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
}
.legal-doc h2 .clause-no {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--brass-text);
  flex-shrink: 0;
}
.legal-doc h3 { font-size: 1.02rem; margin: 20px 0 8px; }
.legal-doc p { font-size: 0.98rem; color: var(--ink); line-height: 1.8; margin-bottom: 14px; }
.legal-doc p.muted-note { color: var(--muted); font-size: 0.88rem; }
.legal-doc ul, .legal-doc ol.plain { padding-left: 22px; margin-bottom: 14px; }
.legal-doc li { font-size: 0.98rem; color: var(--ink); line-height: 1.75; margin-bottom: 8px; }
.legal-doc strong { font-weight: 600; }
.legal-doc a.inline-link { color: var(--stamp); text-decoration: underline; text-underline-offset: 2px; }

/* Responsive */
@media (max-width: 900px) {
  .hero .container { grid-template-columns: 1fr; }
  .docket { order: -1; transform: rotate(0.6deg); }
  .feature-strip { grid-template-columns: 1fr; }
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
  .two-col { grid-template-columns: 1fr; gap: 32px; }
  .contact-grid { grid-template-columns: 1fr; }
  .checkout-grid { grid-template-columns: 1fr; }
  .order-summary-card { position: static; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--kraft);
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: flex-start;
    padding: 20px 24px;
    gap: 4px;
    display: none;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 12px 0; }
  .nav-cta { margin-left: 0; margin-top: 8px; }
  .nav-actions { gap: 6px; }
  .cart-toggle { padding: 9px 11px; gap: 0; }
  .cart-toggle__total { display: none; }
  .cart-count { margin-left: 0; }
  .nav-toggle { display: flex; padding: 10px; }
  .grid--4, .grid--3, .grid--2 { grid-template-columns: 1fr; }
  .cta-banner { padding: 36px 24px; flex-direction: column; align-items: flex-start; }
  .footer-grid { grid-template-columns: 1fr; }
  .form-grid-2 { grid-template-columns: 1fr; }
  .topbar .container { justify-content: center; text-align: center; gap: 2px; padding-top: 8px; padding-bottom: 8px; }
  .topbar .contact-links { gap: 2px; justify-content: center; width: 100%; }
  .topbar .reg-no { font-size: 0.7rem; }
  .ledger-row { grid-template-columns: 1fr; gap: 8px; }
  .seal { width: 84px; height: 84px; right: 12px; bottom: -16px; }
  .legal-toc ol { grid-template-columns: 1fr; }
  .legal-doc h2 { flex-direction: column; gap: 2px; }
  .cart-drawer { width: 100%; }
  .product-card__footer .btn { width: 100%; }
  .product-detail { grid-template-columns: 1fr; }
  .product-detail__buy .btn { width: 100%; }

  /* Prevent iOS Safari from auto-zooming on focus (triggers under 16px) */
  .form-row input, .form-row select, .form-row textarea, .qty-input { font-size: 16px; }

  /* Roomier touch targets in the cart drawer */
  .cart-line__controls { flex-wrap: wrap; row-gap: 10px; }
  .qty-stepper--sm .qty-btn { width: 30px; height: 30px; }
  .qty-stepper--sm .qty-input { width: 40px; height: 30px; }
  .cart-line__remove { padding: 8px 10px; }
  .cart-drawer__close { padding: 8px 10px; }
}

@media (max-width: 560px) {
  .info-table, .info-table tbody, .info-table tr, .info-table th, .info-table td {
    display: block;
    width: auto !important;
  }
  .info-table tr { padding: 12px 0; }
  .info-table th { padding: 0 0 6px; }
  .info-table td { padding: 0; }
  .docket-field { grid-template-columns: 1fr; gap: 4px; }
  .docket-field dt { padding-top: 0; }
}
