/* Inter, self-hosted (SIL OFL 1.1, see assets/fonts/LICENSE.txt). Replaces the render-blocking Google Fonts
   stylesheet (QA B1). One variable file covers weights 400–700; latin is preloaded in each page's <head>. */
@font-face { font-family: "Inter"; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url("fonts/inter-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url("fonts/inter-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
:root {
  --ink: #1a1d1a;
  --muted: #5c635c;
  --line: #e4e6e2;
  --olive: #5c7358;
  --olive-hover: #4f644c;
  --soft: #f6f6f4;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html, body {
  background: #fff;
  color: var(--ink);
  font-family: Inter, "Helvetica Neue", Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
  overflow-x: hidden;
}
a { color: inherit; }
.wrap { max-width: 1280px; margin: 0 auto; padding: 0 48px; }
header.nav {
  display: grid;
  grid-template-columns: auto 1fr auto;
  grid-template-areas: "logo links contact";
  align-items: center;
  gap: 16px 24px;
  padding: 22px 0;
}
header.nav > a:first-child { grid-area: logo; }
header.nav nav { grid-area: links; display: flex; justify-content: center; gap: 28px; flex-wrap: wrap; }
header.nav .btn-nav { grid-area: contact; }
header.nav img.logo { width: 36px; height: 58px; object-fit: cover; display: block; }
header.nav nav a {
  text-decoration: none;
  color: #3a3f3a;
  font-size: 15.5px;
  font-weight: 500;
}
header.nav nav a.active { color: var(--ink); font-weight: 700; }
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 999px; padding: 12px 22px;
  font-size: 15px; font-weight: 600; text-decoration: none; line-height: 1.2;
  border: 1.5px solid transparent; cursor: pointer; font-family: inherit;
}
.btn-solid { background: var(--olive); color: #fff; border-color: var(--olive); }
.btn-solid:hover { background: var(--olive-hover); }
.btn-ghost { background: #fff; color: var(--ink); border-color: #cfd3cc; }
.btn-nav { padding: 10px 20px; font-size: 14.5px; }
.eyebrow {
  font-size: 12px; letter-spacing: .14em; text-transform: uppercase;
  color: #6b7268; font-weight: 600; margin-bottom: 14px; /* old grey was 3.3:1; THOUGHTS-SPEC §9 / AC22 needs ≥ 4.5:1 */
}
h1 { font-size: 48px; line-height: 1.08; letter-spacing: -0.025em; font-weight: 700; margin-bottom: 18px; }
h1.small { font-size: 42px; }
.lead { font-size: 18px; line-height: 1.55; color: var(--muted); max-width: 640px; }
.lead.wide { max-width: 760px; }
.cta-row { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 26px; }
.fine { margin-top: 14px; font-size: 14.5px; color: #6b7268; /* was #7a8178; AC22 contrast */ line-height: 1.45; }
.hero {
  display: grid; grid-template-columns: 1fr 420px; gap: 56px;
  align-items: start; padding: 28px 0 48px;
}
.cover { width: 100%; height: auto; display: block; box-shadow: 0 16px 40px rgba(20,30,20,.22); }
.kicker {
  font-size: 11.5px; letter-spacing: .16em; text-transform: uppercase;
  color: #6b7268; /* old grey failed AC22 contrast */ font-weight: 600; margin: 12px 0 18px;
}
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; padding-bottom: 72px; }
.grid-4 h3 { font-size: 16.5px; margin-bottom: 8px; }
.grid-4 p { font-size: 14.5px; line-height: 1.5; color: var(--muted); }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.card { border: 1px solid #e3e5e0; border-radius: 8px; padding: 28px; background: #fff; }
.card .tag { font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; color: #6b7268; /* QA B4: old grey was 3.27:1 */ font-weight: 600; margin-bottom: 8px; }
.card h3 { font-size: 24px; margin-bottom: 10px; }
.card p, .card li { font-size: 15.5px; line-height: 1.5; color: #3f463f; }
.card ul { margin: 14px 0 20px 18px; }
.card li { margin: 6px 0; }
.start { background: var(--soft); border: 1px solid #e3e5e0; border-radius: 10px; padding: 28px 32px; margin: 8px 0 28px; }
.start-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.start h3 { font-size: 20px; margin: 4px 0 8px; }
.start p { font-size: 15.5px; line-height: 1.5; color: #3f463f; margin-bottom: 16px; }
.num { display: inline-block; font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--olive); font-weight: 700; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; padding: 36px 0 72px; }
.split h2 { font-size: 22px; margin-bottom: 10px; }
.split p { font-size: 15.5px; line-height: 1.55; color: var(--muted); margin-bottom: 10px; }
.book-hero { display: grid; grid-template-columns: 340px 1fr; gap: 48px; align-items: start; padding: 28px 0 40px; }
.moves { border-top: 1px solid var(--line); padding: 36px 0 20px; }
.moves h2 { font-size: 26px; margin-bottom: 22px; }
.moves-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px 48px; }
.moves-grid h3 { font-size: 17px; margin-bottom: 6px; }
.moves-grid p { font-size: 15px; line-height: 1.5; color: var(--muted); }
/* #8: full-bleed band outside .wrap; side padding aligns text with .wrap content (max 1280px, 48px gutters) */
.who { background: var(--soft); margin: 28px 0 0; padding: 36px max(48px, calc((100% - 1280px) / 2 + 48px)) 48px; display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
.who h2 { font-size: 22px; margin-bottom: 10px; }
.who p { font-size: 15.5px; line-height: 1.55; color: var(--muted); }
.thread { border: 1px solid #e3e5e0; border-radius: 8px; padding: 18px 22px; display: flex; justify-content: space-between; gap: 24px; margin-bottom: 10px; }
.thread h3 { font-size: 16.5px; margin-bottom: 4px; }
.thread p { font-size: 14px; color: var(--muted); }
.thread .meta { font-size: 13px; color: #6b7268; /* QA B4: old grey was 3.27:1 */ white-space: nowrap; padding-top: 4px; }
.contact-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; padding: 28px 0 72px; }
.contact-wrap ul { margin: 18px 0 0 18px; }
.contact-wrap li { margin: 8px 0; font-size: 16px; line-height: 1.4; }
form.box,
.hs-embed {
  border: 1px solid #e3e5e0;
  border-radius: 8px;
  padding: 24px;
}
.hs-embed .hs-form-frame { min-height: 280px; }
label { display: block; font-size: 13.5px; font-weight: 600; margin: 12px 0 6px; }
input, select, textarea {
  width: 100%; border: 1px solid #d5d8d2; border-radius: 6px; height: 40px;
  padding: 0 10px; font: inherit; background: #fff;
}
textarea { height: 88px; padding: 10px; resize: vertical; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
form .btn { margin-top: 16px; }
.legal { font-size: 12.5px; color: #6b7268; /* was #7a8178 (4.0:1, axe on /contact) */ margin-top: 12px; line-height: 1.45; }
.form-error { color: #9b2c2c; font-size: 13.5px; margin-top: 12px; line-height: 1.4; }
.form-error[hidden] { display: none; }
label .fine { font-weight: 500; color: #6b7268; /* QA B4: old grey was 3.27:1 */ }
.ok { display: none; border: 1px solid #cfe0cc; background: #f3f7f2; border-radius: 8px; padding: 20px; }
.ok.show { display: block; }
.pod { display: grid; grid-template-columns: 1.15fr .85fr; gap: 36px; align-items: start; padding: 8px 0 28px; }
.video {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #1b1633;
  border-radius: 4px;
  overflow: hidden;
}
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.site-footer {
  margin-top: 24px;
  border-top: 1px solid var(--line);
  background: #fafaf8;
  padding: 36px 0 28px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 32px;
}
.footer-brand { font-weight: 700; margin-bottom: 6px; }
.site-footer p, .site-footer a { font-size: 14px; color: var(--muted); text-decoration: none; }
.site-footer nav, .site-footer .footer-links { display: flex; flex-direction: column; gap: 8px; }
.site-footer a:hover { color: var(--ink); }
.legal-line { margin-top: 22px; font-size: 12.5px; color: #6b7268; /* QA B4: old grey was 3.27:1 */ }
.preview-banner {
  background: #1a1d1a; color: #eee; font-size: 13px; text-align: center; padding: 8px 16px;
}
.preview-banner a { color: #cfe0cc; }
@media (max-width: 1100px) {
  .grid-4 { grid-template-columns: 1fr 1fr; }
  .hero { grid-template-columns: 1fr 300px; gap: 32px; }
  .book-hero { grid-template-columns: 240px 1fr; gap: 28px; }
}
@media (max-width: 900px) {
  .wrap { padding: 0 20px; }
  h1 { font-size: 34px; }
  h1.small { font-size: 30px; }
  .lead { font-size: 17px; }
  .hero, .book-hero, .contact-wrap, .grid-4, .grid-2, .start-grid, .split, .who, .pod, .moves-grid, .footer-grid {
    grid-template-columns: 1fr;
  }
  .hero, .book-hero { gap: 24px; padding: 16px 0 32px; }
  .hero .cover, .book-hero .cover {
    max-width: 280px;
    margin: 0 auto;
    box-shadow: 0 10px 24px rgba(20,30,20,.18);
  }
  header.nav {
    grid-template-columns: auto 1fr;
    grid-template-areas:
      "logo contact"
      "links links";
    gap: 8px 12px;
    padding: 14px 0 8px;
  }
  header.nav nav {
    justify-content: flex-start;
    gap: 8px 16px;
    padding: 10px 0 4px;
    border-top: 1px solid var(--line);
  }
  header.nav nav a {
    font-size: 14px;
    display: inline-flex; align-items: center; min-height: 44px; /* QA B5: ≥44px tap targets at 390 */
  }
  header.nav nav { gap: 0 16px; padding: 2px 0 0; }
  header.nav .btn-nav { justify-self: end; }
  .cta-row .btn { min-height: 44px; }
  /* #8: .who is a full-bleed band outside .wrap; no negative margin on mobile so its 20px padding stays on screen */
  .who { margin: 28px 0 0; padding: 28px 20px 36px; }
  .split, .contact-wrap, .grid-4 { padding-bottom: 40px; }
  .thread { flex-direction: column; gap: 6px; }
  .thread .meta { white-space: normal; }
  .row2 { grid-template-columns: 1fr; }
  .preview-banner { font-size: 12px; padding: 8px 12px; line-height: 1.4; }
  .site-footer { padding: 28px 0 24px; }
  input, select, textarea { font-size: 16px; }
  .hs-embed { padding: 16px; overflow: hidden; }
}
.diag-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 8px 0 28px; }
.area {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 18px 20px 14px;
  margin-bottom: 12px;
}
.area h3 { font-size: 17px; margin-bottom: 6px; }
.area p { font-size: 14.5px; color: var(--muted); margin-bottom: 12px; }
.score-row { display: flex; gap: 8px; flex-wrap: wrap; }
.score-row label {
  margin: 0;
  min-width: 44px;
  height: 40px;
  border: 1px solid #d5d8d2;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-weight: 600;
}
.score-row input { position: absolute; opacity: 0; width: 0; height: 0; }
.score-row label:has(input:checked) {
  background: var(--olive);
  color: #fff;
  border-color: var(--olive);
}
.report-meta {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 18px 20px;
  margin: 18px 0 28px;
  background: var(--soft);
}
.avg { font-size: 22px; font-weight: 700; }
.score-table { width: 100%; border-collapse: collapse; margin: 12px 0 8px; font-size: 14.5px; }
.score-table th, .score-table td { text-align: left; padding: 10px 8px; border-bottom: 1px solid var(--line); vertical-align: top; }
.score-table th { font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: #6b7268; /* QA B4: old grey was 3.27:1 */ }
.flag { display: inline-block; font-size: 12px; font-weight: 700; padding: 2px 8px; border-radius: 999px; }
.flag-red { background: #f8e4e2; color: #8a2f28; }
.flag-amber { background: #f6eedc; color: #7a5b16; }
.flag-green { background: #e5f0e3; color: #3d5c38; }
.finding { margin: 22px 0 28px; }
.finding h3 { font-size: 20px; margin-bottom: 8px; }
.finding ul { margin: 8px 0 12px 18px; }
.finding li { margin: 6px 0; color: #3f463f; }
.your-ex {
  background: var(--soft);
  border-left: 3px solid var(--olive);
  padding: 12px 14px;
  margin: 10px 0 14px;
}
.your-ex p { margin: 0; color: var(--ink); }
.ex-label {
  display: block;
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #6b7268; /* QA B4: old grey was 3.27:1 */
  font-weight: 700;
  margin-bottom: 4px;
}
.from-book { margin: 8px 0 14px; }
.from-book .ex-label { display: inline; margin-right: 8px; }
.example, .owner-hint { font-size: 13.5px; line-height: 1.45; color: #6a7168; margin: 0 0 10px; }
.example { font-style: italic; }
.area label { margin-top: 8px; }
.area input { margin-bottom: 12px; }
.summary-split { display: grid; grid-template-columns: 320px 1fr; gap: 28px; align-items: start; margin: 8px 0 28px; }
.radar { width: 100%; max-width: 360px; height: auto; display: block; margin: 0 auto; }
#report-root a { color: var(--olive); font-weight: 600; }
@media print {
  .preview-banner, header.nav, .site-footer, .no-print { display: none !important; }
  body { overflow: visible; }
  .wrap { padding: 0; max-width: none; }
}
@media (max-width: 900px) {
  .diag-grid, .report-meta, .summary-split { grid-template-columns: 1fr; }
}


/* First-party optional-analytics preference (no HubSpot / CMP) */
.flm-consent {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 40;
  max-width: 720px;
  margin: 0 auto;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  box-shadow: 0 12px 32px rgba(26, 29, 26, 0.14);
}
.flm-consent-inner {
  display: flex;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  flex-wrap: wrap;
}
.flm-consent-inner p {
  flex: 1 1 280px;
  margin: 0;
  font-size: 14px;
  line-height: 1.45;
  color: var(--muted);
}
.flm-consent-link {
  color: var(--olive);
  font-weight: 600;
  text-decoration: none;
}
.flm-consent-link:hover { text-decoration: underline; }
.flm-consent-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.flm-consent-actions .btn {
  padding: 8px 16px;
  font-size: 13.5px;
}
.flm-consent-pref {
  margin-top: 18px;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--soft);
  max-width: 760px;
}
.flm-consent-pref p {
  font-size: 15px;
  color: var(--muted);
  margin: 0 0 12px;
}
.flm-consent-pref .flm-consent-actions { margin-top: 4px; }
#flm-consent-status {
  font-size: 13.5px;
  color: #6b7268; /* was #7a8178 (4.0:1) */
  margin-top: 10px;
}
@media (max-width: 640px) {
  .flm-consent { left: 10px; right: 10px; bottom: 10px; }
  .flm-consent-inner { padding: 14px; }
}

/* #102 Appendix A Toolkit page */
.toolkit-hero { display: grid; grid-template-columns: 240px 1fr; gap: 32px; align-items: center; margin: 22px 0 26px; }
.toolkit-cover { width: 240px; height: auto; border-radius: 6px; box-shadow: 0 6px 22px rgba(0,0,0,.14); }
#toolkit-form { max-width: 720px; }
#toolkit-form input { min-height: 44px; font-size: 16px; }
.field-error { color: #9b2c2c; font-size: 13.5px; margin: 6px 0 0; line-height: 1.4; }
.field-error[hidden] { display: none; }
.turnstile-slot { margin-top: 18px; min-height: 0; max-width: 100%; overflow: hidden; }
.toolkit-submit, .toolkit-download { min-height: 44px; }
.toolkit-submit[disabled] { opacity: .55; cursor: not-allowed; }
.toolkit-result { max-width: 720px; border: 1px solid #cfe0cc; background: #f3f7f2; border-radius: 8px; padding: 22px; margin: 8px 0 56px; }
.toolkit-result[hidden] { display: none; }
.toolkit-result:focus { outline: 2px solid var(--olive); outline-offset: 2px; }
.toolkit-result-title { margin: 0 0 8px; font-size: 22px; }
.toolkit-result-body { margin: 0 0 16px; line-height: 1.5; overflow-wrap: anywhere; }
@media (max-width: 720px) {
  .toolkit-hero { grid-template-columns: 1fr; gap: 18px; }
  .toolkit-cover { width: 160px; }
  .toolkit-submit, .toolkit-download { width: 100%; }
}

/* flm-web#6 Book page Amazon release notice (text switched server-side; see functions/lib/book-release.js) */
.buy-block { margin: 16px 0 6px; }
.buy-block .buy-row { margin-top: 10px; }
.release-note {
  display: inline-block; margin: 0; padding: 7px 12px;
  font-size: 14.5px; font-weight: 600; line-height: 1.4; color: var(--ink);
  background: #eef1ec; border-left: 3px solid var(--olive); border-radius: 6px;
}
@media (max-width: 600px) {
  /* flm-web#6 AC1: keep the release notice + Amazon buttons above the fold on phones */
  .book-hero .cover { max-width: 150px; }
  .book-hero { gap: 16px; }
}

/* About page redesign (specs/flm-about-redesign). Selectors below are new; About-only rules are scoped to its classes or body.page-about. header.nav img.logo-h is site-wide. */
:root { --navy: #1a2a3a; }
header.nav img.logo-h { height: 44px; width: auto; display: block; } /* FLM horizontal logo in the site header on every page (replaces cover thumbnail) */
.eyebrow.eyebrow-olive { color: var(--olive); } /* was the old grey (3.27:1) -> olive 5.19:1 on white */
.about-hero { padding: 24px 0 8px; }
.about-hero h1.small { color: var(--navy); max-width: 820px; }
.about-hero .lead + .lead { margin-top: 12px; }
.section-label {
  font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--olive);
  font-weight: 700; margin: 56px 0 20px;
}
.people { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; margin-bottom: 64px; }
.person { border: 1px solid #e3e5e0; border-radius: 12px; padding: 32px; background: #fff; display: flex; flex-direction: column; }
.person-head {
  display: grid; grid-template-columns: 168px 1fr; gap: 24px; align-items: end;
  padding-bottom: 24px; margin-bottom: 22px; border-bottom: 1px solid var(--line);
}
.person-photo {
  width: 168px; height: 210px; object-fit: cover; object-position: 50% 20%; border-radius: 10px;
  display: block; background: #e9ebe7;
}
.person h3 { font-size: 26px; line-height: 1.15; letter-spacing: -.015em; color: var(--navy); margin-bottom: 8px; }
.person .role { font-size: 15px; font-weight: 600; color: var(--muted); margin-bottom: 16px; } /* was the old grey (3.27:1) -> #5c635c 6.19:1 */
.person .li {
  display: inline-flex; align-items: center; min-height: 44px; color: var(--olive); font-weight: 600;
  font-size: 15px; text-decoration: none;
}
.person .li:hover, .person .li:focus-visible { text-decoration: underline; }
.person .bio p { font-size: 16px; line-height: 1.6; color: #3f463f; }
.person .bio p + p { margin-top: 14px; }
.pairing { background: var(--soft); border-top: 1px solid var(--line); padding: 48px 0 72px; }
.pairing h2 { font-size: 24px; color: var(--navy); margin-bottom: 12px; letter-spacing: -.01em; }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
body.page-about .site-footer { margin-top: 0; }
body.page-about a:focus-visible { outline: 2px solid var(--olive); outline-offset: 3px; border-radius: 4px; }
@media (max-width: 900px) {
  header.nav img.logo-h { height: 36px; }
  .about-hero { padding: 12px 0 0; }
  .section-label { margin: 36px 0 16px; }
  .people { grid-template-columns: 1fr; gap: 20px; margin-bottom: 44px; }
  .person { padding: 20px; }
  .person-head { grid-template-columns: 112px 1fr; gap: 16px; padding-bottom: 18px; margin-bottom: 18px; }
  .person-photo { width: 112px; height: 140px; border-radius: 8px; }
  .person h3 { font-size: 21px; }
  .person .role { font-size: 14px; margin-bottom: 4px; }
  .person .li { font-size: 14.5px; }
  .person .bio p { font-size: 15.5px; }
  .pairing { padding: 32px 0 48px; }
  .pairing h2 { font-size: 21px; }
}

/* ===== Thoughts (THOUGHTS-SPEC #20): list, post, homepage strip ===== */
:root { --navy: #1a2a3a; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--navy); color: #fff; padding: 10px 16px; border-radius: 6px; font-weight: 600; text-decoration: none; }
.skip-link:focus { top: 12px; }
.eyebrow-olive { color: var(--olive); }
header.nav nav a.active[aria-current="page"] { text-decoration: underline; text-decoration-color: var(--olive); text-decoration-thickness: 2px; text-underline-offset: 8px; }
.page-thoughts a:focus-visible, .page-thoughts button:focus-visible, .page-thoughts select:focus-visible,
.thoughts-strip a:focus-visible, .skip-link:focus-visible { outline: 3px solid var(--olive); outline-offset: 3px; border-radius: 6px; }
.t-h1 { color: var(--navy); }
.t-list { padding-top: 24px; padding-bottom: 64px; }
.t-head { margin-bottom: 24px; }
.t-head .lead { max-width: 560px; }
/* Filters are server-rendered and shown from first paint when JS runs (html.js is set inline in <head>),
   so nothing shifts when thoughts.js starts (QA B1: CLS). Without JS they stay hidden. */
.t-controls { display: none; flex-wrap: wrap; align-items: center; gap: 10px 14px; margin: 0 0 24px; min-height: 44px; }
.js .t-controls { display: flex; }
.t-controls[hidden] { display: none; }
.t-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.t-chip { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 6px 16px; border-radius: 999px; border: 1.5px solid #cfd3cc; background: #fff; color: var(--ink); font: 600 14.5px/1.2 inherit; font-family: inherit; cursor: pointer; }
.t-chip[aria-pressed="true"] { background: var(--olive); border-color: var(--olive); color: #fff; }
.t-chip-avatar { width: 24px; height: 24px; border-radius: 50%; object-fit: cover; object-position: center 20%; display: block; }
.t-select { min-height: 44px; padding: 8px 36px 8px 14px; border: 1.5px solid #cfd3cc; border-radius: 8px; background: #fff; color: var(--ink); font: 500 14.5px inherit; font-family: inherit; }
.t-sort { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; font-size: 13.5px; color: var(--muted); font-weight: 500; }
.t-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.t-grid[hidden] { display: none; }
.t-grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.t-card { position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 20px; min-width: 0; transition: border-color .15s, box-shadow .15s; }
.t-card:hover { border-color: #c9cfc6; box-shadow: 0 6px 18px rgba(20,30,20,.06); }
.t-card:focus-within { border-color: var(--olive); }
.t-thumb { margin: -6px -6px 14px; border-radius: 6px; overflow: hidden; aspect-ratio: 16 / 9; background: var(--soft); }
.t-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.t-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 4px 6px; font-size: 13px; color: var(--muted); margin-bottom: 10px; }
.t-avatar { width: 32px; height: 32px; border-radius: 50%; object-fit: cover; object-position: center 20%; display: block; margin-right: 4px; }
.t-author { font-weight: 600; color: var(--ink); }
.t-title { font-size: 17px; line-height: 1.3; font-weight: 700; color: var(--navy); margin-bottom: 8px; letter-spacing: -0.01em; overflow-wrap: anywhere; }
.t-link { text-decoration: none; color: inherit; }
.t-link::after { content: ""; position: absolute; inset: 0; border-radius: 10px; }
.t-link:hover { text-decoration: underline; text-decoration-color: var(--olive); }
/* QA B8: keyboard focus rings the whole card, not just the title link. */
.page-thoughts .t-link:focus-visible, .thoughts-strip .t-link:focus-visible { outline: none; }
.t-card:has(.t-link:focus-visible) { outline: 3px solid var(--olive); outline-offset: 3px; border-color: var(--olive); }
@supports not selector(:has(*)) { .t-card:focus-within { outline: 3px solid var(--olive); outline-offset: 3px; } }
.t-excerpt { font-size: 14.5px; line-height: 1.55; color: var(--muted); margin-bottom: 12px; }
.t-tags { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 14px; }
.t-tags li { font-size: 12px; font-weight: 600; color: #3f5a3c; background: #e9efe6; border-radius: 999px; padding: 3px 10px; }
.t-foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.t-read { font-size: 14px; font-weight: 600; color: var(--olive); }
.t-empty { text-align: center; padding: 56px 20px; border: 1px dashed #cfd3cc; border-radius: 10px; background: var(--soft); }
.t-empty[hidden] { display: none; }
.t-empty h2 { font-size: 20px; color: var(--navy); margin-bottom: 10px; }
.t-empty a { color: var(--olive); font-weight: 600; display: inline-block; padding: 10px 6px; }
.t-none { text-align: center; padding: 48px 20px; color: var(--muted); }
.t-pager { display: flex; flex-direction: column; align-items: center; gap: 10px; margin-top: 32px; }
.t-pager .btn { min-height: 44px; }
.t-more[hidden], .t-count[hidden] { display: none; }
.t-count { font-size: 14px; color: var(--muted); }
/* Post page */
.t-postwrap { padding-top: 24px; padding-bottom: 64px; }
.t-post, .t-cta, .t-related { max-width: 720px; margin-left: auto; margin-right: auto; }
.t-crumb { margin-bottom: 18px; }
.t-crumb a { color: var(--olive); font-weight: 600; font-size: 14.5px; text-decoration: none; display: inline-flex; align-items: center; min-height: 44px; }
.t-crumb a:hover { text-decoration: underline; }
.t-eyebrow { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 12px; margin-bottom: 12px; }
.t-eyebrow .eyebrow { margin-bottom: 0; }
.t-post .t-h1 { font-size: 40px; line-height: 1.12; overflow-wrap: anywhere; }
.t-byline { display: flex; align-items: center; gap: 12px; padding-bottom: 20px; margin-bottom: 24px; border-bottom: 1px solid var(--line); }
.t-byline .t-avatar { width: 40px; height: 40px; margin: 0; }
.t-byname { display: inline-flex; align-items: center; min-height: 44px; font-weight: 600; text-decoration: none; color: var(--ink); }
.t-byline > div > .t-posted { margin-top: -8px; }
.t-byname:hover { text-decoration: underline; }
.t-posted { display: block; font-size: 13.5px; color: var(--muted); }
.t-body { font-size: 17.5px; line-height: 1.7; color: #262a26; overflow-wrap: break-word; }
.t-body > * + * { margin-top: 1.05em; }
.t-body a { color: #3f5a3c; text-decoration-color: var(--olive); text-underline-offset: 3px; font-weight: 500; }
.t-body ul, .t-body ol { padding-left: 1.4em; }
.t-body li + li { margin-top: .35em; }
.t-body blockquote { border-left: 3px solid var(--olive); padding-left: 16px; color: var(--muted); }
.t-fig img { width: 100%; height: auto; display: block; border-radius: 10px; }
.t-fig figcaption { font-size: 13.5px; color: var(--muted); margin-top: 8px; }
/* Self-hosted post video (vertical 9:16): centred, ~380px wide on desktop, box reserved before load. */
.t-vid { margin: 24px auto; max-width: 380px; }
.t-vid video { display: block; width: 100%; height: auto; aspect-ratio: var(--vid-ar, 9 / 16); background: #0b1424; border-radius: 10px; }
.t-sharedfrom { font-size: 15px; color: var(--muted); }
.t-video { position: relative; display: block; text-decoration: none; }
.t-play { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); background: rgba(16,24,32,.82); color: #fff; font-size: 15px; font-weight: 600; padding: 12px 18px; border-radius: 999px; white-space: nowrap; }
.t-docnote { font-size: 15px; color: var(--muted); }
.t-podcast { margin-top: 1.4em; }
.t-body a.t-podcastbtn { min-height: 44px; padding: 10px 22px; color: #fff; text-decoration: none; font-weight: 600; } /* podcast_url: olive button, ≥44px tap target, white on olive 5.19:1 */
.t-body a.t-podcastbtn:hover { background: var(--olive-hover); border-color: var(--olive-hover); }
.t-body a.t-podcastbtn:focus-visible { outline: 3px solid var(--navy); outline-offset: 3px; }
.t-origin { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; margin-top: 32px; padding: 16px 18px; border: 1px solid var(--line); border-radius: 10px; }
.t-origin p { font-size: 14px; color: var(--muted); }
.t-origin p a { color: #3f5a3c; font-weight: 600; display: inline-flex; align-items: center; min-height: 44px; }
.t-share { position: relative; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding-bottom: 28px; } /* QA B7: room reserved for the status line */
.t-sharebtn { min-height: 44px; padding: 10px 18px; font-size: 14px; }
.t-copied { position: absolute; left: 0; right: 0; bottom: 0; min-height: 20px; line-height: 20px; font-size: 14px; font-weight: 600; color: #3f5a3c; overflow-wrap: anywhere; } /* QA B7: no button shift */
.t-cta { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 36px; }
.t-cta > div { border-radius: 10px; padding: 24px; }
.t-cta h2 { font-size: 20px; line-height: 1.25; margin: 6px 0 8px; }
.t-cta p { font-size: 14px; line-height: 1.5; margin-bottom: 16px; }
.t-cta .btn { min-height: 44px; }
.t-cta-kicker { font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase; font-weight: 700; }
.t-cta-book { background: var(--soft); border: 1px solid #e3e5e0; display: flex; gap: 18px; align-items: flex-start; }
.t-cta-book img { width: 96px; height: auto; display: block; box-shadow: 0 6px 14px rgba(20,30,20,.2); }
.t-cta-book h2 { color: var(--navy); }
.t-cta-book p { color: var(--muted); }
.t-cta-book .t-cta-kicker { color: var(--olive); }
.t-cta-diag { background: var(--navy); color: #fff; }
.t-cta-diag .t-cta-kicker { color: #c9d8c5; }
.t-cta-diag p { color: #d7dde3; }
.t-btn-light { background: #fff; color: var(--navy); border-color: #fff; }
.t-btn-light:hover { background: #eef1ec; }
.t-cta-diag a:focus-visible { outline-color: #fff; }
.t-related { margin-top: 40px; }
.t-related > h2 { font-size: 20px; color: var(--navy); margin-bottom: 16px; }
/* Homepage strip: full-bleed soft band after "What the work looks like" */
.thoughts-strip { background: var(--soft); border-top: 1px solid var(--line); padding: 40px 0 48px; margin-top: 32px; }
.strip-head { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: 8px 16px; margin-bottom: 18px; }
.strip-title { font-size: 26px; color: var(--navy); letter-spacing: -0.015em; }
.strip-all { color: var(--olive); font-weight: 600; text-decoration: none; display: inline-block; padding: 10px 0; }
.strip-all:hover { text-decoration: underline; }
@media (max-width: 1099px) {
  .t-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .t-grid-strip { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 899px) {
  .t-grid, .t-grid-2, .t-grid-strip, .t-cta { grid-template-columns: 1fr; }
  .t-sort { margin-left: 0; }
  .t-post .t-h1 { font-size: 30px; }
  .t-body { font-size: 17px; }
  .t-cta-book img { width: 76px; }
  .t-origin { flex-direction: column; align-items: flex-start; }
  .thoughts-strip { padding: 32px 0 36px; }
  .strip-title { font-size: 22px; }
  .t-play { white-space: normal; text-align: center; font-size: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  .t-card { transition: none; }
  html { scroll-behavior: auto; }
}
.t-404 { padding-top: 48px; padding-bottom: 96px; min-height: 50vh; }
