/* Agromatic Guide — farm / automation light theme (greens, soil, steel) */
:root {
  --bg: #f3f6f1;
  --bg-mid: #e5ede8;
  --bg-elev: #d7e2d4;
  --bg-card: #fbfcf9;
  --line: #c9d5c6;
  --line-warm: #b7c4b3;
  --text: #1e2a22;
  --muted: #5a6b60;
  --parchment: #243028;
  /* Farm green / soil / steel (legacy --vermilion/--red names kept for selectors) */
  --vermilion: #3d7a4a;
  --vermilion-bright: #4f9a5e;
  --vermilion-dim: #2c5a36;
  --gold: #8a6b3a;
  --gold-soft: #b89a62;
  --amethyst: #5a6b73;
  --emerald: #3d7a4a;
  --ruby: #8a4a3a;
  --ok: #3d7a4a;
  --warn: #b8903a;
  --danger: #9a3b2a;
  --link: #2f6b45;
  --link-hover: #1e4a30;
  --radius: 10px;
  --max: 1080px;
  --red: #2f5a3c;
  --red2: #1e3f2a;
  --cream: #f3f6f1;
  --broth: #e5ede8;
  --ink: #1e2a22;
  --card: #fbfcf9;
  --accent: #3d7a4a;
  --soy: #5a4534;
  --steel: #5a6b73;
  --soil: #6b4f3a;
  --font-display: "Pixelify Sans", "Segoe UI", system-ui, sans-serif;
  --font-body: Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-ui: Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
  --shadow-soft: 0 6px 18px rgba(30, 50, 35, 0.08);
  --shadow-hover: 0 10px 24px rgba(30, 50, 35, 0.12);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; color-scheme: light; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text);
  line-height: 1.7;
  font-size: 16px;
  background: var(--bg);
  min-height: 100vh;
}
a { color: var(--link); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--link-hover); }
:focus-visible { outline: 3px solid #4f9a5e; outline-offset: 3px; border-radius: 6px; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 1.15rem 3.5rem; position: relative; z-index: 1; }

/* —— Forest header (farm green) —— */
.site-header {
  position: sticky; top: 0; z-index: 40;
  background: var(--red);
  color: #fff;
  border-bottom: none;
  box-shadow: 0 2px 10px rgba(60, 35, 12, 0.22);
  transition: transform .22s ease;
}
.site-header.is-hidden { transform: translateY(-100%); }
@media (prefers-reduced-motion: reduce) {
  .site-header { transition: none; }
  .site-header.is-hidden { transform: none; }
}
.header-inner {
  max-width: var(--max); margin: 0 auto;
  padding: .45rem 1rem .4rem;
  display: flex; flex-direction: column; gap: .28rem;
  position: relative;
}
.header-top {
  display: flex; align-items: center; justify-content: space-between;
  gap: .5rem; min-height: 36px;
}
.brand {
  display: inline-flex; align-items: center; gap: .45rem;
  color: #fff; text-decoration: none;
  font-family: var(--font-display);
  font-weight: 700; font-size: .95rem;
  letter-spacing: .02em; text-transform: none;
  min-width: 0;
}
.brand-mark {
  width: 22px; height: 22px; flex-shrink: 0;
  filter: drop-shadow(0 1px 2px rgba(0,0,0,0.25));
}
.brand .guide { color: #ffe9c8; font-weight: 700; }
.brand .sep { color: rgba(255,255,255,.55); margin: 0 .15rem; }
.header-tools {
  display: flex; flex-wrap: nowrap; align-items: center; gap: .4rem;
  flex-shrink: 0;
}
.nav-row { position: relative; min-width: 0; width: 100%; }
nav.nav {
  display: flex; flex-wrap: nowrap; gap: .15rem .35rem;
  font-family: var(--font-ui);
  overflow-x: auto; white-space: nowrap;
  scrollbar-width: none; -ms-overflow-style: none;
  -webkit-mask: linear-gradient(90deg, #000 88%, transparent);
  mask: linear-gradient(90deg, #000 88%, transparent);
  margin: 0; padding: .1rem 1.5rem .15rem 0;
  min-width: 0;
}
nav.nav::-webkit-scrollbar { display: none; }
nav.nav a {
  color: #fff; text-decoration: none; font-size: .82rem; font-weight: 600;
  letter-spacing: .02em; text-transform: none; flex: none;
  padding: 6px 10px; border-radius: 6px;
}
nav.nav a:hover, nav.nav a[aria-current="page"] {
  background: rgba(255,255,255,.18);
  text-shadow: none;
}
nav.nav a[aria-current="page"] {
  border-bottom: none;
  padding-bottom: 6px;
}
.navhint {
  display: none; position: absolute; right: .15rem; top: 50%;
  transform: translateY(-50%);
  color: #fff; font-size: 1.25rem; line-height: 1;
  pointer-events: none; opacity: .9; z-index: 2;
  animation: navnudge 1.6s ease-in-out infinite;
}
@media (max-width: 899px) {
  .navhint { display: block; }
  .nav-row.nav-end nav.nav { -webkit-mask: none; mask: none; }
  .nav-row.nav-end .navhint { display: none; }
}
@media (min-width: 900px) {
  .header-inner {
    flex-direction: row; flex-wrap: nowrap;
    align-items: center; gap: .85rem;
    padding: .55rem 1.15rem;
  }
  .header-top { flex: 0 0 auto; }
  .nav-row { flex: 1 1 auto; }
  nav.nav {
    flex-wrap: wrap; overflow: visible; white-space: normal;
    -webkit-mask: none; mask: none; padding-right: 0;
    justify-content: flex-end;
  }
}
@keyframes navnudge { 50% { transform: translateY(-50%) translateX(3px); } }
@media (prefers-reduced-motion: reduce) { .navhint { animation: none; } }

.noren-flaps {
  display: flex; height: 8px; max-width: var(--max); margin: 0 auto;
  position: relative; z-index: 39;
}
.noren-flaps i {
  flex: 1; background: var(--red);
  border-left: 3px solid var(--red2);
  border-radius: 0 0 5px 5px;
  margin-bottom: -8px;
}
@media (min-width: 700px) {
  .noren-flaps { height: 12px; }
  .noren-flaps i { margin-bottom: -12px; }
}

/* —— Badges —— */
.badge {
  display: inline-block; font-family: var(--font-ui);
  font-size: 13px; font-weight: 600; letter-spacing: .04em;
  text-transform: uppercase;
  padding: .28rem .7rem; border-radius: 999px;
  background: var(--broth);
  color: var(--ink);
  border: 1px solid var(--line);
  box-shadow: none;
}
.badge.demo {
  color: var(--soy);
  border-color: #e0c9a4;
  background: #fff6e8;
  box-shadow: none;
}

/* —— Hero —— */
.hero-banner {
  position: relative;
  margin: 0 -1.15rem 1.5rem;
  min-height: 240px;
  overflow: hidden;
  border-bottom: 1px solid var(--line-warm);
  background-size: cover;
  background-position: center 40%;
  background-repeat: no-repeat;
  background-color: #2f5a3c;
}
.hero-banner img {
  display: block; width: 100%; height: 100%;
  min-height: 220px; max-height: 340px;
  object-fit: cover; object-position: center 40%;
}
.hero-scrim {
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 78% 35%, rgba(61, 122, 74, 0.22), transparent 55%),
    linear-gradient(180deg, rgba(30, 50, 35, 0.15) 0%, rgba(20, 40, 28, 0.35) 48%, rgba(15, 30, 22, 0.72) 100%),
    linear-gradient(90deg, rgba(15, 30, 22, 0.45) 0%, transparent 58%);
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 1.4rem 1.15rem 1.3rem;
  color: #f5faf4;
}
.hero-scrim .badge { align-self: flex-start; margin-bottom: .65rem; }
.hero-scrim h1 {
  color: #f7fbf6;
  margin: 0 0 .45rem;
  font-family: var(--font-display);
  font-size: clamp(1.65rem, 5vw, 2.35rem);
  font-weight: 700;
  letter-spacing: .02em;
  line-height: 1.2;
  color: #fbefdc;
  text-shadow: 0 2px 16px rgba(0,0,0,0.45);
}
.hero-scrim .lede {
  margin: 0; max-width: 36em;
  color: #e6d4bc;
  font-size: 1.02rem;
  text-shadow: 0 1px 10px rgba(0,0,0,0.4);
}
.page-banner {
  position: relative;
  margin: .6rem 0 1.2rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
  background: var(--bg-card);
}
.page-banner img {
  display: block; width: 100%; height: auto;
  max-height: 220px; object-fit: cover; object-position: center;
}
.page-banner .cap {
  font-family: var(--font-ui); font-size: 13px; color: var(--muted);
  padding: .4rem .7rem; border-top: 1px solid var(--line);
  background: var(--broth);
}
@media (max-width: 560px) {
  .hero-banner { min-height: 220px; }
  .hero-banner img { min-height: 220px; max-height: 280px; }
  .hero-scrim { padding: 1.6rem 1rem 1.15rem; }
  .hero-scrim h1 {
    font-size: clamp(1.35rem, 6.5vw, 1.8rem);
    line-height: 1.22;
  }
  .page-banner img { max-height: 160px; }
}

.hero { padding: 1.4rem 0 .4rem; }
.hero h1, article > h1 {
  font-family: var(--font-display);
  font-size: clamp(1.55rem, 4vw, 2.1rem);
  font-weight: 700;
  letter-spacing: .01em;
  line-height: 1.25;
  margin: .5rem 0 .75rem;
  color: var(--text);
}
.lede { color: var(--muted); font-size: 1.05rem; margin: 0 0 1.1rem; }
.meta-row {
  display: flex; flex-wrap: wrap; gap: .5rem .85rem;
  align-items: center; color: var(--muted); font-size: .88rem;
  font-family: var(--font-ui); margin: .8rem 0 1rem;
}

/* —— Cards —— */
.cards {
  display: grid; grid-template-columns: 1fr; gap: .95rem;
  margin: 1.5rem 0 2rem;
}
@media (min-width: 640px) { .cards { grid-template-columns: 1fr 1fr; } }
.card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.15rem 1.15rem 1.1rem;
  text-decoration: none; color: inherit; display: block;
  box-shadow: var(--shadow-soft);
  transition: border-color .18s, transform .18s, box-shadow .18s;
}
.card::before, .card::after { display: none; }
.card:hover {
  border-color: var(--vermilion);
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
}
.card-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 28px; height: 28px; margin-bottom: .45rem;
  color: var(--vermilion);
  opacity: .95;
}
.card-icon svg { width: 22px; height: 22px; }
.card h2 {
  margin: 0 0 .35rem; font-size: 1.08rem;
  font-family: var(--font-display); font-weight: 700;
  letter-spacing: .01em; color: var(--text);
}
.card p { margin: 0; color: var(--muted); font-size: .92rem; line-height: 1.55; }

/* —— Panels / callouts / tables —— */
.panel {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.05rem 1.15rem;
  margin: 1.25rem 0;
  box-shadow: var(--shadow-soft);
}
.panel h2, .panel h3 { margin-top: 0; }
h2 {
  font-family: var(--font-display);
  font-size: 1.22rem; font-weight: 700;
  letter-spacing: .01em;
  margin: 1.85rem 0 .65rem;
  color: var(--text);
  border-bottom: none;
  border-left: 6px solid var(--red);
  padding: 0 0 0 .55rem;
}
h3 {
  font-family: var(--font-display);
  font-size: 1.02rem; margin: 1.3rem 0 .45rem;
  color: var(--text); font-weight: 700;
}
ul, ol { padding-left: 1.25rem; }
li { margin: .38rem 0; }

.table-wrap { overflow-x: auto; margin: 1rem 0; }
table {
  width: 100%; border-collapse: collapse; font-size: .94rem;
  background: var(--bg-card);
  border: 1px solid var(--line);
}
th, td {
  text-align: left; padding: .6rem .7rem;
  border-bottom: 1px solid var(--line); vertical-align: top;
}
th {
  color: var(--ink); font-weight: 700; font-size: .8rem;
  font-family: var(--font-ui); letter-spacing: .04em; text-transform: uppercase;
  background: var(--broth);
  border-bottom-color: var(--line-warm);
}
tr:last-child td { border-bottom: none; }

.callout {
  border: 1px solid var(--line);
  border-left: 4px solid var(--vermilion);
  background: #fff6e8;
  padding: .85rem 1.05rem; margin: 1.1rem 0;
  border-radius: 0 10px 10px 0;
  color: var(--ink);
}
.callout.warn {
  border-left-color: #c48a20;
  background: #fff8e8;
}
.callout.note {
  border-left-color: #f2a516;
  background: #fff4e0;
}

.cite { font-size: .84rem; color: var(--muted); font-family: var(--font-ui); }
.art-credit {
  font-family: var(--font-ui); font-size: 13px; color: var(--muted);
  margin: .4rem 0 1.2rem; opacity: .9;
}

.breadcrumbs {
  font-size: .86rem; color: var(--muted); margin: 1rem 0 .4rem;
  font-family: var(--font-ui);
}
.breadcrumbs a { color: var(--muted); text-decoration: none; }
.breadcrumbs a:hover { color: var(--link-hover); }

.site-footer {
  border-top: 4px solid var(--red);
  margin-top: 2.8rem; padding: 1.5rem 0 2.2rem;
  color: var(--muted); font-size: .86rem;
  font-family: var(--font-ui);
  background: var(--broth);
}
.site-footer .wrap { display: grid; gap: .55rem; }
.site-footer a { color: var(--link); }
.footer-ornament {
  display: flex; align-items: center; gap: .75rem;
  color: var(--ink); font-size: .75rem; letter-spacing: .12em;
  text-transform: uppercase; margin-bottom: .35rem; font-weight: 700;
  opacity: .85;
}
.footer-ornament::before, .footer-ornament::after {
  content: ""; flex: 1; height: 1px;
  background: linear-gradient(90deg, transparent, var(--line-warm), transparent);
}

.kbd {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .86em;
  background: var(--bg-card); border: 1px solid var(--line);
  border-radius: 4px; padding: .05rem .35rem; color: var(--ink);
}
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); border: 0;
}

.diamond-rule {
  display: flex; align-items: center; justify-content: center;
  gap: .6rem; margin: 1.4rem 0; color: var(--vermilion); opacity: .45;
}
.diamond-rule::before, .diamond-rule::after {
  content: ""; flex: 1; max-width: 140px; height: 1px;
  background: linear-gradient(90deg, transparent, var(--line-warm));
}
.diamond-rule span {
  display: inline-block; width: 7px; height: 7px;
  border: 1px solid var(--vermilion);
  transform: rotate(45deg);
}

/* —— Language switcher + search —— */
details.lang {
  position: relative; background: none; border: 0; padding: 0; margin: 0;
}
details.lang summary {
  list-style: none; display: inline-flex; align-items: center; gap: .28rem;
  cursor: pointer; color: #fff;
  font-family: var(--font-ui); font-weight: 600; font-size: 13px;
  padding: .28rem .55rem; border: 1px solid rgba(255,255,255,.35); border-radius: 999px;
  background: rgba(255,255,255,.14); user-select: none;
}
details.lang summary::-webkit-details-marker { display: none; }
details.lang summary .globe { font-size: 14px; line-height: 1; color: #fff; }
details.lang .menu {
  position: absolute; right: 0; top: calc(100% + 6px); z-index: 50;
  min-width: 9.5rem; padding: .35rem;
  background: var(--bg-card); border: 1px solid var(--line);
  border-radius: 12px; box-shadow: 0 12px 30px rgba(0,0,0,.2);
  display: flex; flex-direction: column; gap: .15rem;
}
details.lang .menu a {
  color: var(--ink); text-decoration: none;
  font-family: var(--font-ui); font-size: 13px;
  padding: .4rem .55rem; border-radius: 8px;
}
details.lang .menu a:hover { color: var(--accent); background: var(--broth); }
details.lang .menu a[aria-current="true"] {
  color: var(--accent); background: var(--broth); font-weight: 700;
}
.sbtn {
  display: inline-flex; align-items: center; gap: .25rem;
  background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.35);
  color: #fff; border-radius: 999px;
  padding: .28rem .55rem; cursor: pointer;
  font-family: var(--font-ui); font-size: 13px; font-weight: 600;
}
.sbtn .ic { color: #fff; width: 18px; height: 18px; flex-shrink: 0; }
.sbtn:hover { background: rgba(255,255,255,.22); color: #fff; }
.sbtn kbd {
  font-size: 11px; opacity: .7; border: 1px solid rgba(255,255,255,.4);
  border-radius: 4px; padding: 0 .25rem; margin-left: .1rem;
}
@media (max-width: 420px) {
  .sbtn span, .sbtn kbd { display: none; }
  .sbtn {
    min-width: 40px; min-height: 40px; padding: .55rem;
    justify-content: center; box-sizing: border-box;
  }
  .sbtn .ic { width: 18px; height: 18px; display: block; flex-shrink: 0; }
  .brand { font-size: .88rem; }
}
@media (max-width: 560px) {
  .ctas { flex-direction: column; align-items: flex-start; gap: .55rem; }
  .ctas .cta-sec { display: flex; flex-direction: column; align-items: flex-start; gap: .35rem; }
  .ctas .cta-dot { display: none; }
}

/* —— CTAs / facts —— */
.ctas { display: flex; flex-wrap: wrap; gap: .75rem 1rem; align-items: center; margin: 1rem 0 1.25rem; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .4rem;
  background: var(--red);
  color: #fff !important; text-decoration: none !important;
  font-family: var(--font-ui); font-weight: 700; font-size: 1rem;
  letter-spacing: .02em;
  padding: .85rem 1.45rem; border-radius: 999px;
  border: 0;
  box-shadow: 0 6px 16px rgba(92, 58, 33, .32);
}
.btn:hover {
  background: var(--vermilion-bright);
  color: #fff !important; text-decoration: none !important;
}
.cta-link {
  font-family: var(--font-ui); font-size: .95rem; font-weight: 600;
  color: var(--link); text-underline-offset: 3px;
}
.cta-link:hover { color: var(--link-hover); }
.cta {
  background: var(--broth);
  border: 1px dashed var(--red);
  border-radius: 12px;
  padding: 10px 14px;
  font-weight: 600;
}

/* Pagefind search dialog */
#sd {
  border: 0; border-radius: 16px;
  background: var(--bg-card); color: var(--text);
  width: min(640px, 94vw); padding: 1rem 1rem 1.2rem;
  box-shadow: 0 20px 60px rgba(0,0,0,.35);
}
#sd::backdrop { background: rgba(30,15,8,.55); }
#sd .close {
  float: right; background: transparent; border: 0; color: var(--muted);
  font-size: 1.4rem; cursor: pointer; line-height: 1;
}
#sd .qwrap {
  display: flex; align-items: center; gap: .5rem;
  border: 2px solid #f2a516; border-radius: 10px;
  padding: .55rem .75rem; margin: .5rem 0 1rem; background: var(--bg-card);
}
#sd .qwrap input {
  flex: 1; background: transparent; border: 0; outline: 0;
  color: var(--text); font-size: 1rem; font-family: var(--font-ui);
}
#sd .qwrap .ic { color: var(--accent); width: 20px; height: 20px; }
#sr {
  --pagefind-ui-primary: var(--red);
  --pagefind-ui-text: var(--ink);
  --pagefind-ui-background: var(--card);
  --pagefind-ui-border: var(--line);
  --pagefind-ui-tag: var(--broth);
  --pagefind-ui-border-radius: 10px;
  --pagefind-ui-font: Inter, system-ui, sans-serif;
  clear: both;
}
#sr .pagefind-ui__search-input,
#sr .pagefind-ui__search-clear,
#sr .pagefind-ui__form::before { display: none !important; }
.facts {
  display: grid; grid-template-columns: 1fr; gap: .65rem;
  margin: 0 0 1.4rem;
}
@media (min-width: 420px) {
  .facts { grid-template-columns: repeat(2, 1fr); }
  /* 3-stat rows: orphan spans full width instead of sitting alone on the left */
  .facts > .stat:last-child:nth-child(odd) { grid-column: 1 / -1; }
}
@media (min-width: 700px) {
  .facts { grid-template-columns: repeat(4, 1fr); }
  .facts > .stat:last-child:nth-child(odd) { grid-column: auto; }
}
.stat {
  display: flex; flex-direction: column; align-items: center; text-align: center;
  background: var(--bg-card); border: 1px solid var(--line);
  border-radius: 14px; padding: .75rem .55rem;
  text-decoration: none; color: inherit;
  box-shadow: var(--shadow-soft);
  transition: .15s;
}
.stat b { font-family: var(--font-display); font-size: 1.05rem; color: var(--accent); }
.stat span { font-family: var(--font-ui); font-size: .78rem; color: var(--muted); line-height: 1.35; margin-top: .35rem; }
.stat:hover { border-color: var(--vermilion); transform: translateY(-2px); }

.toc {
  background: var(--broth); border: 1px solid var(--line);
  border-radius: var(--radius); padding: .85rem 1.05rem; margin: 1rem 0 1.3rem;
  font-family: var(--font-ui); font-size: .9rem;
}
.toc b { display: block; color: var(--accent); font-size: .78rem; letter-spacing: .06em; text-transform: uppercase; margin-bottom: .35rem; }
.toc ol { margin: .2rem 0 0; padding-left: 1.2rem; }
.toc a { color: var(--ink); text-decoration: none; }
.toc a:hover { color: var(--accent); text-decoration: underline; }
article h2 { scroll-margin-top: 4.5rem; }

.continue {
  margin: 2rem 0 0; padding: 1rem 1.1rem;
  background: var(--bg-card); border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}
.continue h2 { margin-top: 0; font-size: 1.05rem; border-left: none; padding-left: 0; }
.continue ul { margin: .4rem 0 0; padding-left: 1.15rem; }
.continue a { font-weight: 600; }

@media (max-width: 639px) {
  /* No .card-icon in markup: old 28px|1fr grid put h2 in the narrow
     column so title text overflowed on top of the subtitle. Stack instead. */
  .cards { gap: .55rem; }
  .card {
    display: flex;
    flex-direction: column;
    gap: .5rem;
    align-items: stretch;
    padding: .8rem .9rem .85rem .95rem;
    border-left: 3px solid var(--accent, var(--vermilion));
  }
  .card-icon { margin: 0 0 .1rem; width: 24px; height: 24px; }
  .card-icon svg { width: 20px; height: 20px; }
  .card h2 {
    font-size: .98rem; margin: 0; line-height: 1.35;
    overflow-wrap: anywhere;
  }
  .card p {
    font-size: .84rem; line-height: 1.45; margin: 0;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
  }
}

/* —— Day service flow diagram —— */
.flow-steps {
  list-style: none; margin: 1.1rem 0 1.4rem; padding: 0;
  display: grid; gap: .65rem;
}
.flow-step {
  display: grid; grid-template-columns: 2.2rem 1fr; gap: .75rem;
  align-items: start; padding: .85rem 1rem;
  background: var(--bg-card); border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}
.flow-num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 2rem; height: 2rem; border-radius: 999px;
  background: #fff6e8;
  color: var(--soy); font-weight: 700; font-size: .95rem;
  border: 1px solid #e0c9a4;
}
.flow-step p { margin: .25rem 0 0; color: var(--muted); font-size: .92rem; line-height: 1.45; }
.shot-slot {
  display: flex; align-items: center; justify-content: center;
  min-height: 180px; padding: 1.2rem;
  border: 1px dashed var(--line-warm); border-radius: var(--radius);
  background: var(--broth);
  color: var(--muted); font-weight: 600; text-align: center;
}
.flow-shot { margin-top: .4rem; }

/* Popular Q strip (ramen-like) */
.qas { display: grid; gap: 8px; margin: .5rem 0 1.2rem; }
@media (min-width: 700px) { .qas { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .qas { grid-template-columns: repeat(3, 1fr); } }
.qa {
  display: block; background: var(--bg-card); border: 1px solid var(--line);
  border-radius: 12px; padding: 12px 14px; text-decoration: none; color: var(--ink);
  box-shadow: var(--shadow-soft); transition: .15s;
}
.qa b { display: block; font-size: 15px; }
.qa span { font-size: 13px; color: var(--muted); }
.qa:hover { border-color: var(--red); transform: translateY(-2px); box-shadow: var(--shadow-hover); }
.sech {
  font-size: 22px; margin: 24px 0 10px;
  border-left: 6px solid var(--red); padding-left: 10px;
  font-family: var(--font-display); font-weight: 700;
}


/* —— Design critique pass: prose column + CTA hierarchy + intro layout —— */
:root {
  --prose-max: 68ch;
  --font-size-body: 16.5px;
}
body { font-size: var(--font-size-body, 16.5px); }
/* Constrain reading measure; keep tables / figures / grids full content width */
article > :is(p, ul, ol, h2, h3, blockquote, .lede, .callout, .panel, .meta-row, .cite, .continue, .art-credit, .qa) {
  max-width: var(--prose-max);
}
article > :is(table, .table-wrap, figure, .page-banner, .cards, .facts, .ctas, .cta-row, .flow, .qas, .grid, .page-intro, .toc, nav.toc) {
  max-width: none;
}
.cta-row {
  display: flex; flex-wrap: wrap; gap: .75rem 1rem; align-items: center;
  margin: 1rem 0 1.25rem;
}
.btn.ghost {
  background: transparent !important;
  color: var(--accent, var(--vermilion)) !important;
  border: 2px solid var(--accent, var(--vermilion));
  box-shadow: none !important;
  filter: none !important;
}
.btn.ghost:hover {
  background: color-mix(in srgb, var(--accent, var(--vermilion)) 12%, transparent) !important;
  color: var(--link-hover, var(--accent)) !important;
  filter: none !important;
}
.page-intro {
  display: grid;
  gap: .85rem 1.25rem;
  margin: .55rem 0 1.15rem;
  align-items: start;
}
.page-intro .page-banner { margin: 0; }
.page-intro .page-lede {
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.65;
  max-width: var(--prose-max);
}
.page-intro .page-lede p { margin: 0; }
@media (min-width: 900px) {
  .page-intro {
    grid-template-columns: minmax(0, 1fr) minmax(200px, 32%);
  }
  .page-intro .page-lede { grid-column: 1; grid-row: 1; }
  .page-intro .page-banner { grid-column: 2; grid-row: 1; }
  .page-intro .page-banner img { max-height: 168px; }
}

/* Pixelify H1-only — body/cards stay readable sans */
.brand, .card h2, .stat b, .footer-ornament, article h2, article h3 {
  font-family: var(--font-ui) !important;
  letter-spacing: 0;
}
.hero-scrim h1, .hero h1, article > h1 {
  font-family: var(--font-display);
  letter-spacing: 0.02em;
  text-transform: none;
}
