/* ============================================================
     1. FONTS — Editor's Note (H1/H2 = Thin 100, H3 = Regular 400).
     ============================================================ */
  @font-face { font-family: "Editor's Note"; src: url("fonts/EditorsNote-Thin.otf") format("opentype"); font-weight: 100; font-style: normal; font-display: swap; }
  @font-face { font-family: "Editor's Note"; src: url("fonts/EditorsNote-ThinItalic.otf") format("opentype"); font-weight: 100; font-style: italic; font-display: swap; }
  @font-face { font-family: "Editor's Note"; src: url("fonts/EditorsNote-Regular.otf") format("opentype"); font-weight: 400; font-style: normal; font-display: swap; }
  @font-face { font-family: "Editor's Note"; src: url("fonts/EditorsNote-Italic.otf") format("opentype"); font-weight: 400; font-style: italic; font-display: swap; }

  /* ============================================================
     2. DESIGN TOKENS — exact DYN palette, no additions
     ============================================================ */
  :root {
    --charcoal:    #0E0F10;
    --paper:       #FAFAF7;
    --surface-1:   #F1F2EE;
    --surface-2:   #E4E6E0;
    --text:        #141414;
    --text-secondary: #5A5F63;
    --off-white:   #FAFAF7;
    --brass:       #C9A87C;
    --brass-dark:  #8F6E48;

    --serif: "Editor's Note", "Tenor Sans", Georgia, serif;
    --sans:  "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

    --pad: 96px;
    --maxw: 1280px;
    --ease: cubic-bezier(0.16, 1, 0.3, 1);
  }

  /* ============================================================
     3. RESET + BASE
     ============================================================ */
  *, *::before, *::after { box-sizing: border-box; }
  html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
  body {
    margin: 0; background: var(--charcoal); color: var(--text);
    font-family: var(--sans); font-size: 17px; line-height: 1.75; font-weight: 400;
    -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  }
  img, video { max-width: 100%; display: block; }
  a { color: inherit; text-decoration: none; }
  strong { font-weight: 600; }
  .wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--pad); }

  /* ---- Eyebrow (LOCKED specs everywhere) ---- */
  .eyebrow { font-family: var(--sans); font-weight: 600; font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--brass-dark); margin: 0; }
  .eyebrow.on-dark { color: var(--brass); }

  /* ---- Headlines — Editor's Note Thin ---- */
  h1, h2 { font-family: var(--serif); font-weight: 100; margin: 0; color: var(--text); text-wrap: balance; letter-spacing: 0.004em; }
  h1 em, h2 em { font-style: italic; font-weight: 100; }

  .h1       { font-size: 110px; line-height: 1.05; }
  .h2       { font-size: 72px;  line-height: 1.12; }
  .h2-big   { font-size: 88px;  line-height: 1.10; }
  .h2-mid   { font-size: 64px;  line-height: 1.12; }
  h3.h3 { font-family: var(--serif); font-weight: 400; font-size: 30px; line-height: 1.2; margin: 0; }

  .body    { font-size: 17px; line-height: 1.75; }
  .body-lg { font-size: 20px; line-height: 1.65; }

  /* ---- Accent rules ---- */
  .rule       { width: 80px; height: 2px; background: var(--brass-dark); border: 0; margin: 32px 0; }
  .rule.brass { background: var(--brass); }

  /* ---- Column / text links ---- */
  .txt-link { display: inline-block; position: relative; font-family: var(--sans); font-weight: 500; font-size: 14px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--text); padding-bottom: 4px; }
  .txt-link::after { content: ""; position: absolute; left: 0; bottom: 0; height: 1px; width: 100%; background: var(--brass-dark); transform: scaleX(0); transform-origin: left; transition: transform .25s ease; }
  .txt-link:hover::after { transform: scaleX(1); }
  .txt-link.on-dark { color: var(--off-white); }
  .txt-link.on-dark::after { background: var(--brass); }

  /* ---- Secondary link: underlined label + trailing arrow ---- */
  .btn-ghost { display: inline-flex; align-items: center; gap: 9px; font-family: var(--sans); font-weight: 600; font-size: 13px; text-transform: uppercase; letter-spacing: 0.08em; line-height: 1; color: var(--text); background: transparent; border: 0; cursor: pointer; transition: color .25s ease; }
  .btn-ghost span { text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 1px; }
  .btn-ghost::after { content: "\2192"; font-size: 15px; line-height: 1; }
  .btn-ghost:hover { color: var(--brass-dark); }

  /* ---- Brand logo (nav + footer) ---- */
  .brand-logo { height: 44px; width: auto; display: block; }
  .footer-logo { height: 54px; width: auto; display: block; }

  /* ---- Buttons (ALL CAPS, 0.08em) ---- */
  .btn { font-family: var(--sans); font-weight: 600; font-size: 15px; letter-spacing: 0.08em; text-transform: uppercase; line-height: 1; display: inline-flex; align-items: center; justify-content: center; padding: 20px 40px; border: 1px solid transparent; border-radius: 2px; cursor: pointer; transition: background-color .25s ease, color .25s ease, border-color .25s ease; }
  .btn--dark  { background: var(--brass); color: var(--charcoal); border-color: var(--brass); }
  .btn--dark:hover  { background: var(--brass-dark); color: var(--off-white); border-color: var(--brass-dark); }
  .btn--light { background: var(--brass-dark); color: var(--off-white); border-color: var(--brass-dark); }
  .btn--light:hover { background: var(--charcoal); color: var(--off-white); border-color: var(--charcoal); }
  .btn:focus-visible, a:focus-visible, input:focus-visible, button:focus-visible { outline: 2px solid var(--brass); outline-offset: 3px; }

  /* ============================================================
     4. SCROLL-REVEAL MOTION (quiet; fade up 24px / 700ms)
     ============================================================ */
  [data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .7s var(--ease); transition-delay: var(--d, 0ms); }
  [data-reveal].in { opacity: 1; transform: none; }
  /* Hard end-state — guarantees visibility even if CSS transitions are throttled/paused */
  [data-reveal].reveal-done { opacity: 1 !important; transform: none !important; transition: none !important; }
  @media (prefers-reduced-motion: reduce) {
    [data-reveal] { opacity: 1 !important; transform: none !important; transition: none !important; }
    html { scroll-behavior: auto; }
  }

  /* ============================================================
     5. NAVIGATION (dark)
     ============================================================ */
  .nav { background: var(--charcoal); border-bottom: 1px solid rgba(250,250,247,0.08); position: relative; z-index: 40; }
  .nav-inner { height: 80px; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--pad); display: flex; align-items: center; justify-content: space-between; }
  .nav-menu { display: flex; align-items: center; gap: 38px; }
  .nav-menu a { font-family: var(--sans); font-weight: 500; font-size: 15px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--off-white); position: relative; padding: 4px 0; }
  .nav-menu a::after { content: ""; position: absolute; left: 0; bottom: -2px; width: 100%; height: 1px; background: var(--brass); transform: scaleX(0); transform-origin: left; transition: transform .25s ease; }
  .nav-menu a:hover::after { transform: scaleX(1); }
  .nav-menu a.active { color: var(--brass); }
  .nav-menu a.active::after { transform: scaleX(1); }

  /* ============================================================
     6. HERO STRIP (dark) — shorter than a home hero
     ============================================================ */
  .strip { position: relative; min-height: 42vh; display: flex; align-items: center; overflow: hidden; background: var(--charcoal); }
  #view-category .strip { min-height: 36vh; }
  .strip-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
  .strip-overlay { position: absolute; inset: 0; background: var(--charcoal); opacity: 0.72; z-index: 1; }
  .strip .wrap { position: relative; z-index: 2; width: 100%; text-align: center; padding-top: 72px; padding-bottom: 72px; }
  .strip-col { max-width: 900px; margin: 0 auto; }
  .strip h1 { font-size: 84px; line-height: 1.06; color: var(--off-white); margin-top: 18px; }
  .strip h1 em { color: var(--brass); }
  .strip-sub { max-width: 620px; margin: 22px auto 0; color: var(--off-white); opacity: 0.85; font-size: 17px; line-height: 1.6; }

  /* ============================================================
     7. FILTER BAR (secondary menu, light, sticky below nav)
     ============================================================ */
  .filterbar { position: sticky; top: 0; z-index: 30; background: var(--paper); border-bottom: 1px solid var(--surface-2); }
  .filterbar-inner { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--pad); min-height: 66px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
  .filter-pills { display: flex; align-items: center; gap: 30px; overflow-x: auto; scrollbar-width: none; -ms-overflow-style: none; }
  .filter-pills::-webkit-scrollbar { display: none; }
  .filter-pill { font-family: var(--sans); font-weight: 600; font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text); background: none; border: 0; cursor: pointer; padding: 8px 0; position: relative; white-space: nowrap; transition: color .25s ease; }
  .filter-pill:hover { color: var(--brass-dark); }
  .filter-pill[aria-current="true"] { color: var(--brass-dark); }
  .filter-pill[aria-current="true"]::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--brass); }
  .filter-search { position: relative; flex: 0 0 auto; }
  .filter-search input { height: 46px; width: 280px; padding: 0 16px 0 44px; background: var(--paper); border: 1px solid var(--surface-2); border-radius: 2px; font-family: var(--sans); font-size: 14px; color: var(--text); transition: border-color .25s ease; }
  .filter-search input::placeholder { color: var(--text-secondary); }
  .filter-search input:focus { outline: none; border-color: var(--brass-dark); }
  .filter-search svg { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); width: 17px; height: 17px; stroke: var(--text-secondary); fill: none; stroke-width: 1.6; pointer-events: none; }

  /* ============================================================
     8. SHARED POST CARD (one component, reused everywhere)
     ============================================================ */
  .post-card { display: flex; flex-direction: column; }
  .pc-media { overflow: hidden; aspect-ratio: 16 / 10; background: var(--surface-1); border: 1px solid var(--surface-2); }
  .pc-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease); }
  .post-card:hover .pc-media img { transform: scale(1.04); }
  .pc-body { padding-top: 20px; display: flex; flex-direction: column; gap: 12px; }
  .pc-eyebrow { /* uses .eyebrow */ }
  /* Post-card title — Editor's Note (Regular), NOT Inter (brand lock) */
  .pc-title { font-family: var(--serif); font-weight: 100; font-size: 22px; line-height: 1.26; color: var(--text); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
  .post-card:hover .pc-title { text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
  .pc-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 2px; }
  .pc-chip { font-family: var(--sans); font-weight: 600; font-size: 11px; letter-spacing: 0.07em; text-transform: uppercase; color: var(--text); border: 1px solid var(--surface-2); border-radius: 2px; padding: 5px 9px; line-height: 1; }
  .pc-chip.special { color: var(--brass-dark); }

  /* ============================================================
     9. RESOURCE SECTIONS (light)
     ============================================================ */
  .res { padding: 120px 0; }
  .res--paper { background: var(--paper); }
  .res--surface { background: var(--surface-1); }
  .res--divider { border-top: 1px solid var(--surface-2); }
  .res-head { margin-bottom: 56px; }
  .res-head .eyebrow { margin-bottom: 18px; }
  .res-head h2 { color: var(--text); }
  .res-head h2 em { color: var(--brass-dark); }

  .pc-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
  .pc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px 40px; }

  /* Band header — eyebrow left, See all right */
  .band { padding: 96px 0; }
  .band-head { display: flex; align-items: baseline; justify-content: space-between; gap: 24px; margin-bottom: 44px; padding-bottom: 22px; border-bottom: 1px solid var(--surface-2); }
  .band-head .eyebrow { font-size: 13px; }

  .all-foot { text-align: center; margin-top: 72px; }
  .pc-hidden { display: none; }

  /* Empty-area note (when a live area resolves to zero posts) */
  .area-empty { grid-column: 1 / -1; font-family: var(--sans); font-size: 15px; color: var(--text-secondary); padding: 8px 0; }

  /* ============================================================
     10. FALLBACK NOTICE BAR (only shown when live fetch fails)
     ============================================================ */
  .notice { display: none; background: var(--surface-2); border-bottom: 1px solid #d7d9d2; }
  .notice.show { display: block; }
  .notice-inner { max-width: var(--maxw); margin: 0 auto; padding: 12px var(--pad); font-family: var(--sans); font-size: 12.5px; letter-spacing: 0.02em; color: var(--text-secondary); display: flex; align-items: center; gap: 10px; }
  .notice-inner strong { color: var(--text); font-weight: 600; }
  .notice-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--brass-dark); flex: 0 0 auto; }

  /* ============================================================
     11. THE CLARITY LETTER (dark band) — reused from Home
     ============================================================ */
  .clarity { background: var(--charcoal); padding: 120px 0; }
  .clarity-grid { display: grid; grid-template-columns: 60fr 40fr; gap: 80px; align-items: center; }
  .clarity .h2-mid { color: var(--off-white); margin-top: 24px; }
  .clarity .h2-mid em { color: var(--brass); }
  .clarity-copy p:not(.eyebrow) { margin: 32px 0 0; max-width: 540px; color: var(--off-white); opacity: 0.85; font-size: 19px; line-height: 1.75; }
  .clarity-copy p strong { opacity: 1; }

  /* ============================================================
     12. FOOTER (dark) — reused from Home
     ============================================================ */
  .footer { background: var(--charcoal); border-top: 1px solid rgba(250,250,247,0.08); padding: 80px 0 48px; }
  .footer .wrap { color: var(--off-white); }
  .footer-cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 48px; align-items: center; }
  .footer-nav { display: flex; flex-direction: column; align-items: flex-start; width: max-content; margin-inline: auto; }
  .footer-nav a { font-family: var(--sans); font-weight: 400; font-size: 14px; line-height: 2.2; text-transform: uppercase; letter-spacing: 0.08em; color: var(--off-white); opacity: 0.7; transition: color .25s ease, opacity .25s ease; }
  .footer-nav a:hover { opacity: 1; color: var(--brass); }
  .footer-center { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 28px; }
  .footer-brand { display: flex; flex-direction: column; align-items: center; gap: 12px; }
  .footer .sub  { font-family: var(--sans); font-weight: 500; font-size: 11px; text-transform: uppercase; letter-spacing: 0.18em; color: var(--off-white); opacity: 0.6; display: block; }
  .footer-contact { display: flex; flex-direction: column; align-items: center; gap: 16px; }
  .footer-contact a.mail { font-family: var(--sans); font-size: 14px; color: var(--off-white); opacity: 0.7; transition: color .25s ease, opacity .25s ease; }
  .footer-contact a.mail:hover { color: var(--brass); opacity: 1; }
  .socials { display: flex; gap: 18px; }
  .socials a { color: var(--off-white); opacity: 0.5; display: inline-flex; transition: color .25s ease, opacity .25s ease; }
  .socials a:hover { opacity: 1; color: var(--brass); }
  .socials svg { width: 18px; height: 18px; stroke: currentColor; fill: none; stroke-width: 1.4; }
  .footer-bottom { border-top: 1px solid rgba(250,250,247,0.10); margin-top: 64px; padding-top: 24px; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
  .footer-bottom span, .footer-bottom a { font-family: var(--sans); font-weight: 300; font-size: 12px; color: var(--off-white); opacity: 0.4; }
  .footer-bottom a { text-transform: uppercase; letter-spacing: 0.04em; transition: opacity .25s ease; }
  .footer-bottom a:hover { opacity: 0.8; }
  .footer-legal { display: flex; gap: 20px; }
  .footer-signup { justify-self: center; }
  .footer-signup-title { font-family: var(--serif); font-weight: 100; font-size: 25px; line-height: 1.15; color: var(--off-white); margin: 0; text-align: left; }
  .footer-signup-body { font-family: var(--sans); font-size: 14px; line-height: 1.55; color: var(--off-white); opacity: 0.7; margin: 10px 0 20px; max-width: 300px; text-align: left; }
  .footer-signup-form { max-width: 360px; }

  .sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

  /* ============================================================
     13. RESPONSIVE
     ============================================================ */
  @media (max-width: 1024px) {
    :root { --pad: 48px; }
    .strip h1 { font-size: 60px; }
    .h2 { font-size: 52px; }
    .h2-mid { font-size: 52px; }
    body { font-size: 16px; }
    .res { padding: 96px 0; }
    .band { padding: 80px 0; }
    .pc-row { gap: 28px; }
    .pc-grid { gap: 32px 28px; }
    .footer-cols { gap: 40px; }
  }
  @media (max-width: 767px) {
    :root { --pad: 24px; }
    .strip h1 { font-size: 44px; }
    .h2 { font-size: 38px; }
    .h2-mid { font-size: 38px; }
    body { font-size: 16px; }
    .res { padding: 72px 0; }
    .band { padding: 64px 0; }
    .clarity { padding: 90px 0; }

    .filterbar-inner { flex-direction: column; align-items: stretch; gap: 0; padding-top: 12px; padding-bottom: 14px; }
    .filter-pills { padding-bottom: 12px; }
    .filter-search { width: 100%; }
    .filter-search input { width: 100%; }

    .pc-row { grid-template-columns: 1fr; gap: 40px; }
    .pc-grid { grid-template-columns: 1fr; gap: 40px; }

    .band-head { flex-direction: column; gap: 14px; align-items: flex-start; }

    .clarity-grid { grid-template-columns: 1fr; gap: 40px; }

    .footer-cols { grid-template-columns: 1fr; gap: 48px; justify-items: center; text-align: center; }
    .footer-nav { align-items: center; }
    .footer-signup { justify-self: center; }
    .footer-signup-title, .footer-signup-body { text-align: center; }
    .footer-signup-body { margin-left: auto; margin-right: auto; }
    .footer-bottom { flex-direction: column; align-items: flex-start; gap: 10px; }
    .nav-menu { gap: 16px; }
  }
  @media (min-width: 768px) and (max-width: 1024px) {
    .pc-grid { grid-template-columns: repeat(2, 1fr); }
  }

  /* Mobile navigation — hamburger collapse below 600px */
  .nav-toggle { display: none; background: none; border: 0; color: var(--off-white); cursor: pointer; padding: 6px 4px; font-size: 26px; line-height: 1; }
  .nav-toggle:focus-visible { outline: 1px solid var(--brass); outline-offset: 3px; }
  @media (max-width: 600px) {
    .nav-toggle { display: inline-flex; align-items: center; justify-content: center; }
    .nav-menu {
      position: absolute; top: 100%; left: 0; right: 0;
      flex-direction: column; align-items: stretch; gap: 0;
      background: var(--charcoal); border-bottom: 1px solid rgba(250,250,247,0.08);
      padding: 0 var(--pad);
      max-height: 0; overflow: hidden; visibility: hidden;
      transition: max-height .3s ease, visibility .3s ease; z-index: 50;
    }
    .nav.open .nav-menu { max-height: 80vh; visibility: visible; padding-top: 6px; padding-bottom: 18px; }
    .nav-menu a { width: 100%; padding: 13px 0; font-size: 16px; }
    .nav-menu a::after { display: none; }
  }
  html, body { overflow-x: hidden; }

<!-- MailerLite Clarity Letter form — restyled to match the dark DYN section (verbatim from Home) -->
<style id="ml-clarity-restyle">
  #clarity-letter .ml-form-embedContainer,
  #clarity-letter .ml-form-align-center,
  #clarity-letter .ml-form-embedWrapper,
  #clarity-letter .ml-form-embedWrapper.embedForm,
  #clarity-letter .ml-form-embedBody,
  #clarity-letter .ml-form-embedBodyDefault { background: transparent !important; border: 0 !important; box-shadow: none !important; }
  #clarity-letter .ml-form-embedWrapper { max-width: none !important; width: 100% !important; }
  #clarity-letter .ml-form-embedBody { padding: 0 !important; }
  #clarity-letter .ml-form-embedContent { margin: 0 0 8px !important; }
  #clarity-letter .ml-form-embedContainer .ml-form-embedWrapper .ml-form-embedBody .ml-form-fieldRow input.form-control {
    font-family: var(--sans) !important; font-size: 16px !important; font-weight: 400 !important; height: 60px !important; padding: 0 20px !important;
    background: transparent !important; color: var(--off-white) !important; border: 1px solid rgba(250,250,247,0.25) !important; border-radius: 2px !important;
    box-shadow: none !important; transition: border-color .25s ease !important;
  }
  #clarity-letter .ml-form-embedContainer .ml-form-embedWrapper .ml-form-embedBody .ml-form-fieldRow input.form-control:focus { border-color: var(--brass) !important; }
  #clarity-letter .ml-form-embedContainer .ml-form-embedWrapper .ml-form-embedBody .ml-form-fieldRow input.form-control::placeholder { color: rgba(250,250,247,0.5) !important; }
  #clarity-letter .ml-form-fieldRow { margin: 0 0 16px !important; }
  #clarity-letter .ml-form-fieldRow.ml-last-item { margin-bottom: 0 !important; }
  #clarity-letter .ml-form-checkboxRow { margin-top: 18px !important; }
  #clarity-letter .ml-form-embedContainer .ml-form-embedWrapper .ml-form-embedBody .ml-form-checkboxRow .label-description,
  #clarity-letter .ml-form-embedContainer .ml-form-embedWrapper .ml-form-embedBody .ml-form-checkboxRow .label-description p,
  #clarity-letter .ml-form-embedContainer .ml-form-embedWrapper .ml-form-embedBody .ml-form-checkboxRow .label-description p span,
  #clarity-letter .ml-form-embedContainer .ml-form-embedWrapper .ml-form-embedBody .ml-form-checkboxRow .label-description span,
  #clarity-letter .ml-form-embedContainer .ml-form-embedWrapper .ml-form-embedBody .ml-form-checkboxRow label.checkbox {
    color: var(--off-white) !important; font-family: var(--sans) !important; font-size: 13px !important; line-height: 1.55 !important;
  }
  #clarity-letter .ml-form-checkboxRow a { color: var(--brass) !important; text-decoration: underline !important; text-underline-offset: 3px !important; }
  #clarity-letter .ml-form-embedSubmit { margin-top: 20px !important; }
  #clarity-letter .ml-form-embedContainer .ml-form-embedWrapper .ml-form-embedBody .ml-form-embedSubmit button.primary,
  #clarity-letter .ml-form-embedContainer .ml-form-embedWrapper .ml-form-embedBody .ml-form-embedSubmit button.loading {
    font-family: var(--sans) !important; font-weight: 600 !important; font-size: 12px !important; letter-spacing: 0.04em !important; text-transform: uppercase !important;
    width: 100% !important; height: auto !important; min-height: 60px !important; padding: 18px 16px !important;
    background: var(--brass) !important; color: var(--charcoal) !important; border: 1px solid var(--brass) !important; border-radius: 2px !important;
    box-shadow: none !important; transition: background-color .25s ease, color .25s ease, border-color .25s ease !important;
  }
  #clarity-letter .ml-form-embedContainer .ml-form-embedWrapper .ml-form-embedBody .ml-form-embedSubmit button.primary:hover { background: var(--brass-dark) !important; color: var(--off-white) !important; border-color: var(--brass-dark) !important; }
  #clarity-letter .ml-form-embedContainer .ml-form-embedWrapper .ml-form-embedBody .ml-form-embedSubmit button.loading { background: var(--brass-dark) !important; border-color: var(--brass-dark) !important; }
  #clarity-letter .ml-form-successBody, #clarity-letter .ml-form-successBody .ml-form-successContent, #clarity-letter .ml-form-successBody h4, #clarity-letter .ml-form-successBody p { background: transparent !important; color: var(--off-white) !important; }

<!-- ============================================================
     RESOURCES v2 — additive CSS (training card, single-post view,
     library hero). Tokens + base reused verbatim from Home above.
     ============================================================ -->
<style id="resources-v2">
  /* ---- Library hero (hub) ---- */
  #view-hub .strip h1 em { color: var(--brass); }

  /* Auto-hide: sections/rows with zero matching posts render hidden */
  [hidden] { display: none !important; }

  /* Buttons never wrap their label */
  .btn { white-space: nowrap; }

  /* Category eyebrow + tag chips are display-only labels, not links */
  .pc-eyebrow, .pc-chips, .pc-chip { cursor: default; }

  /* Sentence case for blog titles + article headings (only first letter uppercase) */
  /* titles render as authored (preserves acronyms like AI) */

  /* Ghost link, back variant — leading arrow instead of trailing */
  .btn-ghost.back::after { content: none; }
  .btn-ghost.back::before { content: "\2190"; font-size: 15px; line-height: 1; }

  /* ---- Striped neutral placeholder block (article figures) ---- */
  .ph { position: relative; background:
      repeating-linear-gradient(45deg, #F1F2EE 0 13px, #EAEBE5 13px 26px);
    border: 1px solid var(--surface-2); display: flex; align-items: center; justify-content: center; }
  .ph span { font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace; font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--brass-dark); }

  /* ============================================================
     TRAINING CARD VARIANT (Trainings highlight row)
     ============================================================ */
  .pc-train { margin-top: auto; padding-top: 16px; display: flex; align-items: center; justify-content: space-between; gap: 14px; border-top: 1px solid var(--surface-2); }
  .pc-price { font-family: var(--serif); font-weight: 400; font-size: 24px; line-height: 1; color: var(--text); }
  .pc-price.is-free { font-family: var(--sans); font-weight: 600; font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--brass-dark); }
  .pc-cta { font-family: var(--sans); font-weight: 600; font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; white-space: nowrap; color: var(--charcoal); background: var(--brass); border: 1px solid var(--brass); border-radius: 2px; padding: 11px 18px; line-height: 1; transition: background-color .25s ease, color .25s ease, border-color .25s ease; }
  .post-card:hover .pc-cta { background: var(--brass-dark); color: var(--off-white); border-color: var(--brass-dark); }
  /* training cards stretch so the CTA row sits on the baseline */
  #area-trainings .post-card .pc-body { flex: 1 1 auto; }

  /* ============================================================
     SINGLE POST VIEW (#view-post)
     ============================================================ */
  .article { background: var(--paper); padding: 88px 0 104px; }
  .article-wrap { max-width: 752px; margin: 0 auto; padding: 0 var(--pad); }

  .breadcrumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-family: var(--sans); font-size: 12px; line-height: 1.6; color: var(--text-secondary); }
  .breadcrumbs a { color: var(--brass-dark); }
  .breadcrumbs a:hover { text-decoration: underline; text-underline-offset: 3px; }
  .breadcrumbs .sep { opacity: 0.45; }
  .breadcrumbs .crumb-current { color: var(--text-secondary); }

  .post-header { margin-top: 30px; }
  .post-header .eyebrow { margin-bottom: 20px; }
  .post-h1 { font-family: var(--serif); font-weight: 100; font-size: 58px; line-height: 1.08; letter-spacing: 0.004em; color: var(--text); text-wrap: wrap; margin: 0; }
  .post-h1 em { font-style: italic; font-weight: 100; color: var(--brass-dark); }
  .post-meta { margin-top: 22px; font-family: var(--sans); font-size: 14px; color: var(--text-secondary); }
  .post-featured { margin-top: 40px; aspect-ratio: 16 / 9; overflow: hidden; border: 1px solid var(--surface-2); }
  .post-featured img { width: 100%; height: 100%; object-fit: cover; }

  /* Key takeaways — brass-accented card */
  .takeaways { margin-top: 48px; background: var(--surface-1); border: 1px solid var(--surface-2); border-left: 3px solid var(--brass); padding: 32px 36px; }
  .takeaways .eyebrow { margin-bottom: 18px; }
  .takeaways ul { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 13px; }
  .takeaways li { position: relative; padding-left: 24px; font-family: var(--sans); font-size: 16px; line-height: 1.55; color: var(--text); }
  .takeaways li::before { content: ""; position: absolute; left: 2px; top: 9px; width: 7px; height: 7px; background: var(--brass); transform: rotate(45deg); }

  /* Table of contents — long posts only */
  .toc { margin-top: 36px; border: 1px solid var(--surface-2); padding: 24px 28px; }
  .toc .eyebrow { margin-bottom: 14px; }
  .toc ol { margin: 0; padding: 0; list-style: none; counter-reset: toc; column-gap: 40px; }
  .toc li { counter-increment: toc; padding: 6px 0; border-top: 1px solid var(--surface-2); }
  .toc li:first-child { border-top: 0; }
  .toc a { font-family: var(--sans); font-size: 15px; color: var(--text); display: flex; gap: 12px; }
  .toc a::before { content: counter(toc, decimal-leading-zero); font-family: var(--serif); color: var(--brass-dark); font-size: 14px; }
  .toc a:hover { color: var(--brass-dark); }

  /* Article body */
  .post-body { margin-top: 52px; font-family: var(--sans); font-size: 18px; line-height: 1.8; color: var(--text); }
  .post-body > p { margin: 0 0 26px; }
  .post-body p.lead::first-letter { font-family: var(--serif); font-weight: 400; font-size: 62px; line-height: 0.82; float: left; padding: 7px 14px 0 0; color: var(--brass-dark); }
  .post-body h2 { font-family: var(--serif); font-weight: 100; font-size: 32px; line-height: 1.22; color: var(--text); margin: 60px 0 18px; scroll-margin-top: 96px; text-wrap: wrap; }
  .post-body h3 { font-family: var(--serif); font-weight: 100; font-size: 24px; line-height: 1.25; color: var(--text); margin: 40px 0 14px; text-wrap: wrap; }
  .post-body h4 { font-family: var(--serif); font-weight: 100; font-size: 21px; line-height: 1.3; color: var(--text); margin: 34px 0 12px; }
  .post-body strong { font-weight: 600; }
  /* Code blocks (e.g. copy-paste templates) — contained, wrapping, on-brand */
  .post-body pre { background: var(--surface-1); border: 1px solid var(--surface-2); border-radius: 4px; padding: 22px 24px; margin: 32px 0; overflow-x: auto; }
  .post-body pre code { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 14px; line-height: 1.7; color: var(--text); white-space: pre-wrap; word-break: break-word; background: none; padding: 0; }
  .post-body :not(pre) > code { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 0.88em; background: var(--surface-1); border: 1px solid var(--surface-2); border-radius: 3px; padding: 1px 6px; }
  .post-body a:not(.btn) { color: var(--brass-dark); text-decoration: underline; text-underline-offset: 3px; }
  .post-body ul, .post-body ol { margin: 0 0 26px; padding-left: 22px; }
  .post-body li { margin-bottom: 10px; }
  .post-body blockquote { margin: 44px 0; padding: 6px 0 6px 28px; border-left: 2px solid var(--brass); font-family: var(--serif); font-style: italic; font-weight: 400; font-size: 27px; line-height: 1.4; color: var(--text); }
  .post-body figure { margin: 44px 0; }
  .post-body figure .ph { aspect-ratio: 16 / 9; }
  .post-body figcaption { font-family: var(--sans); font-size: 13px; color: var(--text-secondary); margin-top: 12px; }

  /* Inline freebie (only when post has a download) */
  .freebie { margin: 52px 0; background: var(--surface-1); border: 1px solid var(--surface-2); border-left: 3px solid var(--brass); padding: 34px 36px; }
  .freebie .eyebrow { margin-bottom: 14px; }
  .freebie h4 { font-family: var(--serif); font-weight: 400; font-size: 26px; line-height: 1.2; color: var(--text); margin: 0 0 10px; }
  .freebie p { font-family: var(--sans); font-size: 15px; color: var(--text-secondary); margin: 0 0 22px; }
  .freebie form { display: flex; gap: 12px; }
  .freebie input { flex: 1 1 auto; height: 56px; padding: 0 18px; background: var(--paper); border: 1px solid var(--surface-2); border-radius: 2px; font-family: var(--sans); font-size: 15px; color: var(--text); transition: border-color .25s ease; }
  .freebie input::placeholder { color: var(--text-secondary); }
  .freebie input:focus { outline: none; border-color: var(--brass-dark); }
  .freebie .btn { flex: 0 0 auto; padding: 0 28px; }
  @media (max-width: 560px) { .freebie form { flex-direction: column; } .freebie .btn { height: 56px; } }

  /* End CTA — charcoal band matched to pillar */
  .endcta { background: var(--charcoal); padding: 116px 0; text-align: center; }
  .endcta-inner { max-width: 760px; margin: 0 auto; padding: 0 var(--pad); }
  .endcta .eyebrow { color: var(--brass); }
  .endcta h2 { color: var(--off-white); margin-top: 22px; }
  .endcta h2 em { color: var(--brass); }
  .endcta p { margin: 28px auto 0; max-width: 560px; color: var(--off-white); opacity: 0.85; font-size: 18px; line-height: 1.65; }
  .endcta .btn { margin-top: 44px; }

  /* Author bio */
  .author { background: var(--paper); padding: 80px 0; border-top: 1px solid var(--surface-2); }
  .author-inner { max-width: 752px; margin: 0 auto; padding: 0 var(--pad); display: flex; gap: 32px; align-items: center; }
  .author-photo { width: 104px; height: 104px; flex: 0 0 auto; border-radius: 50%; overflow: hidden; border: 1px solid var(--surface-2); }
  .author-photo img { width: 100%; height: 100%; object-fit: cover; }
  .author-name { font-family: var(--serif); font-weight: 400; font-size: 26px; line-height: 1.15; color: var(--text); margin: 0; }
  .author .eyebrow { margin-bottom: 10px; }
  .author-bio { font-family: var(--sans); font-size: 15px; line-height: 1.65; color: var(--text-secondary); margin: 10px 0 16px; }
  @media (max-width: 560px) { .author-inner { flex-direction: column; text-align: center; align-items: center; } }

  /* Related posts + back link */
  .post-back { text-align: center; padding: 0 0 110px; background: var(--paper); }

  @media (max-width: 1024px) {
    .post-h1 { font-size: 46px; }
    .article { padding-top: 64px; }
  }
  @media (max-width: 767px) {
    .post-h1 { font-size: 36px; }
    .post-body { font-size: 17px; }
    .post-body blockquote { font-size: 23px; }
    .toc ol { columns: 1; }
  }
