/* PBM Consulting Service — the case-file/certificate concept:
   left-aligned, folder-tab section markers, one bold stamp moment in the
   hero, everything else quiet and disciplined. */

:root {
  --paper: #EFEAD9;
  --paper-dark: #E4DDC6;
  --ink: #2B2620;
  --forest: #1F3D2B;
  --oxblood: #8C2F1B;
  --brass: #A6832E;
  --line: #CFC6A8;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: 'IBM Plex Sans', system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.6;
}

h1, h2, h3 {
  font-family: 'Fraunces', Georgia, serif;
  color: var(--forest);
  margin: 0 0 0.5em;
  font-weight: 600;
  line-height: 1.15;
}

p { margin: 0 0 1em; max-width: 62ch; }

a { color: var(--oxblood); }

/* ── masthead ─────────────────────────────────────────────────────── */
.masthead {
  padding: 28px clamp(20px, 6vw, 64px) 0;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
/* the pink bee (Jerry, 2026-09-30): one on every page, flying top right */
.bee { width: 48px; height: auto; display: block; transform: rotate(-8deg); }
.wordmark { height: 44px; width: auto; display: block; }

/* ── hero ─────────────────────────────────────────────────────────── */
.hero {
  padding: 40px clamp(20px, 6vw, 64px) 64px;
  display: grid;
  grid-template-columns: 1fr 220px;
  gap: 40px;
  align-items: start;
}
.hero h1 {
  font-size: clamp(28px, 4vw, 44px);
  max-width: 16ch;
}
.hero .lede { font-size: 18px; }

.stamp {
  grid-row: 1 / 3;
  grid-column: 2;
  justify-self: end;
  width: 200px;
  transform: rotate(-9deg);
  opacity: 0.94;
}
.stamp svg { width: 100%; height: auto; }

.cta {
  display: inline-block;
  background: var(--oxblood);
  color: var(--paper);
  text-decoration: none;
  font-weight: 600;
  padding: 14px 28px;
  border-radius: 3px;
  margin-top: 8px;
}
.cta:hover { background: #6f2414; }
.cta-outline {
  background: transparent;
  border: 2px solid var(--oxblood);
  color: var(--oxblood);
  padding: 12px 26px;
}
.cta-outline:hover { background: var(--oxblood); color: var(--paper); }

/* ── folio sections (the case-file device) ───────────────────────── */
.folio {
  display: grid;
  grid-template-columns: 64px 1fr;
  border-top: 1px solid var(--line);
}
.folio:last-of-type { border-bottom: 1px solid var(--line); }

.tab {
  background: var(--forest);
  color: var(--paper);
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  font-family: 'IBM Plex Sans', sans-serif;
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.06em;
  padding: 24px 0;
  text-align: center;
  white-space: nowrap;
}

.folio-body {
  padding: 40px clamp(20px, 5vw, 56px) 44px;
  background: var(--paper-dark);
}
.folio.start .folio-body { background: var(--paper); }

/* ── categories ───────────────────────────────────────────────────── */
.cat-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px 40px;
}
.cat h3 { font-size: 19px; margin-bottom: 0.3em; }
.cat p { margin: 0; font-size: 15px; }

/* ── process steps ────────────────────────────────────────────────── */
.steps { list-style: none; margin: 0; padding: 0; }
.steps li {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  padding: 18px 0;
  border-top: 1px solid var(--line);
}
.steps li:first-child { border-top: none; }
.steps .num {
  font-family: 'Fraunces', serif;
  font-size: 28px;
  font-weight: 600;
  color: var(--brass);
  min-width: 1.4ch;
}
.steps h3 { font-size: 18px; margin-bottom: 0.2em; }
.steps p { margin: 0; font-size: 15px; }

/* ── footer ───────────────────────────────────────────────────────── */
footer {
  padding: 32px clamp(20px, 6vw, 64px) 48px;
  font-size: 14px;
  color: var(--ink);
  display: flex;
  flex-wrap: wrap;
  gap: 16px 40px;
  justify-content: space-between;
  border-top: 1px solid var(--line);
}
footer strong { color: var(--forest); }
.disclaimer { max-width: 40ch; opacity: 0.75; }

/* ── focus visibility ─────────────────────────────────────────────── */
a:focus-visible, .cta:focus-visible {
  outline: 3px solid var(--brass);
  outline-offset: 2px;
}

/* ── motion respect ───────────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

/* ── mobile ───────────────────────────────────────────────────────── */
@media (max-width: 760px) {
  .hero {
    grid-template-columns: 1fr;
  }
  .stamp {
    grid-row: 1;
    grid-column: 1;
    justify-self: start;
    width: 140px;
    margin-bottom: 8px;
  }
  .folio { grid-template-columns: 1fr; }
  .tab {
    writing-mode: horizontal-tb;
    transform: none;
    text-align: left;
    padding: 10px 20px;
  }
  .cat-grid { grid-template-columns: 1fr; }
}

/* legal pages — were inline style="" attributes, which the site CSP
   (style-src without unsafe-inline) blocks */
.no-rule { border-top: none; }
.doc-meta { font-size: 13px; color: #5a5346; }

/* ── Set-Aside Radar page (radar.html) ────────────────────────────── */
.kicker { font-size: 13px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--oxblood); margin: 0 0 0.6em; }
.radar-hero { display: block; }
.radar-hero h1 { max-width: 24ch; }

.sample-digest { background: #fff; border: 1px solid var(--line); padding: 20px 22px; max-width: 560px; font-family: Georgia, serif; }
.sample-kicker { font: 600 11px 'IBM Plex Sans', sans-serif; letter-spacing: 0.14em; color: var(--oxblood); margin: 0; }
.sample-title { font-size: 19px; font-weight: bold; color: var(--forest); margin: 2px 0 10px; padding-bottom: 10px; border-bottom: 2px solid var(--forest); }
.sample-item { padding: 12px 0; border-bottom: 1px solid var(--line); }
.sample-bid { font-weight: bold; margin: 6px 0 2px; }
.sample-meta { font-size: 13px; color: #5a5346; margin: 0; }
.sample-meta strong { color: var(--ink); }
.sample-meta .urgent { color: var(--oxblood); }
.sample-foot { font-size: 12px; color: #5a5346; margin: 12px 0 0; }
.badge { display: inline-block; font: 600 11px 'IBM Plex Sans', sans-serif; letter-spacing: 0.08em; color: #fff; background: var(--forest); padding: 2px 7px; }

.apply-form { max-width: 620px; margin-top: 18px; }
.apply-form .field { margin: 0 0 16px; }
.apply-form .field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.apply-form label, .apply-form legend { display: block; font-weight: 600; font-size: 14px; margin-bottom: 5px; }
.apply-form input[type=text], .apply-form input[type=email], .apply-form input[type=tel], .apply-form textarea {
  width: 100%; box-sizing: border-box; font: 16px 'IBM Plex Sans', sans-serif; color: var(--ink);
  background: #fff; border: 1px solid var(--line); border-radius: 3px; padding: 10px 12px;
}
.apply-form input:focus, .apply-form textarea:focus { outline: 3px solid var(--brass); outline-offset: 1px; }
.apply-form input:disabled { background: var(--paper-dark); color: #8a8270; }
.apply-form fieldset { border: 0; padding: 0; }
.apply-form .checks { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px 18px; }
.apply-form .checks label, .apply-form .inline-check { font-weight: 400; font-size: 15px; display: flex; gap: 8px; align-items: center; margin: 0; }
.apply-form .inline-check { margin-top: 8px; }
.apply-form .hint { font-size: 13px; color: #5a5346; margin: 4px 0 0; }
.apply-form button.cta { border: 0; cursor: pointer; font: 600 16px 'IBM Plex Sans', sans-serif; }
.form-status { min-height: 1.4em; font-weight: 500; margin-top: 12px; }

.radar-callout { display: flex; flex-wrap: wrap; gap: 12px 28px; align-items: center; }
.radar-callout p { margin: 0; }

@media (max-width: 760px) {
  .apply-form .field-row, .apply-form .checks { grid-template-columns: 1fr; }
}

/* ── site nav + Laurie's story (2026-09-30) ────────────────────────── */
.masthead > a { display: block; }
.topnav { display: flex; gap: 22px; margin-left: auto; font-weight: 500; font-size: 15px; }
.topnav a { color: var(--forest); text-decoration: none; border-bottom: 2px solid transparent; padding-bottom: 2px; }
.topnav a:hover, .topnav a[aria-current="page"] { border-bottom-color: var(--oxblood); }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 26px; }
.text-link { color: var(--oxblood); font-weight: 600; text-decoration: none; }
.text-link:hover { text-decoration: underline; }
.founder-quote { margin: 0 0 18px; padding: 0 0 0 20px; border-left: 4px solid var(--oxblood); }
.founder-quote p { font-family: 'Fraunces', Georgia, serif; font-size: clamp(21px, 2.4vw, 27px); line-height: 1.3; color: var(--forest); margin: 0 0 8px; }
.founder-quote .founder-sign { font: 600 14px 'IBM Plex Sans', sans-serif; color: var(--oxblood); letter-spacing: 0.04em; }
.story-hero { display: block; }
.story-hero h1 { max-width: 22ch; }
.story p { font-size: 17px; line-height: 1.7; }
.story .pull { font-family: 'Fraunces', Georgia, serif; font-size: 22px; line-height: 1.35; color: var(--forest); margin: 1.2em 0; }
.signature { font-family: 'Fraunces', Georgia, serif; font-size: 26px; color: var(--forest); margin-top: 1.6em; }
.signature span { display: block; font: 500 14px 'IBM Plex Sans', sans-serif; color: #5a5346; margin-top: 4px; }
@media (max-width: 760px) {
  .masthead { flex-wrap: wrap; }
  .topnav { order: 3; width: 100%; margin-left: 0; }
}
.radar-callout > div { flex: 1 1 420px; max-width: 62ch; }
.radar-callout h2 { margin: 0 0 0.4em; font-size: clamp(24px, 3vw, 32px); }
.radar-top .folio-body { background: var(--paper); }
