/* =========================================================================
   Archer Scaling AI — warm editorial design system (ink/bone/burnt orange)
   Forked from sites/rainearcher/styles.css. Tokens + base + page styles.
   Montserrat only. Light theme default; hero runs dark-ink.
   ========================================================================= */

/* Montserrat — loaded from Google Fonts so the --font token resolves to a
   real @font-face source. Replace with locally-hosted files when uploaded. */
@import url("https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,400;0,500;0,600;0,700;0,800;1,500&display=swap");

:root {
  /* Color */
  --ink:        #1B170F;  /* headlines, body, dark sections        */
  --bone:       #ECE7E2;  /* page background (default light)        */
  --bone-2:     #E6E0D9;  /* subtle warm tint for section banding   */
  --taupe-dark: #3E3A33;  /* secondary text, dark surfaces          */
  --taupe-mid:  #655F54;  /* captions, meta (AA-contrast on bone)    */
  --warm-gray:  #C2BCB5;  /* borders, dividers                      */
  --orange:     #D96833;  /* single accent: CTAs, links, highlights */
  --tan:        #E4B88C;  /* tags, tints, illustration fills        */
  --tan-deep:   #CA804C;  /* deeper tan                             */

  /* Type */
  --font: "Montserrat", system-ui, -apple-system, "Segoe UI", sans-serif;

  /* Fluid type scale (mobile-first) */
  --t-display: clamp(2.05rem, 6vw, 3.5rem); /* @kind font */
  --t-h2:      clamp(2.05rem, 7.2vw, 3.9rem); /* @kind font */
  --t-h3:      clamp(1.55rem, 5.4vw, 2.35rem); /* @kind font */
  --t-lead:    clamp(1.2rem, 4.4vw, 1.5rem); /* @kind font */
  --t-body:    clamp(1.02rem, 2.6vw, 1.12rem); /* @kind font */
  --t-cap:     0.82rem;

  /* Layout */
  --pad:    clamp(1.25rem, 5.5vw, 3rem);
  --max:    1140px;
  --sect-y: clamp(4.25rem, 11vw, 8.5rem); /* @kind spacing */
  --radius: 16px;

  /* Motion */
  --ease: cubic-bezier(0.22, 1, 0.36, 1); /* @kind other */
}

/* ----------------------------------------------------------------- reset */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bone);
  color: var(--ink);
  font-family: var(--font);
  font-size: var(--t-body);
  font-weight: 400;
  line-height: 1.6;
  letter-spacing: 0.005em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: var(--orange); text-decoration: none; }
h1, h2, h3, p { margin: 0; text-wrap: pretty; }
h1, h2, h3 { font-weight: 800; line-height: 1.02; letter-spacing: -0.025em; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

/* ------------------------------------------------------------- structure */
.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--pad); }
.section { padding-block: var(--sect-y); }
.eyebrow {
  font-size: var(--t-cap);
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--taupe-mid);
  margin: 0 0 1.1rem;
}
.lead { font-size: var(--t-lead); font-weight: 500; line-height: 1.4; color: var(--taupe-dark); }
.meta { font-size: var(--t-cap); font-weight: 500; color: var(--taupe-mid); }

/* --------------------------------------------------------------- buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  background: var(--ink);
  color: var(--bone);
  font-family: var(--font);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: -0.005em;
  line-height: 1;
  padding: 1.05em 1.5em;
  border: none;
  border-radius: 999px;
  cursor: pointer;
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease), background-color 0.3s ease;
  box-shadow: 0 1px 0 rgba(27,23,15,0.06);
}
.btn .arrow { color: var(--orange); transition: transform 0.45s var(--ease); }
.btn:hover { transform: translateY(-3px); box-shadow: 0 16px 32px -16px rgba(27,23,15,0.55); }
.btn:hover .arrow { transform: translateX(4px); }
.btn:active { transform: translateY(-1px); }
.btn--ghost {
  background: transparent;
  color: var(--ink);
  box-shadow: inset 0 0 0 1.5px var(--ink);
}
.btn--ghost .arrow { color: var(--orange); }
.btn--ghost:hover { background: var(--ink); color: var(--bone); box-shadow: inset 0 0 0 1.5px var(--ink); }
/* On dark surfaces: flip to bone fill with ink text */
.btn--ondark { background: var(--bone); color: var(--ink); box-shadow: 0 1px 0 rgba(0,0,0,0.2); }
.btn--ondark .arrow { color: var(--orange); }
.btn--ondark:hover { box-shadow: 0 18px 36px -16px rgba(236,231,226,0.4); }

/* text link with growing underline */
.tlink {
  display: inline-flex;
  align-items: center;
  gap: 0.45em;
  font-weight: 700;
  color: var(--orange);
  position: relative;
}
.tlink::after {
  content: "";
  position: absolute;
  left: 0; bottom: -2px;
  width: 100%; height: 2px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease);
}
.tlink:hover::after { transform: scaleX(1); }
.tlink .arrow { transition: transform 0.4s var(--ease); }
.tlink:hover .arrow { transform: translateX(4px); }

/* ----------------------------------------------------------------- tags */
.tag {
  display: inline-flex;
  align-items: center;
  gap: 0.45em;
  font-size: var(--t-cap);
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--ink);
  background: var(--tan);
  padding: 0.4em 0.85em;
  border-radius: 999px;
}
.tag--live { background: var(--ink); color: var(--bone); }
.tag--live .dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 0 0 rgba(217,104,51,0.7);
  animation: pulse 2.4s infinite;
}
@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(217,104,51,0.6); }
  70%  { box-shadow: 0 0 0 7px rgba(217,104,51,0); }
  100% { box-shadow: 0 0 0 0 rgba(217,104,51,0); }
}

/* ------------------------------------------------------------ media/slots */
.frame {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  background: linear-gradient(160deg, var(--tan) 0%, var(--tan-deep) 100%);
}
.frame .px-inner {
  position: absolute;
  inset: -6% 0;
  height: 112%;
  will-change: transform;
}
.frame image-slot { width: 100%; height: 100%; }

/* ================================================================= HEADER */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in srgb, var(--bone) 86%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease, background-color 0.3s ease;
}
.site-header.scrolled { border-color: var(--warm-gray); }
/* Sits directly above a dark-ink hero: start ink-toned (bone lockup reads
   clearly), flip to the bone-on-light treatment once the page is scrolled
   past the hero. */
.site-header--onhero {
  background: color-mix(in srgb, var(--ink) 88%, transparent);
}
.site-header--onhero.scrolled {
  background: color-mix(in srgb, var(--bone) 86%, transparent);
  border-color: var(--warm-gray);
}
.site-header--onhero .header-cta.btn--ondark { background: var(--bone); color: var(--ink); }
.site-header--onhero.scrolled .header-cta.btn--ondark { background: var(--ink); color: var(--bone); }
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 0.95rem;
}
.wordmark {
  font-weight: 700;
  font-size: 1.32rem;
  letter-spacing: -0.03em;
  color: var(--ink);
}
.wordmark .dot { color: var(--orange); }
.header-cta { display: none; }
@media (min-width: 640px) { .header-cta { display: inline-flex; } }

/* Logo lockup — SVG masters are ink-cropped; this container supplies equal
   padding on all sides so the mark never touches an edge. */
.logo-lockup {
  display: block;
  height: clamp(1.6rem, 4vw, 1.9rem);
  padding: 0.35rem 0;
}
.logo-lockup svg { display: block; height: 100%; width: auto; }
/* on the hero, the big brand lockup carries the wordmark, so the header logo
   stays hidden; it fades in once you scroll past that lockup (JS toggles
   .is-hidden — see onScrollHeader) */
#headerLogo { transition: opacity 0.3s var(--ease); }
#headerLogo.is-hidden { opacity: 0; pointer-events: none; }
.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* =================================================================== HERO */
.hero { padding-top: clamp(1.75rem, 5vw, 4rem); padding-bottom: clamp(3rem, 8vw, 6rem); }
/* Dark-ink hero variant: bone type on the ink surface, matching the bone-on-dark
   lockup master. Everything below reuses the same hero markup/classes. */
.hero--dark {
  background: var(--ink);
  color: var(--bone);
  padding-top: 0;
  border-radius: 0 0 28px 28px;
  overflow: hidden;
}
.hero--dark .wrap { padding-top: clamp(2.5rem, 7vw, 4.5rem); }
.hero--dark .hero__greet { color: var(--tan); }
.hero--dark .hero__greet .wave { color: var(--orange); }
.hero--dark h1 { color: var(--bone); }
.hero--dark .hero__lead { color: var(--warm-gray); }
.hero--dark .hero__note.meta { color: var(--warm-gray); }
.hero--dark .hero__note .tick { color: var(--orange); }
.hero--dark .hero__caption { color: var(--warm-gray); }
.hero--dark .hero__caption .line { background: var(--taupe-dark); }
.hero--dark .btn--ghost { color: var(--bone); box-shadow: inset 0 0 0 1.5px var(--bone); }
.hero--dark .btn--ghost .arrow { color: var(--orange); }
.hero--dark .btn--ghost:hover { background: var(--bone); color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--bone); }
.hero--dark .tlink { color: var(--orange); }
.hero__greet {
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  font-weight: 600;
  font-size: var(--t-cap);
  color: var(--taupe-mid);
  margin-bottom: 1.1rem;
}
.hero__greet .wave { color: var(--tan-deep); }
.hero h1 {
  font-size: var(--t-display);
  font-weight: 800;
  line-height: 1.06;
  margin-bottom: clamp(1rem, 3vw, 1.6rem);
}
.hero h1 .accent { color: var(--orange); }
.hero__lead { max-width: 30ch; margin-bottom: 1.3rem; }
.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 0.8rem 1.4rem; margin-bottom: 1.1rem; }
.hero__note { display: flex; flex-wrap: wrap; gap: 0.4em 1.2em; }
.hero__note span { display: inline-flex; align-items: center; gap: 0.5em; }
.hero__note .tick { color: var(--tan-deep); font-weight: 800; }

.hero__portrait { margin-top: clamp(2.5rem, 7vw, 4rem); }
.hero__portrait .frame { aspect-ratio: 4 / 3; }
.hero__caption {
  display: flex;
  align-items: baseline;
  gap: 0.6em;
  margin-top: 0.9rem;
  color: var(--taupe-mid);
  font-size: var(--t-cap);
  font-weight: 500;
}
.hero__caption .line { flex: 1; height: 1px; background: var(--warm-gray); }

@media (min-width: 880px) {
  .hero .wrap {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: clamp(2rem, 5vw, 4.5rem);
    align-items: center;
  }
  .hero__portrait { margin-top: 0; }
  .hero__portrait .frame { aspect-ratio: 3 / 3.6; }
  .hero__lead { max-width: 34ch; }
}

/* =================================================================== WORK */
.section-head { max-width: 30ch; margin-bottom: clamp(2.5rem, 6vw, 4rem); }
.section-head h2 { font-size: var(--t-h2); margin-bottom: 1.1rem; }
.section-head .lead { color: var(--taupe-dark); max-width: 42ch; }

.cases { display: grid; gap: clamp(2.75rem, 7vw, 5rem); }
.case { display: grid; gap: clamp(1.4rem, 3.5vw, 2rem); }
.case__media .frame { aspect-ratio: 16 / 11; }
.case__head { display: flex; flex-wrap: wrap; align-items: center; gap: 0.8em; }
.case__num { font-weight: 800; color: var(--warm-gray); font-size: 1rem; letter-spacing: -0.02em; }
.case h3 { font-size: var(--t-h3); margin: 0.7rem 0 0.85rem; }
.case__desc { color: var(--taupe-dark); max-width: 44ch; }
.case__foot { margin-top: 1.2rem; }
.case__meta { display: flex; flex-wrap: wrap; gap: 0.5em 1.4em; margin-top: 1.1rem; }
.case__meta span { font-size: var(--t-cap); font-weight: 500; color: var(--taupe-mid); }

@media (min-width: 800px) {
  .case { grid-template-columns: 1fr 1fr; align-items: center; gap: clamp(2rem, 5vw, 4rem); }
  .case--flip .case__media { order: 2; }
  .case__media .frame { aspect-ratio: 4 / 3.1; }
}

/* ============================================================== DARK BAND */
.band {
  background: var(--ink);
  color: var(--bone);
}
.band .wrap { padding-block: clamp(4rem, 9vw, 7rem); }
.band__quote {
  font-size: clamp(1.7rem, 5vw, 3rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.02em;
  max-width: 20ch;
}
.band__quote .accent { color: var(--orange); }
.band__mark { display: flex; align-items: center; gap: 0.8em; margin-top: 2rem; color: var(--warm-gray); font-size: var(--t-cap); font-weight: 600; }
.band__mark .line { width: 42px; height: 1px; background: var(--taupe-mid); }

/* =============================================================== PACKAGES */
.packages { background: var(--bone-2); }
.pkgs { display: grid; gap: 1.4rem; }
.pkg {
  background: var(--bone);
  border: 1px solid var(--warm-gray);
  border-radius: var(--radius);
  padding: clamp(1.6rem, 4vw, 2.2rem);
  display: flex;
  flex-direction: column;
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease), border-color 0.5s var(--ease);
}
.pkg:hover { transform: translateY(-5px); box-shadow: 0 24px 50px -28px rgba(27,23,15,0.4); border-color: var(--ink); }
.pkg--feat { background: var(--ink); color: var(--bone); border-color: var(--ink); }
.pkg--feat .pkg__desc { color: var(--warm-gray); }
.pkg--feat .pkg__feats li { color: var(--bone); }
.pkg--feat .pkg__feats li::before { color: var(--tan); }
.pkg--feat .pkg__price small { color: var(--warm-gray); }
.pkg__flag {
  align-self: flex-start;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  color: var(--ink);
  background: var(--tan);
  padding: 0.35em 0.8em;
  border-radius: 999px;
  margin-bottom: 1.2rem;
}
.pkg__name { font-size: var(--t-h3); font-weight: 800; letter-spacing: -0.02em; }
.pkg__price { font-size: clamp(2rem, 5vw, 2.6rem); font-weight: 800; letter-spacing: -0.03em; margin: 0.6rem 0 0.1rem; }
.pkg__price small { font-size: 0.92rem; font-weight: 600; color: var(--taupe-mid); letter-spacing: 0; white-space: nowrap; }
.pkg__desc { color: var(--taupe-dark); margin: 0.9rem 0 1.5rem; }
.pkg__feats { list-style: none; padding: 0; margin: 0 0 2rem; display: grid; gap: 0.7rem; }
.pkg__feats li { position: relative; padding-left: 1.6em; font-size: 0.98rem; font-weight: 500; color: var(--taupe-dark); }
.pkg__feats li::before { content: "—"; position: absolute; left: 0; color: var(--tan-deep); font-weight: 800; }
.pkg .btn { margin-top: auto; justify-content: center; }
.pkg--feat .btn { width: 100%; background: var(--bone); color: var(--ink); }
.pkg--feat .btn:hover { box-shadow: 0 16px 32px -16px rgba(236,231,226,0.4); }
.pkg:not(.pkg--feat) .btn { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink); }
.pkg:not(.pkg--feat) .btn:hover { background: var(--ink); color: var(--bone); box-shadow: inset 0 0 0 1.5px var(--ink); transform: translateY(-3px); }
.pkg__care { margin: -1.1rem 0 1.4rem; font-size: var(--t-cap); font-weight: 600; color: var(--tan-deep); line-height: 1.35; }
.pkg--feat .pkg__care { color: var(--tan); }
.pkg-note { margin-top: 2rem; color: var(--taupe-mid); font-size: var(--t-cap); font-weight: 500; max-width: 52ch; }

@media (min-width: 760px) {
  .pkgs { grid-template-columns: repeat(3, 1fr); align-items: stretch; }
  .pkg--feat { transform: translateY(-12px); }
  .pkg--feat:hover { transform: translateY(-17px); }
}

/* ================================================================ PROCESS */
.steps { display: grid; gap: 0; }
.step {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: clamp(1rem, 4vw, 2.4rem);
  align-items: start;
  padding-block: clamp(1.6rem, 4vw, 2.4rem);
  border-top: 1px solid var(--warm-gray);
}
.step:last-child { border-bottom: 1px solid var(--warm-gray); }
.step__num {
  font-size: clamp(2.4rem, 8vw, 4.2rem);
  font-weight: 800;
  line-height: 0.9;
  letter-spacing: -0.04em;
  color: var(--tan-deep);
  font-variant-numeric: tabular-nums;
}
.step h3 { font-size: var(--t-h3); margin-bottom: 0.6rem; }
.step p { color: var(--taupe-dark); max-width: 46ch; }

@media (min-width: 760px) {
  .step { grid-template-columns: 5.5rem 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
}

/* ================================================================== ABOUT */
.about > .wrap { display: grid; gap: clamp(2rem, 6vw, 3.5rem); }
.about__media .frame { aspect-ratio: 4 / 5; max-width: 420px; }
.about h2 { font-size: var(--t-h2); margin-bottom: 1.4rem; }
.about p + p { margin-top: 1.1rem; }
.about__body p { color: var(--taupe-dark); max-width: 52ch; }
.about__sign { margin-top: 1.8rem; font-weight: 700; font-size: 1.35rem; letter-spacing: -0.02em; color: var(--ink); }
.about__social { margin-top: 1rem; font-size: var(--t-cap); font-weight: 500; color: var(--taupe-mid); }
.about__social a { color: var(--orange); font-weight: 600; }
.about__social a:hover { text-decoration: underline; text-underline-offset: 3px; }

@media (min-width: 860px) {
  .about > .wrap { grid-template-columns: 0.85fr 1.15fr; align-items: center; gap: clamp(3rem, 6vw, 5rem); }
}

/* ================================================================ FINAL CTA */
.final { background: var(--ink); color: var(--bone); }
.final .wrap { padding-block: clamp(5rem, 12vw, 9rem); text-align: center; }
.final h2 {
  font-size: clamp(2.3rem, 8vw, 5rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  max-width: 16ch;
  margin: 0 auto 1.5rem;
}
.final h2 .accent { color: var(--orange); }
.final__sub { color: var(--warm-gray); font-size: var(--t-lead); font-weight: 500; max-width: 40ch; margin: 0 auto 2.4rem; line-height: 1.4; }
.final__social { margin: 2rem auto 0; font-size: var(--t-cap); font-weight: 500; color: var(--warm-gray); }
.final__social a { color: var(--bone); font-weight: 600; text-underline-offset: 3px; text-decoration: underline; text-decoration-color: rgba(255,255,255,0.3); }
.final__social a:hover { color: var(--orange); text-decoration-color: var(--orange); }

/* ================================================================== FOOTER */
.footer { background: var(--ink); color: var(--warm-gray); border-top: 1px solid var(--taupe-dark); }
.footer .wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 1.4rem 2rem;
  align-items: center;
  justify-content: space-between;
  padding-block: 2.4rem;
}
.footer .wordmark { color: var(--bone); }
.footer__right { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.8rem; }
.footer__meta { display: flex; flex-wrap: wrap; gap: 0.4em 1.4em; font-size: var(--t-cap); font-weight: 500; }
.footer__meta a { color: var(--warm-gray); }
.footer__meta a:hover { color: var(--orange); }
.footer__social { display: flex; gap: 0.5rem; }
.footer__social a {
  display: inline-flex; align-items: center; justify-content: center;
  width: 38px; height: 38px; border-radius: 999px; color: var(--warm-gray);
  box-shadow: inset 0 0 0 1px var(--taupe-dark);
  transition: color 0.2s var(--ease), background 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.footer__social a:hover { color: var(--bone); background: var(--orange); box-shadow: inset 0 0 0 1px var(--orange); }

/* ================================================================== REVEAL */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: 0.08s; }
.reveal[data-delay="2"] { transition-delay: 0.16s; }
.reveal[data-delay="3"] { transition-delay: 0.24s; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
  .frame .px-inner { transform: none !important; }
}

/* ==================================================================== BLOG */
/* Header nav (wordmark + Blog link + CTA) */
.site-nav { display: flex; align-items: center; gap: clamp(1rem, 3vw, 1.8rem); }
.nav-link {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--ink);
  letter-spacing: -0.01em;
  transition: color 0.2s ease;
}
.nav-link:hover { color: var(--orange); }
/* On the homepage's on-hero (dark) header state the link must read bone,
   flipping back to ink once the header scrolls onto the light background. */
.site-header--onhero .nav-link { color: var(--bone); }
.site-header--onhero .nav-link:hover { color: var(--orange); }
.site-header--onhero.scrolled .nav-link { color: var(--ink); }
.site-header--onhero.scrolled .nav-link:hover { color: var(--orange); }

/* Blog listing hero */
.blog-hero { padding-bottom: clamp(2.5rem, 6vw, 4rem); }
.blog-hero__lead { max-width: 50ch; }

/* Listing grid */
.post-list-section { padding-top: 0; }
.post-list { display: grid; gap: clamp(1.2rem, 3vw, 1.8rem); }
.post-card {
  border: 1px solid var(--warm-gray);
  border-radius: var(--radius);
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease), border-color 0.5s var(--ease);
}
.post-card:hover { transform: translateY(-4px); box-shadow: 0 24px 50px -28px rgba(27,23,15,0.4); border-color: var(--ink); }
.post-card__link { display: block; padding: clamp(1.5rem, 4vw, 2.2rem); color: var(--ink); }
.post-card__meta { margin-bottom: 0.7rem; }
.post-card__title { font-size: var(--t-h3); font-weight: 800; letter-spacing: -0.025em; line-height: 1.08; margin-bottom: 0.8rem; }
.post-card:hover .post-card__title { color: var(--orange); }
.post-card__excerpt { color: var(--taupe-dark); max-width: 60ch; margin-bottom: 1.1rem; }
.post-card__tags { display: inline-flex; flex-wrap: wrap; gap: 0.5em; }
.post-card__more { margin-top: 1.1rem; display: inline-flex; }

@media (min-width: 800px) {
  .post-list { grid-template-columns: repeat(2, 1fr); }
}

/* Single post */
.post { padding-block: clamp(2.5rem, 6vw, 4.5rem) clamp(3.5rem, 8vw, 6rem); }
.post__wrap { max-width: 720px; }
.post__head { margin-bottom: clamp(2rem, 5vw, 3rem); }
.post__meta { margin-bottom: 1rem; }
.post__head h1 {
  font-size: clamp(2.1rem, 6.5vw, 3.4rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.05;
  margin-bottom: 1.2rem;
}
.post__lead { color: var(--taupe-dark); margin-bottom: 1.4rem; }
.post__tags { display: flex; flex-wrap: wrap; gap: 0.5em; }

/* Prose body — generous measure, editorial rhythm */
.prose { font-size: clamp(1.08rem, 2.6vw, 1.2rem); line-height: 1.72; color: var(--taupe-dark); }
.prose > * + * { margin-top: 1.4rem; }
.prose h2 { font-size: clamp(1.5rem, 4.5vw, 2rem); color: var(--ink); letter-spacing: -0.02em; line-height: 1.12; margin-top: 2.6rem; }
.prose h3 { font-size: clamp(1.25rem, 3.8vw, 1.5rem); color: var(--ink); letter-spacing: -0.015em; margin-top: 2rem; }
.prose p { color: var(--taupe-dark); }
.prose strong { color: var(--ink); font-weight: 700; }
.prose a { color: var(--orange); font-weight: 600; text-underline-offset: 3px; text-decoration: underline; text-decoration-color: rgba(217,104,51,0.35); }
.prose a:hover { text-decoration-color: var(--orange); }
.prose ul, .prose ol { padding-left: 1.3em; display: grid; gap: 0.6rem; }
.prose li { color: var(--taupe-dark); }
.prose li::marker { color: var(--tan-deep); }
.prose blockquote {
  margin: 2rem 0; padding: 0.4rem 0 0.4rem 1.4rem;
  border-left: 3px solid var(--tan-deep);
  color: var(--ink); font-style: italic;
}
.prose blockquote p { color: var(--ink); }
.prose code {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.88em; background: color-mix(in srgb, var(--warm-gray) 35%, transparent);
  padding: 0.15em 0.4em; border-radius: 6px; color: var(--ink);
}
.prose pre {
  background: var(--ink); color: var(--bone);
  padding: 1.2rem 1.4rem; border-radius: var(--radius);
  overflow-x: auto; font-size: 0.92rem; line-height: 1.55;
}
.prose pre code { background: none; padding: 0; color: inherit; font-size: inherit; }
.prose hr { border: none; border-top: 1px solid var(--warm-gray); margin: 2.6rem 0; }

/* Figures / images */
.prose .post-figure { margin: 2.2rem 0; }
.prose figure img,
.prose > img {
  display: block; width: 100%; height: auto;
  border-radius: var(--radius);
  border: 1px solid var(--warm-gray);
}
.prose figcaption {
  margin-top: 0.7rem; font-size: var(--t-cap);
  color: var(--taupe-mid); text-align: center;
}

/* Pipe tables — scroll on small screens */
.prose .table-wrap { margin: 2rem 0; overflow-x: auto; -webkit-overflow-scrolling: touch; }
.prose table {
  width: 100%; border-collapse: collapse;
  font-size: 0.96em; line-height: 1.5;
}
.prose thead th {
  text-align: left; vertical-align: bottom;
  color: var(--ink); font-weight: 700;
  padding: 0.7rem 0.9rem;
  border-bottom: 2px solid var(--tan-deep);
}
.prose tbody td {
  vertical-align: top;
  padding: 0.7rem 0.9rem;
  border-bottom: 1px solid var(--warm-gray);
}
.prose tbody tr:last-child td { border-bottom: none; }

.post__foot { margin-top: clamp(2.5rem, 6vw, 3.5rem); padding-top: 2rem; border-top: 1px solid var(--warm-gray); }
.post-source { font-size: var(--t-cap); color: var(--taupe-mid); margin-top: 1rem; }
.post-source a { font-weight: 600; }

/* ============================================ CARD GRIDS (doors, install, trust) */
.grid { display: grid; gap: 1.4rem; }
.grid--3 { grid-template-columns: 1fr; }
.grid--auto { grid-template-columns: 1fr; }
@media (min-width: 680px) { .grid--auto { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 760px) { .grid--3 { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1000px) { .grid--auto { grid-template-columns: repeat(3, 1fr); } }

.gcard {
  background: var(--bone);
  border: 1px solid var(--warm-gray);
  border-radius: var(--radius);
  padding: clamp(1.5rem, 3.5vw, 2.1rem);
  display: flex;
  flex-direction: column;
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease), border-color 0.5s var(--ease);
}
.gcard:hover { transform: translateY(-5px); box-shadow: 0 24px 50px -28px rgba(27,23,15,0.4); border-color: var(--ink); }
.gcard h3 { font-size: 1.32rem; letter-spacing: -0.02em; line-height: 1.12; margin: 0 0 0.6rem; }
.gcard p { color: var(--taupe-dark); font-size: 0.98rem; }
.gcard__label {
  align-self: flex-start;
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.03em;
  color: var(--ink); background: var(--tan);
  padding: 0.35em 0.8em; border-radius: 999px; margin-bottom: 1rem;
}
.gcard__num { font-size: 1rem; font-weight: 800; color: var(--warm-gray); letter-spacing: -0.02em; margin-bottom: 0.9rem; }
.gcard--soft {
  background: linear-gradient(160deg, color-mix(in srgb, var(--tan) 32%, var(--bone)) 0%, var(--bone) 100%);
  border-color: var(--tan);
}
.gcard--trust:hover { transform: none; box-shadow: none; border-color: var(--warm-gray); }

/* ====================================================== PROOF (dog-fooded stack) */
.proof-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.9rem 2.2rem; }
.proof-list li { position: relative; padding-left: 1.9em; color: var(--taupe-dark); font-weight: 500; font-size: 1rem; line-height: 1.5; }
.proof-list .tick { position: absolute; left: 0; top: 0; color: var(--tan-deep); font-weight: 800; }
@media (min-width: 720px) { .proof-list { grid-template-columns: 1fr 1fr; } }

.proof-powr { margin-top: clamp(2.75rem, 6vw, 4rem); display: grid; gap: clamp(1.4rem, 3.5vw, 2rem); align-items: center; }
.proof-powr__media .frame { aspect-ratio: 16 / 11; }
.proof-powr__body .tag { margin-bottom: 1rem; }
.proof-powr__body h3 { font-size: var(--t-h3); margin: 0.4rem 0 0.8rem; }
.proof-powr__body p { color: var(--taupe-dark); max-width: 46ch; margin-bottom: 1.1rem; }
@media (min-width: 800px) {
  .proof-powr { grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); }
  .proof-powr__media .frame { aspect-ratio: 4 / 3.1; }
}

/* ====================================================== GUARANTEE BAND */
.eyebrow--ondark { color: var(--tan); }
.band--guarantee .wrap { padding-block: clamp(3.75rem, 8vw, 6rem); }
.glist { display: grid; gap: 1.8rem; margin-top: 1.6rem; }
.gitem h3 { font-size: 1.4rem; color: var(--bone); letter-spacing: -0.02em; margin-bottom: 0.55rem; }
.gitem p { color: var(--warm-gray); max-width: 40ch; }
@media (min-width: 760px) { .glist { grid-template-columns: repeat(3, 1fr); gap: 2.6rem; } }

/* ====================================================== TRUST ROW (in About) */
.trust { margin-top: clamp(2.75rem, 6vw, 4rem); }

/* ====================================================== SECTION TINT (banding) */
/* Subtle warm ground that lets bordered cards lift off it and breaks up the
   long light middle of the page. Cards stay --bone, so they read as figures. */
.section--tint { background: var(--bone-2); }

/* ====================================================== PROOF STRIP (under hero) */
.proofstrip { border-block: 1px solid var(--warm-gray); }
.proofstrip .wrap { padding-block: clamp(1.5rem, 4vw, 2.1rem); display: grid; gap: 1.1rem; }
.proofstrip__lead { font-size: var(--t-cap); font-weight: 700; letter-spacing: 0.02em; color: var(--ink); }
.proofstrip__items { list-style: none; padding: 0; margin: 0; display: grid; gap: 1rem; }
.proofstrip__items li {
  display: flex; gap: 0.65em; align-items: flex-start;
  font-size: 0.96rem; font-weight: 500; color: var(--taupe-dark); line-height: 1.45;
}
.proofstrip__items .tick { color: var(--tan-deep); font-weight: 800; flex: none; }
.proofstrip__items strong { color: var(--ink); font-weight: 700; }
@media (min-width: 760px) {
  .proofstrip__items { grid-template-columns: repeat(3, 1fr); gap: 2.2rem; }
}

/* ====================================================== CLOSED-LOOP RIBBON (install) */
/* Renders the unique mechanism as a visible cycle instead of one more card grid. */
.loop { margin-bottom: clamp(2.5rem, 6vw, 3.75rem); }
.loop__img { display: block; width: 100%; max-width: 560px; height: auto; margin: 0 auto 1.4rem; }
.loop__track { list-style: none; padding: 0; margin: 0 0 1.2rem; display: flex; flex-direction: column; gap: 0.5rem; }
.loop__node {
  display: inline-flex; align-items: center; gap: 0.6em;
  background: var(--bone); border: 1px solid var(--warm-gray); border-radius: 999px;
  padding: 0.7em 1.15em; font-weight: 700; font-size: 0.94rem; color: var(--ink); letter-spacing: -0.01em;
}
.loop__i { font-size: 0.7rem; font-weight: 800; color: var(--tan-deep); letter-spacing: 0.02em; }
.loop__arrow { display: flex; align-items: center; justify-content: center; color: var(--tan-deep); font-weight: 800; line-height: 1; font-size: 1.1rem; }
.loop__arrow::before { content: "\2193"; } /* ↓ on mobile */
.loop__return {
  display: inline-flex; align-items: center; gap: 0.5em;
  background: var(--ink); color: var(--bone); border-radius: 999px;
  padding: 0.6em 1.1em; font-size: 0.8rem; font-weight: 700; align-self: flex-start;
}
.loop__return .cyc { color: var(--orange); font-size: 1.05rem; line-height: 1; }
.loop__cap { color: var(--taupe-dark); max-width: 62ch; font-size: 0.98rem; }
@media (min-width: 820px) {
  .loop__track { flex-direction: row; flex-wrap: wrap; align-items: center; gap: 0.45rem 0.4rem; }
  .loop__arrow::before { content: "\2192"; } /* → on desktop */
  .loop__return { align-self: center; }
}

/* ====================================================== FAQ (objection-handling) */
.faq__list { display: grid; gap: 0.9rem; max-width: 860px; }
.faq__item { border: 1px solid var(--warm-gray); border-radius: var(--radius); background: var(--bone); transition: border-color 0.3s ease; }
.faq__item[open] { border-color: var(--ink); }
.faq__q {
  cursor: pointer; list-style: none;
  display: flex; align-items: flex-start; justify-content: space-between; gap: 1.2rem;
  padding: clamp(1.05rem, 3vw, 1.4rem) clamp(1.1rem, 3.2vw, 1.6rem);
  font-weight: 700; font-size: 1.06rem; color: var(--ink); letter-spacing: -0.01em; line-height: 1.3;
}
.faq__q::-webkit-details-marker { display: none; }
.faq__q::after { content: "+"; font-weight: 700; color: var(--tan-deep); font-size: 1.5rem; line-height: 0.9; flex: none; }
.faq__item[open] .faq__q::after { content: "\2013"; } /* – */
.faq__a { padding: 0 clamp(1.1rem, 3.2vw, 1.6rem) clamp(1.2rem, 3.2vw, 1.5rem); color: var(--taupe-dark); max-width: 70ch; }
.faq__a a { font-weight: 600; }

/* =========================================================================
   FULLSCREEN HERO + MONTFORT NAV + AGENTS DIAGRAM (2026-07 redesign)
   Additive block only — every selector above is untouched. New class
   vocabulary: .hero-screen*, .nav-link--caps, .site-header--float,
   .agents-stage / .agents-svg / .agents-index*.
   ========================================================================= */

/* --------------------------------------------- montfort-style caps nav */
.nav-link--caps {
  text-transform: uppercase;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
}
@media (max-width: 879px) {
  /* keep the header lean on small screens: only Blog (persist) survives */
  .nav-link--caps:not(.nav-link--persist) { display: none; }
}

/* ------------------------------- floating header over the fullscreen hero */
/* Fixed (not sticky) so the transparent bar sits ON the hero image; flips to
   the standard bone treatment via the existing .scrolled toggle. */
.site-header--float { position: fixed; top: 0; left: 0; right: 0; }
.site-header--onhero.site-header--float {
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
.site-header--onhero.site-header--float.scrolled {
  background: color-mix(in srgb, var(--bone) 86%, transparent);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-color: var(--warm-gray);
}
/* fixed header overlays anchored sections — give jump targets clearance */
#proofstrip, #doors, #agents, #proof, #process, #about, #faq {
  scroll-margin-top: 5.5rem;
}

/* ------------------------------------------------- fullscreen hero screen */
/* Base = mobile flow (zones stack, pinned to the darkest bottom band of the
   photo). Desktop placement is absolute, in the ≥721px block below. */
.hero-screen {
  position: relative;
  min-height: 100vh;   /* fallback */
  min-height: 100svh;
  background: var(--ink);
  color: var(--bone);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 1.15rem;
  padding: 5.4rem var(--pad) 1.5rem;
}
.hero-screen__bg { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
.hero-screen__bg img {
  position: absolute;
  inset: -6% 0;             /* overscan so the JS parallax never shows edges */
  width: 100%;
  height: 112%;
  object-fit: cover;
  object-position: center 58%;
  will-change: transform;
}
/* Contrast scrim: ink band up top (bone header text over pale sky), gentle
   middle, heavy ink at the foot; plus a soft right-center pool behind the
   message block where the fog band is brightest. */
.hero-screen__scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(58% 52% at 72% 46%, rgba(27,23,15,0.38) 0%, rgba(27,23,15,0) 70%),
    linear-gradient(to bottom,
      rgba(27,23,15,0.80) 0%,
      rgba(27,23,15,0.78) 7%,
      rgba(27,23,15,0.35) 22%,
      rgba(27,23,15,0.30) 44%,
      rgba(27,23,15,0.50) 74%,
      rgba(27,23,15,0.80) 100%);
}
.hero-screen__brand,
.hero-screen__tagline,
.hero-screen__msg,
.hero-screen__card,
.hero-screen__cue,
.hero-screen__chip { position: relative; z-index: 2; }

/* zone: oversized brand statement (decorative) */
.hero-screen__brand {
  color: var(--bone);
  opacity: 0.95;
}
.hero-screen__lockup {
  display: block;
  width: clamp(15rem, 64vw, 22rem);
  height: auto;
}

/* zone: small-caps tagline */
.hero-screen__tagline {
  /* block + inline text (not flex): the ✶ flows inline with the caps so it
     never orphans onto its own line when the label wraps on mobile */
  display: block;
  align-self: flex-start;          /* hug content, don't stretch the column */
  width: fit-content;
  max-width: min(100%, 15rem);     /* wrap the caps into two tidy lines */
  text-align: left;
  font-size: var(--t-cap);
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  line-height: 1.5;
  color: var(--tan);
  margin: 0 0 0.6rem;
  /* ink chip: the tan caps sit over the brightest sky band, so they carry
     their own near-solid ink backdrop (WCAG 4.5:1 for the 13px caps) */
  background: color-mix(in srgb, var(--ink) 72%, transparent);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  padding: 0.5em 1em;
  border-radius: 999px;
}
.hero-screen__tagline .wave { color: var(--orange); letter-spacing: 0; margin-right: 0.4em; }

/* zone: message block (h1 + lead + CTAs) */
/* Same translucent-ink + blur panel as the caption card: the fog band behind
   this zone is too bright for readable type on the bare photo (WCAG). */
.hero-screen__msg {
  background: color-mix(in srgb, var(--ink) 58%, transparent);
  -webkit-backdrop-filter: blur(9px);
  backdrop-filter: blur(9px);
  border: 1px solid color-mix(in srgb, var(--bone) 20%, transparent);
  border-radius: var(--radius);
  padding: clamp(1.15rem, 2.6vw, 1.7rem);
  /* size the headline against THIS panel's width so each phrase always fits
     on one line, at every breakpoint (see the cqi font-size below) */
  container-type: inline-size;
}
.hero-screen__msg h1 {
  /* panel-relative sizing keeps "Raise your margins" and "without another
     hire." each on their own single line whatever the panel width is */
  font-size: clamp(1.3rem, 6.9cqi, 3rem);
  color: var(--bone);
  letter-spacing: -0.025em;
  line-height: 1.08;
  margin: 0 0 clamp(1rem, 2.5vw, 1.5rem);
}
/* each phrase is its own line and never wraps mid-phrase */
.hero-screen__msg h1 .hl-line,
.hero-screen__msg h1 .accent {
  display: block;
  white-space: nowrap;
}
/* Orange type can't reach WCAG ratios over the photo/panel (only on near-solid
   ink), so on-photo accents render bone with orange as decoration only. */
.hero-screen__msg h1 .accent {
  color: var(--bone);
  text-decoration: underline;
  text-decoration-color: var(--orange);
  text-decoration-thickness: 0.055em;
  text-underline-offset: 0.14em;
}
.hero-screen__actions .tlink { color: var(--bone); }
.hero-screen__actions .tlink .arrow { color: var(--orange); }
.hero-screen__actions .tlink::after { background: var(--orange); }
.hero-screen__lead {
  font-size: clamp(1.05rem, 2.4vw, 1.28rem);
  font-weight: 500;
  line-height: 1.5;
  color: color-mix(in srgb, var(--bone) 86%, var(--ink));
  max-width: 44ch;
  margin: 0 0 1.5rem;
}
.hero-screen__actions {
  /* mobile: stack flush-left so the CTA and tlink line up with the h1/lead
     left edge; desktop restores the side-by-side row (≥721 block below) */
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.9rem;
}

/* zone: translucent ink caption card */
.hero-screen__card {
  max-width: 21.5rem;
  padding: 1.05rem 1.25rem;
  background: color-mix(in srgb, var(--ink) 58%, transparent);
  -webkit-backdrop-filter: blur(9px);
  backdrop-filter: blur(9px);
  border: 1px solid color-mix(in srgb, var(--bone) 20%, transparent);
  border-radius: var(--radius);
}
.hero-screen__card-kicker {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--tan);
  margin: 0;
}
.hero-screen__card-rule {
  display: block;
  width: 44px;
  height: 1px;
  background: var(--orange);
  margin: 0.7rem 0;
}
.hero-screen__card-note {
  font-size: 0.94rem;
  font-weight: 500;
  line-height: 1.5;
  color: color-mix(in srgb, var(--bone) 92%, var(--ink));
  margin: 0;
}

/* zone: scroll cue */
.hero-screen__cue {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  align-self: center;
  text-align: center;
  color: var(--bone);
}
.hero-screen__cue-label {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  opacity: 0.82;
}
.hero-screen__cue-circle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid color-mix(in srgb, var(--bone) 45%, transparent);
  color: var(--bone);
  transition: border-color 0.3s ease, color 0.3s ease;
}
.hero-screen__cue:hover .hero-screen__cue-circle {
  border-color: var(--orange);
  color: var(--orange);
}
@keyframes cue-bob {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(7px); }
}

/* zone: live chip */
.hero-screen__chip {
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  align-self: flex-end;
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: color-mix(in srgb, var(--bone) 85%, transparent);
  margin: 0;
}
.hero-screen__chip-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--orange);
  flex: none;
  box-shadow: 0 0 0 0 rgba(217,104,51,0.7);
}

/* motion (opt-in only; reduced-motion never sees these) */
@media (prefers-reduced-motion: no-preference) {
  .hero-screen__cue-circle { animation: cue-bob 2.7s var(--ease) infinite; }
  .hero-screen__chip-dot { animation: pulse 2.4s infinite; }
}

/* desktop: six-zone editorial placement */
@media (min-width: 721px) {
  .hero-screen { display: block; padding: 0; }
  .hero-screen__brand {
    position: absolute;
    left: var(--pad);
    top: clamp(8.5rem, 18vh, 11rem);
  }
  .hero-screen__brand .hero-screen__lockup { width: clamp(18rem, 34vw, 30rem); }
  .hero-screen__tagline {
    position: absolute;
    top: 5.4rem;             /* just under the floating header */
    left: 0;
    right: 0;
    width: max-content;
    max-width: calc(100% - 2 * var(--pad));
    margin-inline: auto;
    text-align: center;
  }
  .hero-screen__msg {
    position: absolute;
    right: var(--pad);
    top: 50%;
    transform: translateY(-45%);
    width: min(34rem, 46vw);
  }
  .hero-screen__actions {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.8rem 1.4rem;
  }
  .hero-screen__card {
    position: absolute;
    left: var(--pad);
    /* min 6.5rem keeps the card's bottom edge above the centered cue label
       (label top ≈ viewport bottom − 90px) at every window height */
    bottom: clamp(6.5rem, 12vh, 8rem);
  }
  .hero-screen__cue {
    position: absolute;
    bottom: 1.5rem;
    left: 0;
    right: 0;
    width: max-content;
    margin-inline: auto;
  }
  .hero-screen__chip {
    position: absolute;
    right: var(--pad);
    bottom: 1.9rem;
  }
}
/* short desktop viewports: tighten so zones never collide */
@media (min-width: 721px) and (max-height: 700px) {
  .hero-screen__brand { top: 7rem; }
  .hero-screen__brand .hero-screen__lockup { width: clamp(16rem, 30vw, 26rem); }
  .hero-screen__msg { width: min(30rem, 46vw); transform: translateY(-42%); }
  .hero-screen__lead { font-size: 1.02rem; max-width: 40ch; margin-bottom: 1.1rem; }
  .hero-screen__card { max-width: 19rem; bottom: 6rem; padding: 0.9rem 1.1rem; }
  .hero-screen__card-note { font-size: 0.88rem; }
}
/* narrow desktop band: shrink the card and msg so card, cue, and msg can
   never intersect at any window height (card right edge stays left of the
   centered cue; msg left edge stays right of the card) */
@media (min-width: 721px) and (max-width: 979px) {
  .hero-screen__msg { width: min(30rem, 44vw); }
  .hero-screen__lead { font-size: 1.02rem; max-width: 40ch; margin-bottom: 1.1rem; }
  .hero-screen__card { max-width: 17rem; bottom: clamp(6.5rem, 12vh, 8rem); }
}
/* very large screens: right-anchoring strands the message in the far corner, so
   pull it to the horizontal center of the viewport (still vertically centered) */
@media (min-width: 1600px) {
  .hero-screen__msg {
    right: auto;
    left: 50%;
    transform: translate(-50%, -45%);
  }
}

/* ------------------------------------------ agents exploded-stack diagram */
.agents-stage { display: none; margin: 0 0 clamp(2rem, 5vw, 3rem); }
@media (min-width: 880px) {
  .agents-stage { display: block; }
}
.agents-svg {
  display: block;
  width: 100%;
  max-width: 980px;
  height: auto;
  margin-inline: auto;
}
@keyframes agents-drift {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-6px); }
}
@media (prefers-reduced-motion: no-preference) {
  .agents-svg { animation: agents-drift 9s ease-in-out infinite; }
}
.agent-callout text { transition: fill 0.25s ease; }
.agent-callout.is-hot text { fill: var(--orange); }

/* agent index — the mobile fallback list, doubling as the desktop legend
   (the diagram carries names only; descriptions live here at every width) */
.agents-index {
  list-style: none;
  counter-reset: agent;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0;
}
.agents-index__item {
  counter-increment: agent;
  padding: 1.15rem 0;
  border-top: 1px solid var(--warm-gray);
  display: grid;
  gap: 0.35rem;
  align-content: start;
}
.agents-index__item::before {
  content: counter(agent, decimal-leading-zero);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--tan-deep);
}
.agents-index__item h3 { font-size: 1.18rem; letter-spacing: -0.015em; line-height: 1.15; margin: 0; }
.agents-index__item p { color: var(--taupe-dark); font-size: 0.96rem; margin: 0; }
@media (min-width: 680px) {
  .agents-index { grid-template-columns: repeat(2, 1fr); column-gap: 2.4rem; }
}
@media (min-width: 1000px) {
  .agents-index { grid-template-columns: repeat(3, 1fr); }
}

/* reduced-motion belt-and-braces for this block */
@media (prefers-reduced-motion: reduce) {
  .hero-screen__cue-circle,
  .hero-screen__chip-dot,
  .agents-svg { animation: none !important; }
  .hero-screen__bg img { inset: 0; height: 100%; }
}

/* =========================================================================
   BELOW-THE-FOLD EDITORIAL COHESION (2026-07 redesign, part 2)
   Ties the page's section heads, labels, and bands to the hero + agents-diagram
   caps-forward language (montfort nav / anime.js labels): uppercase, letter-
   spaced eyebrows led by a hairline orange rule, caps micro-labels, and a
   blueprint hairline over each major section head. Append-only overrides —
   no rule above is edited.
   ========================================================================= */

/* eyebrows: uppercase, tracked, with a leading orange hairline (echoes the
   diagram's leader lines and the montfort active-underline) */
.eyebrow {
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--tan-deep);
}
.eyebrow::before {
  content: "";
  display: inline-block;
  vertical-align: middle;
  width: 1.7em;
  height: 1px;
  margin: -0.15em 0.72em 0 0;
  background: var(--orange);
}
.eyebrow--ondark { color: var(--tan); }

/* section heads: a little more editorial room + tighter display tracking */
.section-head { max-width: 34ch; }
.section-head h2 { letter-spacing: -0.03em; }

/* micro-labels (card flags, tags): caps to match the nav + diagram labels */
.gcard__label,
.pkg__flag,
.tag {
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.68rem;
}

/* dark-band kicker: caps + wide tracking like the hero tagline */
.band__mark {
  text-transform: uppercase;
  letter-spacing: 0.16em;
}
