/* ============================================================
   Amery Meat Market — Shared CSS
   Heritage Craft visual system; single source for all pages.
   ============================================================ */

/* --- CSS Custom Properties --------------------------------- */
:root {
  --cream: #f9f6f1;
  --parchment: #f0ebe2;
  --brick: #a63d2a;
  --brick-dark: #8c2f1e;
  --bark: #3d2b1f;
  --bark-light: #5c4436;
  --warm-gray: #6b5e56;   /* 5.3:1 on parchment, 5.8:1 on cream */
  --bone: #e5ddd2;
  --border: #ddd5c8;

  --font-serif: 'Playfair Display', Georgia, serif;
  --font-sans: 'DM Sans', system-ui, sans-serif;

  --max-w: 1280px;
  --nav-h: 72px;

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);

  --radius: 2px;
  --shadow-sm: 0 1px 2px rgba(61,43,31,0.06), 0 1px 1px rgba(61,43,31,0.04);
  --shadow-md: 0 10px 30px -12px rgba(61,43,31,0.22), 0 2px 6px rgba(61,43,31,0.06);
  --gutter: clamp(1.5rem, 5vw, 4rem);
}

/* --- Reset & Base ----------------------------------------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--parchment); }
::-webkit-scrollbar-thumb { background: var(--bark); border-radius: 4px; }
::selection { background: var(--brick); color: #fff; }
* { -webkit-tap-highlight-color: transparent; }

body {
  font-family: var(--font-sans);
  background: var(--cream);
  color: var(--bark);
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}

h1, h2, h3 { text-wrap: balance; }
p { text-wrap: pretty; }

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

img { display: block; max-width: 100%; }
a { color: inherit; }
ul { list-style: none; }

/* --- Skip Link -------------------------------------------- */
.skip-link {
  position: absolute; top: -100px; left: 1rem;
  background: var(--bark); color: var(--cream);
  padding: 0.75rem 1.25rem; font-size: 0.875rem;
  font-weight: 500; text-decoration: none; border-radius: 2px;
  z-index: 200; transition: top 0.2s;
}
.skip-link:focus { top: 1rem; outline: 2px solid var(--brick); outline-offset: 2px; }

/* --- Reveal / Scroll animation ----------------------------- */
/* Hidden only when JS is running (html.js); js/shared.js adds .is-visible.
   Stagger with style="--d: 120ms" on the element. */
.js .reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
  transition-delay: var(--d, 0ms);
}
.js .reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* --- Navigation ------------------------------------------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: var(--cream);
  border-bottom: 1px solid var(--border);
  padding: 0 var(--gutter);
  transition: box-shadow 0.25s ease, background-color 0.25s ease;
}
.nav.is-scrolled {
  background: rgba(249,246,241,0.94);
  -webkit-backdrop-filter: saturate(1.4) blur(10px);
  backdrop-filter: saturate(1.4) blur(10px);
  box-shadow: 0 6px 24px -14px rgba(61,43,31,0.35);
}
.nav-inner {
  max-width: var(--max-w); margin: 0 auto;
  height: var(--nav-h);
  display: flex; align-items: center; justify-content: space-between;
}
.nav-logo {
  display: inline-flex; align-items: center; gap: 0.75rem;
  color: var(--bark); text-decoration: none;
}
.nav-logo img { display: block; height: 52px; width: auto; }

.nav-links {
  display: flex; gap: 2rem; list-style: none;
  align-items: center;
}
.nav-links li {
  display: inline-flex;
  align-items: center;
}
.nav-links .nav-cta-mobile { display: none; }
.nav-links a {
  color: var(--warm-gray); text-decoration: none;
  font-size: 0.875rem; font-weight: 400; transition: color 0.2s;
}
.nav-links a:hover { color: var(--bark); }
.nav-links a[aria-current="page"] { color: var(--bark); font-weight: 500; }
@media (min-width: 901px) {
  .nav-links li:not(.nav-cta-mobile) > a { position: relative; padding: 0.35rem 0; }
  .nav-links li:not(.nav-cta-mobile) > a::after {
    content: ''; position: absolute; left: 0; right: 0; bottom: -2px; height: 1px;
    background: var(--brick); transform: scaleX(0); transform-origin: left;
    transition: transform 0.3s var(--ease-out);
  }
  .nav-links li:not(.nav-cta-mobile) > a:hover::after,
  .nav-links a[aria-current="page"]::after { transform: scaleX(1); }
}

.nav-cta {
  background: var(--brick); color: #fff;
  padding: 0.65rem 1.4rem; font-size: 0.875rem;
  font-weight: 500; text-decoration: none; border-radius: var(--radius);
  letter-spacing: 0.01em;
  transition: background 0.2s, box-shadow 0.2s, transform 0.2s;
  white-space: nowrap;
}
.nav-cta:hover { background: var(--brick-dark); box-shadow: 0 6px 16px -6px rgba(166,61,42,0.55); transform: translateY(-1px); }

/* SVG icon alignment in persistent desktop CTA */
.nav-cta .phone-icon { vertical-align: -2px; margin-right: 4px; }

/* Hamburger toggle */
.nav-toggle {
  display: none; background: transparent; border: 0;
  padding: 0.625rem; cursor: pointer; color: var(--bark);
  min-width: 44px; min-height: 44px;
}
.nav-toggle svg { width: 24px; height: 24px; display: block; }
.nav-toggle svg line {
  transition: transform 0.25s ease, opacity 0.2s ease;
  transform-origin: center;
}
.nav-toggle:focus-visible {
  outline: 2px solid var(--brick); outline-offset: 2px; border-radius: 2px;
}

/* --- Footer ----------------------------------------------- */
.footer {
  background: var(--parchment);
  padding: clamp(3rem, 6vw, 4.5rem) var(--gutter) 2rem;
  border-top: 1px solid var(--border);
}
.footer-inner {
  max-width: var(--max-w); margin: 0 auto;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 0.8fr;
  gap: 2rem 3rem;
  align-items: start;
}
.footer-brand { display: flex; flex-direction: column; gap: 0.75rem; max-width: 360px; }
.footer-brand img { display: block; height: 64px; width: auto; }
.footer-logo-text {
  font-family: var(--font-serif); font-size: 1rem; font-weight: 600;
  color: var(--bark); margin-top: 0.25rem;
}
.footer-logo { font-family: var(--font-serif); font-size: 1rem; font-weight: 600; color: var(--bark); }
.footer-tagline { font-size: 0.85rem; color: var(--warm-gray); line-height: 1.55; max-width: 36ch; }
.footer-addr { font-size: 0.85rem; color: var(--warm-gray); line-height: 1.6; }
.footer-addr a { color: var(--bark); text-decoration: none; transition: color 0.2s; }
.footer-addr a:hover { color: var(--brick); }
.footer-contact {
  font-size: 0.85rem; color: var(--warm-gray); line-height: 1.7;
  display: flex; flex-direction: column; gap: 0.4rem;
}
.footer-contact a { color: var(--bark); text-decoration: none; transition: color 0.2s; }
.footer-contact a:hover { color: var(--brick); }
.footer-contact strong { color: var(--bark); font-weight: 500; }

.footer-hours dl { display: grid; gap: 0.4rem; font-size: 0.85rem; }
.footer-hours dl div { display: flex; justify-content: space-between; gap: 1rem; max-width: 220px; }
.footer-hours dt { color: var(--warm-gray); }
.footer-hours dd { color: var(--bark); font-weight: 500; }
.footer-contact p + p { margin-top: 0; }

.footer-heading {
  font-family: var(--font-sans);
  font-size: 0.7rem; font-weight: 600;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--brick);
  margin-bottom: 0.75rem;
}
.footer-nav { display: flex; flex-direction: column; gap: 0.55rem; align-items: flex-start; }
.footer-nav a {
  color: var(--warm-gray); text-decoration: none;
  font-size: 0.875rem; transition: color 0.2s;
}
.footer-nav a:hover { color: var(--bark); }

.footer-bottom {
  max-width: var(--max-w); margin: 2.5rem auto 0;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 0.75rem;
}
.footer-copy { font-size: 0.78rem; color: var(--warm-gray); }
.footer-copy a { color: var(--bark); text-underline-offset: 3px; }
.footer-copy a:hover { color: var(--brick); }

/* --- Mobile drawer (nav) ---------------------------------- */
@media (max-width: 900px) {
  .nav-links {
    display: none;
    flex-direction: column; gap: 0;
    position: absolute; top: var(--nav-h); left: 0; right: 0;
    background: var(--cream);
    border-bottom: 1px solid var(--border);
    box-shadow: 0 8px 24px rgba(61,43,31,0.08);
  }
  .nav-links.is-open { display: flex; }
  .nav-links li { width: 100%; }
  .nav-links li:not(.nav-cta-mobile) > a {
    display: block; padding: 0.75rem var(--gutter);
    font-size: 1rem; color: var(--bark);
  }
  .nav-links li:not(.nav-cta-mobile) > a:hover { background: var(--parchment); }
  .nav-links { padding: 0.5rem 0; }
  .nav-links.is-open .nav-cta-mobile { display: block; border-top: 1px solid var(--border); margin-top: 0.5rem; text-align: center; padding: 0.25rem 0 0.5rem; }
  .nav-cta-link {
    display: inline-flex; align-items: center; gap: 6px;
    background: var(--brick); color: #fff !important;
    padding: 0.5rem 1rem; font-size: 0.8125rem;
    font-weight: 600; text-decoration: none; border-radius: 999px;
    box-shadow: 0 2px 8px rgba(166,61,42,0.28), inset 0 1px 0 rgba(255,255,255,0.15);
    transition: background 0.2s, transform 0.15s, box-shadow 0.15s;
  }
  .nav-cta-mobile a:hover { background: var(--brick-dark); transform: translateY(-1px); box-shadow: 0 4px 14px rgba(166,61,42,0.35), inset 0 1px 0 rgba(255,255,255,0.18); }
  .nav-cta-mobile a:active { transform: translateY(2px); box-shadow: 0 1px 3px rgba(166,61,42,0.2), inset 0 1px 0 rgba(255,255,255,0.15); }
  .nav-cta-mobile a svg { width: 14px; height: 14px; flex-shrink: 0; }
  .nav-cta-mobile a:focus-visible { outline: 2px solid var(--brick); outline-offset: 3px; }

  .nav-toggle { display: inline-flex; align-items: center; justify-content: center; }
  .nav-cta { display: none; }

  /* Without JS, show the nav inline instead of behind the hamburger. */
  .no-js .nav-links { display: flex; position: static; box-shadow: none; }
  .no-js .nav-toggle { display: none; }

  .footer-inner { grid-template-columns: 1fr 1fr; gap: 2.5rem 2rem; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-bottom { justify-content: flex-start; }
}

/* --- Utility --------------------------------------------- */
.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* --- Buttons ------------------------------------------- */
.btn-primary,
.btn-secondary {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  min-height: 48px; padding: 0.8rem 1.75rem;
  font-family: var(--font-sans); font-size: 0.9rem; font-weight: 500; letter-spacing: 0.01em;
  text-decoration: none; border-radius: var(--radius); cursor: pointer;
  border: 1px solid transparent;
  transition: background 0.2s, color 0.2s, border-color 0.2s, box-shadow 0.25s, transform 0.2s var(--ease-out);
}
.btn-primary { background: var(--brick); border-color: var(--brick); color: #fff; }
.btn-primary:hover {
  background: var(--brick-dark); border-color: var(--brick-dark);
  transform: translateY(-2px); box-shadow: 0 10px 22px -10px rgba(166,61,42,0.6);
}
.btn-primary:active, .btn-secondary:active { transform: translateY(0); box-shadow: none; }
.btn-sm { min-height: 40px; padding: 0.5rem 1.1rem; font-size: 0.82rem; }
.btn-secondary { background: transparent; border-color: var(--bark); color: var(--bark); }
.btn-secondary:hover { background: var(--bark); color: var(--cream); transform: translateY(-2px); }
.btn-ghost,
.about-cta,
.proc-link,
.products-cta {
  display: inline-flex; align-items: center; gap: 0.5rem;
  color: var(--brick); font-size: 0.875rem; font-weight: 500;
  text-decoration: none; border-bottom: 1px solid var(--brick);
  padding-bottom: 2px; transition: opacity 0.2s;
}
.btn-ghost:hover,
.about-cta:hover,
.proc-link:hover,
.products-cta:hover { opacity: 0.7; }
.btn-group { display: flex; gap: 1rem; flex-wrap: wrap; }

/* --- Shared design tokens (unified across all 12 pages) -- */
/* These class aliases let page CSS files (and existing HTML) keep
   their original class names while sharing one set of styles.
   Each group is a single visual concept that was reinvented under
   5+ different class names across page CSS files. */

/* Tiny uppercase brick "eyebrow" kicker above section titles.
   Identical pattern previously implemented as: .page-eyebrow (shared),
   .about-label (index), .pd-label (shared), .proc-label (index),
   .svc-label (services), .category-label (retail), .story-label (about). */
.eyebrow,
.page-eyebrow,
.about-label,
.proc-label,
.svc-label,
.category-label,
.story-label {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--brick);
  margin-bottom: 0.75rem;
}

/* Serif h3/title in bark color, used for card names and section sub-titles.
   Was reinvented as: .card-title (shared), .proc-name, .product-name,
   .brat-title, .svc-detail-title, .value-title, .pack-card-title,
   .cater-card-title. */
.card-title,
.proc-name,
.product-name,
.brat-title,
.svc-detail-title,
.value-title,
.pack-card-title,
.cater-card-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--bark);
  margin-bottom: 0.5rem;
  line-height: 1.25;
}

/* Brick-dot bulleted list — was reinvented under 5+ class names.
   .dot-list (shared) is the canonical; aliased to the rest. */
.dot-list,
.svc-detail-list,
.brat-list,
.special-list,
.pack-list {
  display: grid;
  gap: 0.6rem;
}
.dot-list li,
.svc-detail-list li,
.brat-list li,
.special-list li,
.pack-list li {
  position: relative;
  padding-left: 1.1rem;
  font-size: 0.925rem;
  color: var(--bark-light);
  line-height: 1.5;
}
.dot-list li::before,
.svc-detail-list li::before,
.brat-list li::before,
.special-list li::before,
.pack-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.6em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--brick);
}

/* White card with brick hover lift — was reinvented 4+ times.
   .card is the shared name; aliased so existing class names still work. */
.card,
.proc-card,
.cater-card,
.review-source-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: border-color 0.2s, box-shadow 0.25s, transform 0.25s var(--ease-out);
}
.card:hover,
.proc-card:hover,
.cater-card:hover,
.review-source-card:hover {
  border-color: var(--brick);
  box-shadow: var(--shadow-md);
}

/* --- Page hero (inner pages) ------------------------- */
.page-hero,
.page-header {
  background:
    radial-gradient(120% 90% at 100% 0%, rgba(166,61,42,0.06), transparent 55%),
    var(--parchment);
  padding: calc(var(--nav-h) + clamp(3rem, 7vw, 5.5rem)) var(--gutter) clamp(3rem, 7vw, 5rem);
  border-bottom: 1px solid var(--border);
}
.page-hero-inner,
.page-header-inner { max-width: var(--max-w); margin: 0 auto; }
.page-eyebrow {
  display: flex; align-items: center; gap: 0.75rem;
  font-size: 0.72rem; font-weight: 500; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--brick); margin-bottom: 1rem;
}
.page-eyebrow::before { content: ''; width: 28px; height: 1px; background: currentColor; }
.page-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(2.4rem, 5vw, 3.6rem); font-weight: 700;
  color: var(--bark); line-height: 1.05; letter-spacing: -0.025em;
  margin-bottom: 1.25rem;
  overflow-wrap: break-word;
}
.page-lead {
  font-size: 1.075rem; color: var(--bark-light); line-height: 1.7;
  max-width: 58ch;
}

/* --- Section wrapper ----------------------------------- */
.section { padding: clamp(4rem, 8vw, 6rem) clamp(1.5rem, 5vw, 4rem); }
.section-inner { max-width: var(--max-w); margin: 0 auto; }
.section-header { margin-bottom: 3rem; }
.section-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(1.6rem, 2.5vw, 2.2rem); font-weight: 700;
  color: var(--bark); letter-spacing: -0.015em; line-height: 1.15;
  margin-bottom: 0.75rem;
}
.section-sub { font-size: 0.95rem; color: var(--warm-gray); line-height: 1.7; font-weight: 400; }

/* --- Cards -------------------------------------------- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}
.card {
  border: 1px solid var(--border); background: #fff;
  border-radius: 2px; overflow: hidden;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.card:hover { border-color: var(--brick); box-shadow: var(--shadow-md); }
.card-img { height: 200px; background-size: cover; background-position: center; }
.card-body { padding: 1.5rem; }
.card-label { font-size: 0.68rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--brick); margin-bottom: 0.5rem; }
.card-title { font-family: 'Playfair Display', Georgia, serif; font-size: 1.1rem; font-weight: 600; color: var(--bark); margin-bottom: 0.5rem; }
.card-text { font-size: 0.85rem; color: var(--warm-gray); line-height: 1.6; font-weight: 400; }

/* --- CTA banner (dark band with call button) ---------- */
.cta-banner {
  background:
    radial-gradient(80% 140% at 100% 50%, rgba(166,61,42,0.28), transparent 60%),
    var(--bark);
  color: #fff; padding: clamp(3rem, 7vw, 4.5rem) var(--gutter);
}
.cta-inner { max-width: var(--max-w); margin: 0 auto; display: grid; grid-template-columns: 1fr auto; gap: 2rem; align-items: center; }
.cta-headline { font-family: var(--font-serif); font-size: clamp(1.5rem, 2.5vw, 2.1rem); font-weight: 700; color: #fff; margin-bottom: 0.5rem; letter-spacing: -0.01em; }
.cta-body { font-size: 0.95rem; color: rgba(255,255,255,0.75); }
.cta-phone {
  display: inline-flex; align-items: center; gap: 0.75rem;
  background: var(--brick); color: #fff; padding: 0.9rem 2rem; min-height: 52px;
  font-size: 1rem; font-weight: 500; text-decoration: none; border-radius: var(--radius);
  transition: background 0.2s, transform 0.2s var(--ease-out), box-shadow 0.25s; white-space: nowrap;
}
.cta-phone:hover { background: var(--brick-dark); transform: translateY(-2px); box-shadow: 0 12px 26px -12px rgba(0,0,0,0.6); }
.cta-phone svg { width: 20px; height: 20px; flex-shrink: 0; }
@media (max-width: 900px) {
  .cta-inner { grid-template-columns: 1fr; }
  .cta-phone { justify-content: center; }
}

/* --- Feature photo (real shop photos, 602px source) ---- */
.feature-photo {
  margin: 2.5rem 0 0; max-width: 602px;
  border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow-md);
}
.feature-photo img { width: 100%; height: auto; aspect-ratio: 602 / 372; object-fit: cover; }

/* --- Location map (shared — used by index + contact) ---- */
.location-map {
  border: 1px solid rgba(229, 224, 213, 0.6);
  border-radius: 8px;
  overflow: hidden;
  min-height: 460px;
  background: var(--bg-alt, var(--bone));
  box-shadow: var(--shadow-md);
  transition: box-shadow 0.5s var(--ease-out-expo, var(--ease-out));
}
.location-map:hover { box-shadow: var(--shadow-lg, var(--shadow-md)); }
.location-map iframe {
  width: 100%; height: 100%; min-height: 460px;
  display: block; border: 0;
}
@media (max-width: 768px) {
  .location-map { min-height: 360px; }
  .location-map iframe { min-height: 360px; }
}
.location-noscript {
  padding: 1.25rem 1.5rem;
  margin: 0;
  background: var(--cream, #faf3ed);
  color: var(--bark, #2a1d12);
  font-size: 0.95rem;
  line-height: 1.5;
  border-top: 1px solid rgba(229, 224, 213, 0.6);
}
.location-noscript a { color: var(--brick-dark, #8c2f1e); text-decoration: underline; }
.location-noscript a:hover { color: var(--brick, #a63d2a); }

/* --- Punch card (shared — index + retail-products) ------ */
.punch-headline {
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 3vw, 2.5rem); font-weight: 700;
  color: #fff; line-height: 1.15; margin-bottom: 1rem;
}
.punch-body { font-size: 0.95rem; color: rgba(255,255,255,0.85); line-height: 1.7; }
.punch-inner {
  max-width: var(--max-w); margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr;
  gap: clamp(3rem, 6vw, 5rem); align-items: center;
}
@media (max-width: 900px) {
  .punch-inner { grid-template-columns: 1fr; }
}

/* --- Processing pages (hub + beef, pork, lamb & goat, wild game) --- */
.pd-section { padding: clamp(4rem, 8vw, 6rem) var(--gutter); }
.pd-section--alt { background: var(--parchment); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.pd-inner { max-width: var(--max-w); margin: 0 auto; }
.pd-split { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.pd-label { font-size: 0.72rem; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--brick); margin-bottom: 0.75rem; }
.pd-title { font-family: var(--font-serif); font-size: clamp(1.8rem, 3vw, 2.5rem); font-weight: 700; color: var(--bark); line-height: 1.12; letter-spacing: -0.015em; margin-bottom: 1rem; }
.pd-body { color: var(--bark-light); font-size: 1rem; line-height: 1.75; max-width: 62ch; }
.pd-body p + p { margin-top: 0.9rem; }
.pd-quote { font-family: var(--font-serif); font-style: italic; font-size: clamp(1.4rem, 2.4vw, 1.9rem); color: var(--brick); margin-bottom: 1rem; }
.pd-head { margin-bottom: 2.25rem; }

.price-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 1.25rem; }
.price-card {
  display: flex; flex-direction: column; gap: 0.35rem;
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 1.6rem 1.5rem; box-shadow: var(--shadow-sm);
  transition: border-color 0.2s, box-shadow 0.25s, transform 0.25s var(--ease-out);
}
a.price-card { text-decoration: none; color: inherit; }
a.price-card:hover { border-color: var(--brick); box-shadow: var(--shadow-md); transform: translateY(-3px); }
.price-card h3 { font-family: var(--font-serif); font-size: 1.2rem; color: var(--bark); }
.price-card .price { font-family: var(--font-serif); font-size: 2rem; font-weight: 700; color: var(--brick); line-height: 1.1; margin: 0.25rem 0; }
.price-card .price small { font-family: var(--font-sans); font-size: 0.8rem; font-weight: 500; color: var(--warm-gray); margin-left: 0.2rem; }
.price-card p { font-size: 0.875rem; color: var(--warm-gray); line-height: 1.55; }
.price-card .more { margin-top: auto; padding-top: 0.75rem; font-size: 0.85rem; font-weight: 500; color: var(--brick); }

.chart-figure { margin: 0; background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 1.25rem; box-shadow: var(--shadow-md); }
.chart-figure img { width: 100%; height: auto; }
.chart-figure figcaption { font-size: 0.78rem; color: var(--warm-gray); margin-top: 0.75rem; text-align: center; }

.download-card {
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap;
  background: var(--bark); color: #fff; border-radius: var(--radius); padding: 1.75rem 2rem; margin-top: 2rem;
}
.download-card h3 { font-family: var(--font-serif); font-size: 1.25rem; margin-bottom: 0.3rem; }
.download-card p { font-size: 0.875rem; color: rgba(255,255,255,0.75); }
.download-actions { display: flex; gap: 0.75rem; flex-wrap: wrap; }
.btn-light { background: #fff; color: var(--bark); border-color: #fff; }
.btn-light:hover { background: var(--cream); color: var(--brick-dark); transform: translateY(-2px); }

.yield-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--border); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; margin: 1.75rem 0; }
.yield-step { background: #fff; padding: 1.4rem 1.25rem; }
.yield-num { font-family: var(--font-serif); font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 700; color: var(--bark); line-height: 1.1; }
.yield-label { font-size: 0.78rem; color: var(--warm-gray); margin-top: 0.35rem; line-height: 1.4; }
.yield-table { width: 100%; border-collapse: collapse; background: #fff; border: 1px solid var(--border); border-radius: var(--radius); font-size: 0.9rem; }
.yield-table th, .yield-table td { padding: 0.7rem 1rem; text-align: left; border-bottom: 1px solid var(--border); }
.yield-table th { font-size: 0.7rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--brick); background: var(--parchment); }
.yield-table td:last-child, .yield-table th:last-child { text-align: right; font-variant-numeric: tabular-nums; }
.yield-table tfoot td { font-weight: 600; color: var(--bark); border-bottom: 0; }

.chip-list { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.chip-list li { padding: 0.45rem 0.9rem; border: 1px solid var(--border); background: #fff; border-radius: 999px; font-size: 0.85rem; color: var(--bark); }
.dot-list { display: grid; gap: 0.6rem; }
.pd-body + .dot-list { margin-top: 1.25rem; }
.dot-list li { position: relative; padding-left: 1.1rem; font-size: 0.925rem; color: var(--bark-light); line-height: 1.5; }
.dot-list li::before { content: ''; position: absolute; left: 0; top: 0.6em; width: 6px; height: 6px; border-radius: 50%; background: var(--brick); }
.dot-list--2col { grid-template-columns: 1fr 1fr; column-gap: 2rem; }

.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; counter-reset: step; list-style: none; }
.steps li { counter-increment: step; border-top: 2px solid var(--brick); padding-top: 1rem; }
.steps li::before { content: '0' counter(step); display: block; font-family: var(--font-serif); font-size: 1.6rem; font-weight: 700; color: var(--brick); margin-bottom: 0.4rem; }
.steps strong { display: block; color: var(--bark); font-weight: 500; margin-bottom: 0.3rem; }
.steps span { font-size: 0.875rem; color: var(--warm-gray); line-height: 1.55; }
.steps a { color: var(--brick); }

.steps--stack { grid-template-columns: 1fr 1fr; }
.price-inline { margin-top: 1.5rem; font-size: 0.9rem; color: var(--warm-gray); }
.price-inline .price { font-family: var(--font-serif); font-size: 2.4rem; font-weight: 700; color: var(--brick); margin-right: 0.4rem; vertical-align: -4px; }
.pd-split--even { grid-template-columns: 1fr 1fr; align-items: start; }
.pd-sub { font-family: var(--font-serif); font-size: 1.15rem; color: var(--bark); margin-bottom: 1rem; }
.back-inner-simple { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem 3rem; flex-wrap: wrap; }
.back-inner-simple .pd-title { margin-bottom: 0.35rem; }
.pd-split > .price-grid { grid-template-columns: 1fr; }
.price-grid--3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 600px) { .price-grid--3 { grid-template-columns: 1fr; } }

@media (max-width: 900px) {
  .pd-split { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .yield-steps, .steps, .dot-list--2col { grid-template-columns: 1fr; }
  .download-card { padding: 1.5rem; }
}

/* --- Divider ------------------------------------------ */
.divider { border: none; border-top: 1px solid var(--border); margin: 0; }

/* --- Notice / callout box ----------------------------- */
.callout,
.retail-note,
.services-note {
  background: var(--parchment); border-left: 3px solid var(--brick);
  padding: 1.25rem 1.5rem; border-radius: 0 2px 2px 0;
  font-size: 0.875rem; color: var(--bark-light); line-height: 1.6;
}
.callout p + p { margin-top: 0.5rem; }

/* --- Page nav (breadcrumb-style anchor links) --------- */
.page-nav {
  background: var(--parchment); border-bottom: 1px solid var(--border);
  padding: 0.75rem clamp(1.5rem, 5vw, 4rem);
}
.page-nav-inner {
  max-width: var(--max-w); margin: 0 auto;
  display: flex; gap: 0.5rem; align-items: center;
  font-size: 0.8rem; flex-wrap: wrap;
}
.page-nav-inner a { color: var(--warm-gray); text-decoration: none; transition: color 0.2s; }
.page-nav-inner a:hover { color: var(--bark); }
.page-nav-inner span { color: var(--border); }
.page-nav-inner strong { color: var(--bark); font-weight: 500; }

/* --- Responsive --------------------------------------- */
@media (max-width: 900px) {
  .card-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 600px) {
  .card-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}
