/* ============================================================
   EmerrBio — site stylesheet
   Brand tokens match every EmerrBio brochure/LinkedIn asset.
   ============================================================ */

:root {
  --primary: #1B4332;
  --primary-dark: #0F2A20;
  --primary-tint: #EAF0EC;
  --accent: #B08D57;
  --accent-light: #E9DFC7;
  /* Text-safe variant of the brand gold: the raw --accent (#B08D57) is
     correct for icons, borders and large brand lettering, but at small
     bold sizes on a light background it only measures ~2.8:1 against
     WCAG's 4.5:1 requirement for normal text. --accent-text is the same
     hue darkened until it clears 4.5:1 on white/cream/primary-tint —
     use it for any small readable text (eyebrows, kickers, step numbers,
     the required-field asterisk), never for icons or decorative borders. */
  --accent-text: #7B623C;
  --cream: #F6F4EE;
  --ink: #22271F;
  --gray: #5C6660;
  --gray-light: #676C66;
  --hair: #D8D3C4;
  --white: #FFFFFF;
  --amber-bg: #FBF3E4;
  --amber-border: #D9B978;

  --font-head: Georgia, "Iowan Old Style", "Palatino Linotype", "Book Antiqua", serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-logo: "Poppins", var(--font-body);

  --container: 1160px;
  --radius-s: 6px;
  --radius-m: 12px;
  --radius-l: 20px;
  --shadow-s: 0 1px 2px rgba(15, 42, 32, 0.06), 0 1px 1px rgba(15, 42, 32, 0.04);
  --shadow-m: 0 8px 24px rgba(15, 42, 32, 0.10);
  --shadow-l: 0 20px 48px rgba(15, 42, 32, 0.16);
}

/* ---------- Reset ---------- */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  line-height: 1.65;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 { font-family: var(--font-head); color: var(--primary); margin: 0 0 0.5em; font-weight: 700; line-height: 1.18; }
p { margin: 0 0 1em; }
button { font-family: inherit; }
svg { display: block; }
::selection { background: var(--accent-light); color: var(--primary-dark); }

/* ---------- Skip link (a11y) ---------- */
.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 1000;
  background: var(--primary); color: var(--white); padding: 12px 20px;
  border-radius: 0 0 8px 0; font-weight: 600;
}
.skip-link:focus { left: 0; }

/* ---------- Layout helpers ---------- */
.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.section { padding: 88px 0; }
.section--tight { padding: 56px 0; }
.section--cream { background: var(--cream); }
.section--white { background: var(--white); }
.section--dark { background: linear-gradient(150deg, var(--primary) 0%, var(--primary-dark) 100%); color: var(--accent-light); }
.section--dark h2, .section--dark h3 { color: var(--white); }
.section--tint { background: var(--primary-tint); }
.center { text-align: center; }
.stack { display: flex; flex-direction: column; }
.hidden-visually { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

@media (max-width: 720px) {
  .section { padding: 56px 0; }
  .section--tight { padding: 40px 0; }
}

/* ---------- Type ---------- */
.eyebrow {
  display: inline-block; font-weight: 700; font-size: 12.5px; letter-spacing: 2.4px;
  text-transform: uppercase; color: var(--accent-text); margin: 0 0 14px;
}
.section--dark .eyebrow { color: var(--accent-light); }
h1 { font-size: clamp(32px, 4.4vw, 52px); }
h2 { font-size: clamp(26px, 3.2vw, 36px); }
h3 { font-size: clamp(19px, 2vw, 22px); }
.lede { font-size: 19px; color: var(--gray); max-width: 62ch; }
.section--dark .lede { color: var(--accent-light); }
.small-print { font-size: 13.5px; color: var(--gray-light); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px; justify-content: center;
  padding: 14px 26px; border-radius: 999px; font-weight: 600; font-size: 15px;
  border: 1.5px solid transparent; cursor: pointer; transition: transform .15s ease, box-shadow .15s ease, background .15s ease, color .15s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%); color: var(--white); box-shadow: 0 1px 2px rgba(15,42,32,0.2); }
.btn-primary:hover { background: linear-gradient(135deg, #204d3c 0%, var(--primary-dark) 100%); box-shadow: var(--shadow-m); }
.btn-outline { background: transparent; border-color: var(--accent); color: var(--primary); }
.section--dark .btn-outline { border-color: var(--accent); color: var(--white); }
.btn-outline:hover { background: var(--accent-light); }
.section--dark .btn-outline:hover { background: rgba(246,244,238,0.12); }
.btn-ghost { background: transparent; color: var(--primary); padding-left: 4px; padding-right: 4px; }
.btn-ghost svg { transition: transform .15s ease; }
.btn-ghost:hover svg { transform: translateX(3px); }
.btn:focus-visible, a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible {
  outline: 3px solid var(--accent); outline-offset: 2px;
}

/* ---------- Header / nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100; background: rgba(246,244,238,0.98);
  border-bottom: 1px solid transparent;
  transition: box-shadow .2s ease, border-color .2s ease;
}
.site-header.is-scrolled { box-shadow: var(--shadow-s); border-color: var(--hair); }
.nav-row { display: flex; align-items: center; justify-content: space-between; height: 78px; gap: 24px; }
.brand { display: flex; align-items: center; gap: 10px; font-family: var(--font-logo); font-weight: 600; font-size: 21px; color: var(--primary); }
.brand .mark { width: 34px; height: 34px; flex: none; }
.brand .word b { color: var(--accent); font-weight: 600; }
.nav-links { display: flex; align-items: center; gap: 18px; }
.nav-links a { font-size: 13.5px; font-weight: 600; color: var(--ink); padding: 6px 2px; border-bottom: 2px solid transparent; white-space: nowrap; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--primary); border-color: var(--accent); }
.nav-actions { display: flex; align-items: center; gap: 14px; }
.nav-toggle { display: none; background: none; border: none; padding: 8px; cursor: pointer; color: var(--primary); }
.nav-cta { display: none; }

@media (max-width: 940px) {
  .nav-links { position: fixed; inset: 78px 0 0 0; background: var(--cream); flex-direction: column;
    align-items: flex-start; padding: 28px 24px; gap: 6px; transform: translateX(100%);
    transition: transform .25s ease; overflow-y: auto; }
  .nav-links a { width: 100%; padding: 14px 4px; border-bottom: 1px solid var(--hair); font-size: 17px; }
  .nav-links.is-open { transform: translateX(0); }
  .nav-toggle { display: inline-flex; }
  .nav-actions .btn-primary { display: none; }
  .nav-cta { display: block; margin-top: 10px; }
  .nav-links a.btn-primary { color: var(--white); border-bottom: none; text-align: center; }
}

/* ---------- Hero ---------- */
.hero { padding: 76px 0 84px; position: relative; overflow: hidden; }
.hero.section--cream::before, .hero.section--cream::after {
  content: ""; position: absolute; border-radius: 50%; z-index: 0; pointer-events: none;
  filter: blur(6px);
}
.hero.section--cream::before {
  width: 520px; height: 520px; top: -260px; right: -120px;
  background: radial-gradient(circle, rgba(176,141,87,0.16) 0%, rgba(176,141,87,0) 70%);
}
.hero.section--cream::after {
  width: 420px; height: 420px; bottom: -240px; left: -140px;
  background: radial-gradient(circle, rgba(27,67,50,0.08) 0%, rgba(27,67,50,0) 70%);
}
.hero .container { position: relative; z-index: 1; }
.hero-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 56px; align-items: center; }
.hero h1 { margin-bottom: 20px; }
.hero h1 em { font-style: normal; color: var(--accent-text); }
.hero .lede { margin-bottom: 32px; font-size: 20px; }
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-badge-row { display: flex; flex-wrap: wrap; gap: 10px 12px; margin-top: 36px; }
.trust-badge {
  display: inline-flex; align-items: center; gap: 7px; font-size: 12.5px; font-weight: 700;
  letter-spacing: 0.4px; color: var(--primary-dark); background: var(--white);
  border: 1px solid var(--hair); padding: 8px 14px 8px 10px; border-radius: 999px;
  box-shadow: var(--shadow-s);
}
.trust-badge svg { width: 15px; height: 15px; color: var(--accent); flex: none; }
.hero-visual {
  border-radius: var(--radius-l); overflow: hidden; background: var(--white);
  box-shadow: var(--shadow-l), 0 0 0 1px rgba(216,211,196,0.4); padding: 20px;
  position: relative;
}
.hero-visual::before {
  content: ""; position: absolute; inset: -1px -1px auto -1px; height: 4px; border-radius: var(--radius-l) var(--radius-l) 0 0;
  background: linear-gradient(90deg, var(--accent) 0%, var(--primary) 100%);
}
.hero-visual img { width: 100%; }
.hero-diagram, .scene-illustration { width: 100%; height: auto; display: block; }
@media (max-width: 880px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { order: -1; }
}

/* ---------- Breadcrumb bar ---------- */
.breadcrumb-bar { background: var(--white); border-bottom: 1px solid var(--hair); }
.breadcrumb-bar .container { display: flex; align-items: center; gap: 8px; padding-top: 14px; padding-bottom: 14px; font-size: 13px; }
.breadcrumb-bar a { color: var(--gray); font-weight: 600; }
.breadcrumb-bar a:hover { color: var(--primary); text-decoration: underline; }
.breadcrumb-bar span[aria-hidden] { color: var(--gray-light); }
.breadcrumb-bar span[aria-current] { color: var(--primary); font-weight: 700; }

/* ---------- Stat strip ---------- */
.stat-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.stat-item { text-align: center; padding: 26px 12px; background: var(--white); border-radius: var(--radius-m); box-shadow: var(--shadow-s); }
.stat-item .value { font-family: var(--font-head); font-weight: 700; font-size: clamp(24px, 3vw, 32px); color: var(--primary); }
.stat-item .label { font-size: 12.5px; color: var(--gray); text-transform: uppercase; letter-spacing: 1px; margin-top: 6px; font-weight: 600; }
.section--dark .stat-item { background: rgba(255,255,255,0.06); }
.section--dark .stat-item .value { color: var(--white); }
.section--dark .stat-item .label { color: var(--accent-light); }
@media (max-width: 720px) { .stat-strip { grid-template-columns: repeat(2, 1fr); } }

/* ---------- Cards / grids ---------- */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
@media (max-width: 940px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

.card {
  background: var(--white); border-radius: var(--radius-m); padding: 30px;
  box-shadow: var(--shadow-s); border: 1px solid rgba(216,211,196,0.5);
  transition: box-shadow .18s ease, transform .18s ease;
  position: relative; overflow: hidden;
}
.card::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--primary));
  transform: scaleX(0); transform-origin: left; transition: transform .25s ease;
}
.card:hover::before { transform: scaleX(1); }
.card:hover { box-shadow: var(--shadow-m); transform: translateY(-4px); }
.card .icon-wrap { width: 46px; height: 46px; margin-bottom: 16px; transition: transform .2s ease; }
.card:hover .icon-wrap { transform: scale(1.08) rotate(-2deg); }
.card h3 { margin-bottom: 10px; }
.card p { color: var(--gray); font-size: 15.5px; margin-bottom: 0; }

.industry-card { display: block; }
.industry-card .icon-wrap {
  width: 56px; height: 56px; border-radius: 50%; background: linear-gradient(150deg, var(--primary-tint), var(--accent-light));
  display: flex; align-items: center; justify-content: center; margin-bottom: 18px;
  box-shadow: inset 0 0 0 1px rgba(176,141,87,0.25);
}
.industry-card .icon-wrap svg { width: 30px; height: 30px; }
.industry-card .kicker { font-size: 12px; font-weight: 700; letter-spacing: 1.5px; color: var(--accent-text); text-transform: uppercase; }
.industry-card .go { display: inline-flex; align-items: center; gap: 6px; margin-top: 14px; font-weight: 700; color: var(--primary); font-size: 14px; }
.industry-card .go svg { width: 16px; height: 16px; transition: transform .15s ease; }
.industry-card:hover .go svg { transform: translateX(3px); }

/* ---------- Icon-card row (differentiators) ---------- */
.icon-card .icon-wrap {
  width: 52px; height: 52px; border-radius: 14px; background: linear-gradient(150deg, var(--accent-light), var(--white));
  display: flex; align-items: center; justify-content: center;
  box-shadow: inset 0 0 0 1px rgba(176,141,87,0.3);
}
.icon-card .icon-wrap svg { width: 30px; height: 30px; }

/* ---------- Pipeline steps ---------- */
.pipeline { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; counter-reset: step; }
.pipeline-step { position: relative; padding-top: 8px; }
.pipeline-step .step-icon {
  width: 64px; height: 64px; border-radius: 50%; background: var(--white); box-shadow: var(--shadow-s);
  display: flex; align-items: center; justify-content: center; margin-bottom: 18px;
}
.pipeline-step .step-icon svg { width: 34px; height: 34px; }
.pipeline-step .step-num { font-family: var(--font-head); font-weight: 700; color: var(--accent-text); font-size: 13px; letter-spacing: 2px; }
.pipeline-step h4 { font-family: var(--font-head); color: var(--primary); font-size: 17px; margin: 6px 0 8px; }
.pipeline-step p { color: var(--gray); font-size: 14.5px; margin: 0; }
.pipeline-step:not(:last-child)::after {
  content: ""; position: absolute; top: 32px; left: calc(100% - 6px); width: calc(24px + 12px);
  border-top: 2px dashed var(--hair);
}
@media (max-width: 940px) {
  .pipeline { grid-template-columns: repeat(2, 1fr); }
  .pipeline-step:not(:last-child)::after { display: none; }
}
@media (max-width: 560px) { .pipeline { grid-template-columns: 1fr; } }

/* ---------- Facility panel (stands in for photography) ---------- */
.facility-panel {
  border-radius: var(--radius-l); overflow: hidden; box-shadow: var(--shadow-m);
  background: linear-gradient(150deg, var(--primary) 0%, var(--primary-dark) 100%);
  position: relative; min-height: 220px; display: flex; align-items: flex-end;
}
.facility-panel__pattern { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; opacity: 0.9; }
.facility-panel__pattern svg { width: 70%; height: auto; max-width: 320px; }
.facility-panel__body { position: relative; z-index: 1; padding: 26px 28px; background: linear-gradient(0deg, rgba(15,42,32,0.92) 0%, rgba(15,42,32,0) 100%); width: 100%; }
.facility-panel__eyebrow { font-size: 11.5px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: var(--accent-light); }
.facility-panel__body h4 { color: var(--white); font-size: 19px; margin: 6px 0 4px; }
.facility-panel__body .caption { margin: 0; font-size: 13.5px; color: rgba(246,244,238,0.8); }

/* ---------- Photo scroll strip (multiple facility placeholders) ---------- */
.photo-strip {
  display: flex; gap: 20px; overflow-x: auto; padding: 6px 6px 22px;
  scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch;
  scrollbar-width: thin; scrollbar-color: var(--accent) var(--cream);
}
.photo-strip::-webkit-scrollbar { height: 8px; }
.photo-strip::-webkit-scrollbar-track { background: var(--cream); border-radius: 8px; }
.photo-strip::-webkit-scrollbar-thumb { background: var(--accent); border-radius: 8px; }
.photo-strip__slot {
  flex: 0 0 auto; width: 280px; scroll-snap-align: start;
  border-radius: var(--radius-l); overflow: hidden; box-shadow: var(--shadow-m);
  background: linear-gradient(150deg, var(--primary) 0%, var(--primary-dark) 100%);
  position: relative; min-height: 210px; display: flex; align-items: flex-end;
}
.photo-strip__pattern { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; opacity: 0.9; }
.photo-strip__pattern svg { width: 66%; height: auto; max-width: 220px; }
.photo-strip__badge {
  position: absolute; top: 14px; left: 14px; z-index: 2;
  font-size: 10.5px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase;
  color: var(--primary-dark); background: var(--accent-light);
  padding: 5px 10px; border-radius: 20px;
}
.photo-strip__body { position: relative; z-index: 1; padding: 20px 22px; background: linear-gradient(0deg, rgba(15,42,32,0.94) 0%, rgba(15,42,32,0) 100%); width: 100%; }
.photo-strip__body h4 { color: var(--white); font-size: 16.5px; margin: 5px 0 4px; }
.photo-strip__body .caption { margin: 0; font-size: 12.5px; color: rgba(246,244,238,0.8); line-height: 1.4; }
.photo-strip-hint { font-size: 13px; color: var(--gray-light); margin: -8px 0 20px; }
@media (max-width: 620px) { .photo-strip__slot { width: 240px; } }

/* ---------- FAQ accordion ---------- */
.faq-list { max-width: 780px; }
.faq-item {
  background: var(--white); border: 1px solid var(--hair); border-radius: var(--radius-m);
  padding: 4px 22px; margin-bottom: 12px; transition: box-shadow .18s ease, border-color .18s ease;
}
.faq-item[open] { box-shadow: var(--shadow-s); border-color: var(--accent); }
.faq-item summary {
  cursor: pointer; font-weight: 700; color: var(--primary); font-size: 16px; list-style: none;
  display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 0;
  font-family: var(--font-head);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+"; font-size: 22px; line-height: 1; color: var(--accent-text); flex: none; font-family: var(--font-body);
  transition: transform .2s ease;
}
.faq-item[open] summary::after { content: "\2212"; }
.faq-answer { padding: 0 0 20px; color: var(--gray); font-size: 15px; }
.faq-answer p { margin: 0; }

/* ---------- Product monograph card ---------- */
.product-card { background: var(--white); border-radius: var(--radius-l); box-shadow: var(--shadow-s); border: 1px solid rgba(216,211,196,0.6); overflow: hidden; margin-bottom: 28px; }
.product-card__head { display: flex; align-items: center; gap: 18px; padding: 26px 30px; border-bottom: 1px solid var(--hair); background: var(--cream); flex-wrap: wrap; }
.product-card__icon { width: 52px; height: 52px; border-radius: 50%; background: var(--white); box-shadow: var(--shadow-s); display: flex; align-items: center; justify-content: center; flex: none; }
.product-card__icon img { width: 30px; height: 30px; object-fit: contain; }
.product-card__title { flex: 1; min-width: 220px; }
.product-card__title h3 { font-size: 22px; margin-bottom: 2px; }
.product-card__title .organism { font-style: italic; color: var(--gray); font-size: 14.5px; }
.tag-pill { display: inline-block; background: var(--primary); color: var(--white); font-size: 11px; font-weight: 700; letter-spacing: 1px; padding: 6px 12px; border-radius: 999px; }
.product-card__body { padding: 26px 30px 30px; }
.product-card__tagline { font-family: var(--font-head); font-style: italic; color: var(--primary); font-size: 17px; margin-bottom: 16px; }
.spec-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-bottom: 18px; }
@media (max-width: 780px) { .spec-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .spec-grid { grid-template-columns: 1fr; } }
.spec-item .k { font-size: 11px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: var(--accent-text); margin-bottom: 4px; }
.spec-item .v { font-size: 14.5px; color: var(--ink); }
.why-used { font-size: 15px; color: var(--gray); background: var(--primary-tint); border-radius: var(--radius-s); padding: 16px 18px; margin: 4px 0 6px; }

details.evidence { margin-top: 14px; border-top: 1px solid var(--hair); padding-top: 14px; }
details.evidence summary {
  cursor: pointer; font-weight: 700; color: var(--primary); font-size: 14.5px; list-style: none;
  display: flex; align-items: center; gap: 8px;
}
details.evidence summary::-webkit-details-marker { display: none; }
details.evidence summary::before { content: "+"; font-size: 18px; line-height: 1; color: var(--accent-text); width: 16px; }
details.evidence[open] summary::before { content: "–"; }
details.evidence .evidence-body { padding: 14px 2px 4px 24px; }
.evidence-list { margin: 0 0 14px; }
.evidence-list li { font-size: 14px; color: var(--gray); margin-bottom: 10px; padding-left: 16px; position: relative; }
.evidence-list li::before { content: "•"; color: var(--accent); position: absolute; left: 0; }
.honesty-note { background: var(--amber-bg); border-left: 4px solid var(--amber-border); border-radius: 0 var(--radius-s) var(--radius-s) 0; padding: 14px 16px; font-size: 13.5px; color: #5c4a1f; }
.honesty-note b { color: #4a3a14; }

/* ---------- Genus / strain table (human health) ---------- */
.genus-card { background: var(--white); border-radius: var(--radius-m); box-shadow: var(--shadow-s); padding: 24px 26px; margin-bottom: 16px; }
.genus-card h4 { font-family: var(--font-head); color: var(--primary); font-size: 17px; margin-bottom: 8px; }
.genus-card .note { font-size: 14px; color: var(--gray); font-style: italic; margin-bottom: 14px; }
.strain-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.strain-chips span { background: var(--primary-tint); color: var(--primary-dark); font-size: 13px; padding: 6px 12px; border-radius: 999px; }

/* ---------- Blog ---------- */
.blog-card { padding: 0; overflow: hidden; }
.blog-card__media { background: var(--cream); border-bottom: 1px solid var(--hair); line-height: 0; }
.blog-card__media svg { width: 100%; height: auto; display: block; }
.blog-card__body { padding: 26px 28px 28px; }
.blog-card .kicker { font-size: 12px; font-weight: 700; letter-spacing: 1.5px; color: var(--accent-text); text-transform: uppercase; margin-bottom: 8px; }
.blog-card__meta { display: flex; gap: 8px; align-items: center; font-size: 13px; color: var(--gray-light); margin-top: 14px; }
.blog-post-body { max-width: 74ch; font-size: 17px; color: var(--ink); }
.blog-post-body h2 { margin-top: 2em; }
.blog-post-body p { margin-bottom: 1.2em; color: var(--ink); }
.blog-post-body a { color: var(--primary); text-decoration: underline; text-decoration-color: var(--accent); text-underline-offset: 3px; font-weight: 600; }
.blog-post-body ul.bullet-list { margin-bottom: 1.2em; }
.blog-post-meta { display: flex; flex-wrap: wrap; gap: 8px 16px; align-items: center; font-size: 14px; color: var(--gray); margin-top: 18px; }
.blog-post-meta .tag-pill { background: var(--primary-tint); color: var(--primary-dark); }

/* ---------- Callout / quote box ---------- */
.callout { border-left: 4px solid var(--accent); background: var(--white); padding: 20px 24px; border-radius: 0 var(--radius-s) var(--radius-s) 0; font-style: italic; color: var(--gray); font-size: 15px; }
.section--dark .callout { background: rgba(255,255,255,0.06); color: var(--accent-light); }

/* ---------- Quality status cards ---------- */
.status-card { border-radius: var(--radius-m); padding: 24px 26px; }
.status-card--live { background: #EAF4EC; border: 1px solid #BFE0C8; }
.status-card--roadmap { background: var(--amber-bg); border: 1px solid var(--amber-border); }
.status-card .status-label { font-size: 11px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; margin-bottom: 8px; display: inline-block; }
.status-card--live .status-label { color: #276B3E; }
.status-card--roadmap .status-label { color: #8A6A1E; }
.status-card p { margin: 0; color: var(--ink); font-size: 14.5px; }

/* ---------- CTA band ---------- */
.cta-band { background: linear-gradient(150deg, var(--primary) 0%, var(--primary-dark) 100%); color: var(--white); padding: 72px 0; }
.cta-band h2 { color: var(--white); }
.cta-band .lede { color: var(--accent-light); }
.cta-band .btn-outline { border-color: var(--accent); color: var(--white); }
.cta-band .btn-outline:hover { background: rgba(246,244,238,0.12); }
.cta-contact-grid { display: flex; flex-wrap: wrap; gap: 40px; margin-top: 28px; }
.cta-contact-grid .item { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; color: var(--white); }
.cta-contact-grid .item svg { width: 20px; height: 20px; color: var(--accent); flex: none; margin-top: 2px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--primary-dark); color: var(--accent-light); padding: 64px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; }
@media (max-width: 780px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer .brand { color: var(--white); margin-bottom: 14px; }
.site-footer .brand .word b { color: var(--accent); }
.site-footer p { color: rgba(233,223,199,0.75); font-size: 14px; }
.footer-col h5 { font-size: 12.5px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--accent); margin-bottom: 16px; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col a { font-size: 14.5px; color: rgba(246,244,238,0.85); }
.footer-col a:hover { color: var(--white); text-decoration: underline; }
.footer-bottom { border-top: 1px solid rgba(233,223,199,0.15); margin-top: 48px; padding-top: 24px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: 13px; color: rgba(233,223,199,0.6); }

/* ---------- Forms ---------- */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 620px) { .form-grid { grid-template-columns: 1fr; } }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 18px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 13.5px; font-weight: 600; color: var(--primary); }
.field .req { color: var(--accent-text); }
.field input, .field select, .field textarea {
  font-family: var(--font-body); font-size: 15px; padding: 12px 14px; border-radius: var(--radius-s);
  border: 1.5px solid var(--hair); background: var(--white); color: var(--ink); width: 100%;
}
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--accent); outline: none; box-shadow: 0 0 0 3px rgba(176,141,87,0.18); }
.field textarea { resize: vertical; min-height: 130px; }
.form-note { font-size: 13px; color: var(--gray); margin-top: 4px; }
.form-status { display: none; padding: 14px 16px; border-radius: var(--radius-s); font-size: 14.5px; margin-top: 16px; }
.form-status.is-visible { display: block; }
.form-status.success { background: #EAF4EC; color: #276B3E; border: 1px solid #BFE0C8; }
.form-status.error { background: #FCEBEA; color: #A23B32; border: 1px solid #F0BDB6; }
.hp-field { position: absolute; left: -9999px; opacity: 0; }

/* Contact layout */
.contact-grid { display: grid; grid-template-columns: 1.2fr 0.9fr; gap: 48px; align-items: start; }
@media (max-width: 880px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-info-card { background: var(--white); border-radius: var(--radius-m); box-shadow: var(--shadow-s); padding: 28px; }
.contact-info-card .row { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 20px; }
.contact-info-card .row svg { width: 20px; height: 20px; color: var(--accent); flex: none; margin-top: 3px; }
.contact-info-card .row div { font-size: 15px; }
.contact-info-card .row .k { font-weight: 700; color: var(--primary); display: block; margin-bottom: 2px; font-size: 12.5px; letter-spacing: 1px; text-transform: uppercase; }
.map-frame { border-radius: var(--radius-m); overflow: hidden; margin-top: 20px; border: 1px solid var(--hair); }
.map-frame iframe { width: 100%; height: 220px; border: 0; display: block; }

/* ---------- Table of contents / anchor nav within long pages ---------- */
.jump-nav { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 8px; }
.jump-nav a { font-size: 13.5px; font-weight: 600; padding: 8px 14px; border-radius: 999px; background: var(--white); border: 1px solid var(--hair); color: var(--primary); }
.jump-nav a:hover { border-color: var(--accent); background: var(--accent-light); }

/* ---------- Bulleted list (generic prose lists) ---------- */
.bullet-list li { position: relative; padding-left: 22px; margin-bottom: 12px; color: var(--gray); font-size: 15.5px; }
.bullet-list li::before { content: "•"; color: var(--accent); position: absolute; left: 0; font-size: 18px; line-height: 1.3; }
.bullet-list b { color: var(--ink); }

/* ---------- Utility spacing ---------- */
.mt-0 { margin-top: 0; } .mb-0 { margin-bottom: 0; }
.mt-24 { margin-top: 24px; } .mt-40 { margin-top: 40px; } .mt-56 { margin-top: 56px; }
.mb-24 { margin-bottom: 24px; } .mb-40 { margin-bottom: 40px; }
.max-prose { max-width: 74ch; }

/* ---------- 404 ---------- */
.notfound { min-height: 50vh; display: flex; align-items: center; justify-content: center; text-align: center; }
