/* =========================================================
       THEME — The Government We Deserve
       ========================================================= */
    :root {
      /* Core palette - matched to steuerle.org's "Campus Bright" theme */
      --ink:        #20293A;   /* body text - charcoal navy */
      --ink-2:      #4A5568;   /* secondary text */
      --ink-3:      #7C8798;   /* muted text */
      --paper:      #F2F6FB;   /* page background - pale blue */
      --paper-2:    #EEF3FA;   /* chip / band background */
      --paper-3:    #DBE5F0;   /* light blue-grey */
      --line:       #CFD9E6;   /* borders */

      /* Accents - the theme's own hues, for fills and large display type */
      --gold:       #FFD166;   /* gold rules, badges, buttons */
      --teal:       #1FA89A;   /* light teal - wordmark + featured-article highlight */
      --teal-deep:  #156F5B;   /* dark teal - small accents, links and text on light panels */
      --coral:      #F0577E;   /* pink accent */
      --plum:       #0A7EE8;   /* primary blue */
      --leaf:       #F5A623;   /* orange */
      --sky:        #0A3D91;   /* deep blue */
      --rose:       #FFB3C6;   /* pale pink */
      --blue-ink:   #0A5FBF;   /* blue, small text */
      --pink-lite:  #FF9BB3;   /* pink, on dark */
      --blue-pale:  #CFE4FF;   /* pale blue text on dark bands */

      /* Text-safe variants - the same hues darkened for small text on light */
      --gold-ink:   #755000;
      --gold-pale:  #FFE9A8;   /* pale gold, for text on the deep-blue band */
      --coral-deep:  #A62A4B;   /* deep coral, for small text on pale panels */
      --teal-ink:   #0F6E66;
      --coral-ink:  #BE3459;
      --leaf-ink:   #8F5A12;
      --rose-ink:   #B2507C;

      /* Functional */
      --muted:      #5A6577;
      --muted-2:    #7C8798;
      --radius:     14px;
      --radius-sm:  8px;
      --radius-lg:  22px;
      --shadow-sm:  0 1px 2px rgba(32,41,58,.06), 0 2px 8px rgba(32,41,58,.04);
      --shadow:     0 4px 18px rgba(32,41,58,.08);
      --shadow-lg:  0 18px 50px rgba(32,41,58,.18);
      --container:  1200px;
    }

    /* =========================================================
       RESET + BASE
       ========================================================= */
    *,*::before,*::after { box-sizing: border-box; }
    html { -webkit-text-size-adjust: 100%; }
    body {
      margin: 0;
      font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
      color: var(--ink);
      background: var(--paper);
      line-height: 1.6;
      -webkit-font-smoothing: antialiased;
      text-rendering: optimizeLegibility;
    }
    img, svg { display: block; max-width: 100%; }
    a { color: var(--ink); text-decoration: none; transition: color .15s ease; }
    a:hover { color: var(--coral-ink); }
    button { font: inherit; cursor: pointer; }
    ::selection { background: var(--gold); color: var(--ink); }

    h1,h2,h3,h4 {
      font-family: 'Fraunces', Georgia, serif;
      font-weight: 700;
      line-height: 1.15;
      letter-spacing: -0.01em;
      color: var(--ink);
      margin: 0 0 .4em;
    }
    h1 { font-size: clamp(2rem, 1.4rem + 2.4vw, 2.8rem); }
    h2 { font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.2rem); }
    h3 { font-size: clamp(1.2rem, 1rem + .8vw, 1.5rem); }
    h4 { font-size: 1.05rem; }
    p  { margin: 0 0 1em; }

    .container {
      max-width: var(--container);
      margin: 0 auto;
      padding: 0 24px;
    }
    .mono { font-family: 'IBM Plex Mono', ui-monospace, SFMono-Regular, monospace; }
    .serif { font-family: 'Fraunces', Georgia, serif; }
    .kicker {
      display: inline-block;
      font-family: 'IBM Plex Mono', monospace;
      font-size: .72rem;
      letter-spacing: .14em;
      text-transform: uppercase;
      color: var(--sky);
      font-weight: 600;
      margin-bottom: .9em;
    }
    .kicker.gold  { color: var(--gold-ink); }
    .kicker.coral { color: var(--coral-ink); }
    .kicker.plum  { color: var(--blue-ink); }
    .kicker.leaf  { color: var(--leaf-ink); }

    /* =========================================================
       TOP MARKET / TICKER BAR
       ========================================================= */
    .market-bar {
      background: var(--ink);
      color: #DBE5F0;
      font-family: 'IBM Plex Mono', monospace;
      font-size: .8rem;
      overflow: hidden;
      border-bottom: 1px solid #2E3B50;
    }
    .market-bar__inner {
      display: flex;
      align-items: center;
      gap: 0;
      padding: 9px 0;
      white-space: nowrap;
    }
    .ticker-wrap { flex: 1; min-width: 0; overflow: hidden; }
    .ticker {
      display: inline-flex;
      gap: 36px;
      padding-left: 100%;
      animation: tickerScroll 60s linear infinite;
    }
    .ticker__item { display: inline-flex; align-items: baseline; gap: 8px; }
    .ticker__sym  { color: #93A1B5; font-weight: 600; }
    .ticker__val  { color: #fff; font-weight: 600; }
    .ticker__chg  { font-weight: 500; }
    .up   { color: #1FA89A; }
    .down { color: var(--pink-lite); }
    @keyframes tickerScroll {
      0%   { transform: translateX(0); }
      100% { transform: translateX(-100%); }
    }
    .market-bar__date {
      padding: 0 18px;
      border-left: 1px solid #3B4A63;
      color: #93A1B5;
    }
    .market-bar__label {
      padding: 0 18px 0 24px;
      color: #93A1B5;
      font-weight: 600;
      letter-spacing: .12em;
      font-size: .7rem;
    }
    .market-bar__pulse {
      display: inline-block; width: 7px; height: 7px; border-radius: 50%;
      background: var(--leaf); box-shadow: 0 0 0 0 rgba(93,166,89,.6);
      animation: pulse 2s infinite;
      margin-right: 8px;
      vertical-align: middle;
    }
    @keyframes pulse {
      0% { box-shadow: 0 0 0 0 rgba(93,166,89,.6); }
      70% { box-shadow: 0 0 0 8px rgba(93,166,89,0); }
      100% { box-shadow: 0 0 0 0 rgba(93,166,89,0); }
    }

    /* =========================================================
       HEADER
       ========================================================= */
    .site-header {
      background: var(--paper);
      border-bottom: 1px solid var(--line);
      position: sticky; top: 0; z-index: 50;
      backdrop-filter: blur(8px);
      box-shadow: inset 0 3px 0 var(--teal);
    }
    /* The legacy Elementor pages still carry the site's own 10Web header
       and footer. This theme supplies its own, so those are hidden to
       avoid a doubled header on the preserved pages. */
    [data-elementor-type="twbb_header"],
    [data-elementor-type="twbb_footer"] { display: none; }

    /* The preserved Elementor pages bring their own layout and spacing. */
    .gdw-fullbleed { padding-top: 0; }

    .site-header__inner {
      display: flex; align-items: center; gap: 24px;
      padding: 18px 0;
    }
    .brand { display: flex; align-items: center; gap: 14px; flex: 0 1 auto; min-width: 0; }
    .brand__text { min-width: 0; }
    .brand__mark {
      width: 48px; height: 48px;
      border-radius: 12px;
      background: linear-gradient(150deg, var(--sky) 0%, #0A62C8 100%);
      display: grid; place-items: center;
      color: var(--gold);
      box-shadow: var(--shadow);
    }
    .brand__text h1 {
      font-size: 1.45rem;
      line-height: 1.1;
      margin: 0 0 2px;
      letter-spacing: -0.02em;
    }
    .brand__text h1 em { color: var(--teal); font-style: normal; }
    .brand__tag {
      font-family: 'Fraunces', Georgia, serif;
      font-size: 1.02rem;
      font-style: italic;
      font-weight: 500;
      color: var(--teal-ink);
      letter-spacing: -0.005em;
      line-height: 1.3;
    }
    .primary-nav {
      display: flex; gap: 2px; margin-left: auto;
    }
    /* WordPress renders a menu as a list. The list has to sit in a row
       inside the bar, so that a built menu looks exactly like the
       fallback navigation. */
    .primary-nav ul {
      display: flex; align-items: center; gap: 2px;
      list-style: none; margin: 0; padding: 0;
    }
    .primary-nav li { margin: 0; padding: 0; }
    .primary-nav a {
      padding: 6.5px 9px;
      border-radius: 999px;
      border: 1.5px solid transparent;
      font-weight: 500;
      font-size: .95rem;
      color: var(--ink-2);
      white-space: nowrap;
    }
    .primary-nav a:hover { background: var(--paper-2); color: var(--ink); }
    .primary-nav a.is-active { background: var(--ink); color: var(--paper); }
    .primary-nav a.is-cv {
      background: var(--gold);
      color: var(--ink);
      font-weight: 600;
      margin-left: 4px;
    }
    .primary-nav a.is-cv:hover { background: var(--teal); color: var(--ink); }
    .primary-nav a.is-archive {
      color: var(--teal-deep);
      border-color: rgba(21,111,91,.34);
      background: rgba(21,111,91,.07);
      font-weight: 600;
    }
    .primary-nav a.is-archive:hover { background: var(--teal-deep); color: #fff; }
    /* A WordPress menu is keyed by its URL, so the Archive and CV pills
       keep their colours however the menu happens to be built. */
    .primary-nav a[href*="substack.com/archive"] {
      color: var(--teal-deep);
      border-color: rgba(21,111,91,.34);
      background: rgba(21,111,91,.07);
      font-weight: 600;
    }
    .primary-nav a[href*="substack.com/archive"]:hover { background: var(--teal-deep); color: #fff; }
    .primary-nav a[href*="gene-steuerle-cv"] {
      background: var(--gold);
      color: var(--ink);
      font-weight: 600;
      margin-left: 4px;
    }
    .primary-nav a[href*="gene-steuerle-cv"]:hover { background: var(--teal); color: var(--ink); }
    /* The page you are on is marked the same way as in the fallback nav. */
    .primary-nav .current-menu-item > a,
    .primary-nav .current_page_item > a { background: var(--ink); color: var(--paper); }
    .header-actions { display: flex; align-items: center; gap: 10px; }
    .icon-btn {
      width: 40px; height: 40px;
      display: grid; place-items: center;
      border: 1px solid var(--line);
      background: var(--paper);
      border-radius: 999px;
      color: var(--ink-2);
    }
    .icon-btn:hover { background: var(--paper-2); color: var(--ink); }
    .nav-toggle { display: none; }

    /* =========================================================
       HERO (featured essay)
       ========================================================= */
    .hero {
      position: relative;
      padding: 64px 0 56px;
      background:
        radial-gradient(1100px 480px at 90% -10%, rgba(31,168,154,.18), transparent 60%),
        radial-gradient(900px 400px at -10% 110%, rgba(10,126,232,.14), transparent 60%),
        linear-gradient(180deg, var(--paper) 0%, var(--paper-2) 100%);
      border-bottom: 1px solid var(--line);
      overflow: hidden;
    }
    .hero__grid {
      display: grid;
      grid-template-columns: 1.2fr 1fr;
      gap: 48px;
      align-items: center;
    }
    .hero__feature h2 {
      font-size: clamp(2rem, 1.2rem + 3vw, 3.4rem);
      letter-spacing: -0.025em;
      margin-bottom: .3em;
    }
    .hero__feature h2 em { font-style: italic; color: var(--teal); }
    .hero__dek {
      font-family: 'Fraunces', serif;
      font-size: clamp(1.05rem, .9rem + .5vw, 1.25rem);
      color: var(--ink-2);
      line-height: 1.5;
      font-weight: 400;
      max-width: 56ch;
    }
    .meta {
      display: flex; flex-wrap: wrap; gap: 14px;
      font-family: 'IBM Plex Mono', monospace;
      font-size: .78rem;
      color: var(--muted);
      margin: 22px 0 28px;
      letter-spacing: .03em;
    }
    .meta span:not(:last-child)::after { content: "·"; margin-left: 14px; color: var(--muted-2); }
    .meta .author {
      color: var(--teal);
      font-weight: 800;
      font-family: 'Fraunces', serif;
      font-size: 1.22rem;
      letter-spacing: -0.01em;
    }
    .btn {
      display: inline-flex; align-items: center; gap: 10px;
      padding: 12px 22px;
      border-radius: 999px;
      font-weight: 600;
      font-size: .95rem;
      border: 1.5px solid transparent;
      transition: transform .12s ease, background .12s ease, color .12s ease;
    }
    .btn:hover { transform: translateY(-1px); }
    .btn--primary { background: var(--ink); color: var(--paper); }
    .btn--primary:hover { background: var(--teal); color: var(--ink); }
    .btn--ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
    .btn--ghost:hover { background: var(--ink); color: var(--paper); }
    .btn--gold  { background: var(--gold); color: var(--ink); }
    .btn--gold:hover { background: var(--ink); color: var(--gold); }

    /* hero chart card */
    .hero__chart {
      background: #fff;
      border: 1px solid var(--line);
      border-radius: var(--radius-lg);
      padding: 22px;
      box-shadow: var(--shadow);
    }
    .chart-head {
      display: flex; justify-content: space-between; align-items: baseline;
      margin-bottom: 14px;
    }
    .chart-head h4 {
      font-family: 'Fraunces', serif;
      font-size: 1.05rem;
      margin: 0;
    }
    .chart-head .tag {
      font-family: 'IBM Plex Mono', monospace;
      font-size: .68rem;
      background: var(--paper-2);
      color: var(--ink-2);
      padding: 3px 9px;
      border-radius: 999px;
      letter-spacing: .08em;
    }
    .hero__graphic {
      width: 100%;
      height: auto;
      aspect-ratio: 4 / 3;
      object-fit: cover;
      display: block;
      border-radius: 8px;
    }
    .chart-meta {
      display: grid; grid-template-columns: repeat(3,1fr);
      gap: 8px;
      margin-top: 18px;
      padding-top: 14px;
      border-top: 1px dashed var(--line);
    }
    .chart-meta div { font-family: 'IBM Plex Mono', monospace; font-size: .8rem; }
    .chart-meta .v { display: block; color: var(--ink); font-weight: 600; font-size: .95rem; }
    .chart-meta .l { display: block; color: var(--muted); font-size: .7rem; letter-spacing: .08em; text-transform: uppercase; }

    /* =========================================================
       MAIN GRID (posts + sidebar)
       ========================================================= */
    .main {
      padding: 56px 0 24px;
    }
    .main-grid {
      display: grid;
      grid-template-columns: 1fr 320px;
      gap: 48px;
      align-items: start;
    }
    .section-head {
      display: flex; align-items: baseline; justify-content: space-between;
      margin-bottom: 22px;
      padding-bottom: 14px;
      border-bottom: 3px solid var(--gold);
    }
    .section-head h3 {
      font-size: 1.4rem; margin: 0;
    }
    .section-head h3 em { color: var(--gold-ink); font-style: normal; }
    .section-head a {
      font-family: 'IBM Plex Mono', monospace;
      font-size: .8rem;
      letter-spacing: .04em;
      color: var(--ink-2);
    }
    .section-head a:hover { color: var(--coral-ink); }

    .post-grid {
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      gap: 28px;
    }
    .card {
      background: #fff;
      border: 1px solid var(--line);
      border-radius: var(--radius);
      overflow: hidden;
      display: flex; flex-direction: column;
      transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
    }
    .card:hover {
      transform: translateY(-3px);
      box-shadow: var(--shadow);
      border-color: var(--coral);
    }
    .card__media {
      aspect-ratio: 3 / 2;
      position: relative;
      overflow: hidden;
      background: var(--paper-2);
    }
    .card__media svg { width: 100%; height: 100%; }
    .card__media img {
      width: 100%; height: 100%;
      object-fit: cover;
      display: block;
      transition: transform .4s ease;
    }
    .card:hover .card__media img { transform: scale(1.04); }
    .card__body { padding: 18px 20px 22px; flex: 1; display: flex; flex-direction: column; }
    .card__cat {
      display: inline-block;
      font-family: 'IBM Plex Mono', monospace;
      font-size: .68rem;
      letter-spacing: .1em;
      text-transform: uppercase;
      font-weight: 600;
      margin-bottom: 8px;
    }
    .card__cat.tax      { color: var(--teal-ink); }
    .card__cat.budget   { color: var(--coral-ink); }
    .card__cat.macro    { color: var(--blue-ink); }
    .card__cat.policy   { color: var(--leaf-ink); }
    .card__cat.explainer{ color: var(--gold-ink); }
    .card__cat.history  { color: var(--ink-2); }
    .card__cat.social  { color: var(--rose-ink); }
    .card h4 {
      font-size: 1.15rem;
      line-height: 1.25;
      margin: 0 0 8px;
    }
    .card h4 a { color: var(--ink); }
    .card h4 a:hover { color: var(--coral-ink); }
    .card p { font-size: .92rem; color: var(--ink-2); margin: 0 0 14px; }
    .card__meta {
      margin-top: auto;
      display: flex; gap: 10px; align-items: center;
      font-family: 'IBM Plex Mono', monospace;
      font-size: .72rem;
      color: var(--muted);
    }
    .card__meta .dot { width: 4px; height: 4px; background: var(--muted-2); border-radius: 50%; }
    .card__comments {
      margin-left: auto;
      display: inline-flex; align-items: center; gap: 4px;
      color: var(--ink-2);
    }
    .card__comments svg { width: 12px; height: 12px; }

    /* "Continue reading" link below excerpt */
    .read-more {
      font-weight: 600;
      font-size: .9rem;
      color: var(--coral-ink);
    }
    .read-more::after { content: " →"; transition: margin .12s ease; }
    .read-more:hover::after { margin-left: 4px; }

    /* read the full archive control - replaces the old pagination strip */
    .more-essays {
      display: flex; justify-content: center;
      margin-top: 26px;
    }


    /* =========================================================
       SIDEBAR (WordPress-style widgetized)
       ========================================================= */
    .sidebar { display: flex; flex-direction: column; gap: 22px; position: sticky; top: 110px; }
    .widget {
      background: #fff;
      border: 1px solid var(--line);
      border-radius: var(--radius);
      padding: 20px 22px;
    }
    .widget__title {
      font-family: 'Fraunces', serif;
      font-size: 1.05rem;
      margin: 0 0 14px;
      padding-bottom: 10px;
      border-bottom: 1.5px solid var(--ink);
      display: flex; align-items: center; gap: 8px;
    }
    .widget__title .dot {
      width: 10px; height: 10px; border-radius: 3px;
      background: var(--gold);
    }
    .widget--about .widget__title .dot { background: var(--coral); }
    .widget--recent .widget__title .dot { background: var(--teal); }
    .widget--cats .widget__title .dot { background: var(--plum); }
    .widget--tags .widget__title .dot { background: var(--leaf); }
    .widget--news .widget__title .dot { background: var(--coral); }
    .widget--book  .widget__title .dot { background: var(--gold); }

    /* about widget */
    .author-card { display: flex; gap: 14px; align-items: flex-start; }
    .author-card__avatar {
      width: 64px; height: 64px; border-radius: 50%; flex: 0 0 64px;
      background: linear-gradient(135deg, var(--plum), var(--coral));
      color: #fff; display: grid; place-items: center;
      font-family: 'Fraunces', serif; font-weight: 700; font-size: 1.6rem;
      box-shadow: var(--shadow-sm);
      overflow: hidden;
      padding: 0;
    }
    .author-card__avatar img {
      width: 100%; height: 100%;
      object-fit: cover;
      object-position: center 22%;
      display: block;
    }
    .author-card h5 {
      margin: 0 0 4px;
      font-family: 'Fraunces', serif;
      font-size: 1.4rem;
      font-weight: 800;
      letter-spacing: -0.015em;
      color: var(--coral-ink);
      position: relative;
      line-height: 1.15;
    }
    .author-card h5::after {
      content: "";
      display: block;
      width: 36px; height: 3px;
      background: var(--gold);
      margin-top: 8px;
      border-radius: 2px;
    }
    .author-card p { font-size: .88rem; color: var(--ink-2); margin: 10px 0 12px; line-height: 1.5; }
    .author-card .more { font-size: .82rem; font-weight: 600; color: var(--teal-ink); }

    /* recent posts widget */
    .rp { display: flex; gap: 12px; padding: 10px 0; border-bottom: 1px dashed var(--line); }
    .rp:last-child { border-bottom: 0; }
    .rp__thumb {
      width: 56px; height: 56px; flex: 0 0 56px; border-radius: 8px; overflow: hidden;
    }
    .rp__thumb svg { width: 100%; height: 100%; }
    .rp__thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
    .rp__body h6 { margin: 0 0 2px; font-size: .88rem; line-height: 1.3; font-family: 'Fraunces', serif; }
    .rp__body h6 a { color: var(--ink); }
    .rp__body h6 a:hover { color: var(--coral-ink); }
    .rp__body time { font-family: 'IBM Plex Mono', monospace; font-size: .7rem; color: var(--muted); }

    /* categories widget */
    .cat-list { list-style: none; padding: 0; margin: 0; }
    .cat-list li { display: flex; justify-content: space-between; padding: 8px 0; border-bottom: 1px dashed var(--line); font-size: .9rem; }
    .cat-list li:last-child { border-bottom: 0; }
    .cat-list a { color: var(--ink-2); display: inline-flex; gap: 8px; align-items: center; }
    .cat-list a::before { content: ""; width: 8px; height: 8px; border-radius: 2px; background: var(--teal); }
    .cat-list li:nth-child(2) a::before { background: var(--coral); }
    .cat-list li:nth-child(3) a::before { background: var(--plum); }
    .cat-list li:nth-child(4) a::before { background: var(--leaf); }
    .cat-list li:nth-child(5) a::before { background: var(--gold); }
    .cat-list .count { color: var(--muted); font-family: 'IBM Plex Mono', monospace; font-size: .75rem; }

    /* tags widget */
    .tag-cloud { display: flex; flex-wrap: wrap; gap: 6px; }
    .tag-cloud a {
      display: inline-block;
      padding: 4px 10px;
      background: var(--paper-2);
      color: var(--ink-2);
      font-size: .78rem;
      border-radius: 999px;
      font-family: 'IBM Plex Mono', monospace;
    }
    .tag-cloud a:hover { background: var(--ink); color: var(--paper); }

    /* newsletter widget */
    .widget--news p { font-size: .85rem; color: var(--muted); margin: 0 0 12px; }
    .newsletter form { display: flex; flex-direction: column; gap: 8px; }
    .newsletter input[type=email] {
      width: 100%;
      padding: 10px 12px;
      border: 1px solid var(--line);
      border-radius: 8px;
      font: inherit; font-size: .9rem;
      background: var(--paper);
    }
    .newsletter input[type=email]:focus { outline: 2px solid var(--gold); outline-offset: 1px; }
    .newsletter button {
      padding: 10px 14px;
      background: var(--ink); color: var(--paper);
      border: 0; border-radius: 8px;
      font-weight: 600; font-size: .9rem;
    }
    .newsletter button:hover { background: var(--coral); }
    .newsletter .note { font-size: .72rem; color: var(--muted); margin: 4px 0 0; font-family: 'IBM Plex Mono', monospace; }

    /* featured book widget */
    .book-promo { text-align: center; }
    .book-cover {
      width: 160px; aspect-ratio: 311 / 466;
      margin: 4px auto 14px;
      border-radius: 4px 8px 8px 4px;
      box-shadow: var(--shadow);
      position: relative;
      background: linear-gradient(160deg, var(--ink) 0%, var(--ink-2) 60%, var(--teal) 100%);
      color: var(--paper);
      padding: 18px 14px;
      display: flex; flex-direction: column; justify-content: space-between;
      overflow: hidden;
    }
    .book-cover.is-image {
      padding: 0;
      background: #fff;
    }
    .book-cover.is-image img {
      width: 100%; height: 100%;
      object-fit: cover;
      display: block;
    }
    .book-cover::before {
      content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 5px;
      background: rgba(0,0,0,.25);
      z-index: 2;
    }
    .book-cover.is-image::before { display: none; }
    .book-cover .label { font-family: 'IBM Plex Mono', monospace; font-size: .55rem; letter-spacing: .15em; opacity: .75; }
    .book-cover h6 {
      font-family: 'Fraunces', serif; font-size: 1rem; line-height: 1.1; margin: 0; font-weight: 700;
    }
    .book-cover .author { font-family: 'IBM Plex Mono', monospace; font-size: .65rem; }
    .book-promo p { font-size: .82rem; color: var(--muted); margin: 0 0 12px; }
    .book-promo .btn { width: 100%; justify-content: center; }
    .widget__more { display: block; margin-top: 12px; text-align: center; font-family: 'IBM Plex Mono', monospace; font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; font-weight: 600; color: var(--teal-deep); border-bottom: 1.5px solid rgba(21,111,91,.35); padding-bottom: 3px; }
    .widget__more:hover { border-bottom-color: var(--teal-deep); }

    /* =========================================================
       BOOKS BAND
       ========================================================= */
    .books-band {
      padding: 64px 0;
      background:
        linear-gradient(180deg, var(--paper) 0%, var(--paper-2) 100%);
      border-top: 1px solid var(--line);
      border-bottom: 1px solid var(--line);
    }
    .books-head {
      display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap;
      margin-bottom: 28px;
    }
    .books-head p { color: var(--muted); max-width: 50ch; margin: 0; }
    .book-grid {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 26px;
    }
    .book {
      background: #fff;
      border: 1px solid var(--line);
      border-radius: var(--radius);
      padding: 22px;
      text-align: center;
      transition: transform .18s ease, box-shadow .18s ease;
    }
    .book:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
    .book__cover {
      width: 100%;
      aspect-ratio: 3 / 4;
      border-radius: 4px 6px 6px 4px;
      margin-bottom: 16px;
      position: relative; overflow: hidden;
      padding: 18px 16px;
      display: flex; flex-direction: column; justify-content: space-between;
      color: var(--paper);
      box-shadow: var(--shadow);
    }
    .book__cover.is-image { padding: 0; background: #fff; }
    .book__cover.is-image img { width: 100%; height: 100%; object-fit: cover; display: block; }
    .book__cover::before {
      content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px;
      background: rgba(0,0,0,.25);
    }
    .book__cover.is-image::before { display: none; }
    .book__cover .label { font-family: 'IBM Plex Mono', monospace; font-size: .6rem; letter-spacing: .15em; opacity: .8; }
    .book__cover h5 { font-family: 'Fraunces', serif; font-size: 1.15rem; line-height: 1.1; margin: 0; }
    .book__cover .yr { font-family: 'IBM Plex Mono', monospace; font-size: .7rem; opacity: .8; }
    .book h4 { font-size: 1.05rem; margin: 0 0 4px; }
    .book p { font-size: .82rem; color: var(--muted); margin: 0; }
    .book__cta {
      display: inline-block; margin-top: 12px;
      font-size: .85rem; font-weight: 600; color: var(--coral-ink);
    }
    .book--c1 .book__cover { background: linear-gradient(160deg, var(--ink) 0%, var(--ink-2) 60%, var(--teal) 100%); }
    .book--c2 .book__cover { background: linear-gradient(160deg, var(--coral) 0%, #D93E66 100%); }
    .book--c3 .book__cover { background: linear-gradient(160deg, var(--plum) 0%, var(--sky) 100%); }
    .book--c4 .book__cover { background: linear-gradient(160deg, var(--leaf) 0%, #B5751A 100%); }

    /* =========================================================
       WORKS ARCHIVE BAND
       ========================================================= */
    .works-band {
      padding: 72px 0;
      background: linear-gradient(180deg, var(--paper-2) 0%, var(--paper) 100%);
      border-top: 1px solid var(--line);
      border-bottom: 1px solid var(--line);
    }
    .works-head {
      display: flex; align-items: flex-end; justify-content: space-between;
      gap: 24px; flex-wrap: wrap; margin-bottom: 28px;
    }
    .works-head p { color: var(--muted); max-width: 56ch; margin: 0; }
    .credentials-strip {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 16px;
      margin-bottom: 36px;
    }
    .cred {
      padding: 20px;
      border-radius: 12px;
      color: #fff;
      box-shadow: var(--shadow-sm);
    }
    .cred:nth-child(1) { background: #0A62C8; }
    .cred:nth-child(2) { background: #C22D57; }
    .cred:nth-child(3) { background: #0F6E66; }
    .cred:nth-child(4) { background: #8F5A12; }
    .cred .yr {
      font-family: 'IBM Plex Mono', monospace;
      font-size: .7rem; color: #fff;
      letter-spacing: .1em; text-transform: uppercase; font-weight: 600;
    }
    .cred h5 {
      font-family: 'Fraunces', serif;
      margin: 4px 0 4px; font-size: 1rem;
      color: var(--paper); line-height: 1.2;
    }
    .cred p { margin: 0; font-size: .78rem; color: #fff; line-height: 1.4; }

    .works-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 22px;
    }
    .topic-card {
      background: #fff;
      border: 1px solid var(--line);
      border-radius: var(--radius);
      padding: 22px;
      display: flex; flex-direction: column;
      transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
    }
    .topic-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--coral); }
    .topic-card__head {
      display: flex; align-items: center; gap: 12px; margin-bottom: 6px;
    }
    .topic-card__icon {
      width: 38px; height: 38px; border-radius: 9px;
      display: grid; place-items: center;
      font-family: 'Fraunces', serif; font-size: 1.15rem; font-weight: 700;
    }
    .topic-card.tax .topic-card__icon  { background: rgba(26,168,154,.15); color: var(--teal-ink); }
    .topic-card.ss   .topic-card__icon  { background: rgba(255,209,102,.26); color: var(--gold-ink); }
    .topic-card.bdgt .topic-card__icon  { background: rgba(240,87,126,.16); color: var(--coral-ink); }
    .topic-card.hlth .topic-card__icon  { background: rgba(10,126,232,.15); color: var(--plum); }
    .topic-card.np   .topic-card__icon  { background: rgba(245,166,35,.20); color: var(--leaf-ink); }
    .topic-card.kiq  .topic-card__icon  { background: rgba(10,61,145,.14); color: var(--sky); }
    .topic-card h4 { font-size: 1.05rem; margin: 0; }
    .topic-card__count {
      font-family: 'IBM Plex Mono', monospace;
      font-size: .7rem; color: var(--muted);
      letter-spacing: .04em; margin: 4px 0 12px;
    }
    .topic-card ul { list-style: none; padding: 0; margin: 0 0 14px; flex: 1; }
    .topic-card ul li {
      font-size: .82rem; color: var(--ink-2);
      padding: 7px 0; border-bottom: 1px dashed var(--line);
      line-height: 1.35;
      display: flex; gap: 8px; align-items: flex-start;
    }
    .topic-card ul li:last-child { border-bottom: 0; }
    .topic-card ul li::before {
      content: ""; flex: 0 0 5px; height: 5px; border-radius: 50%;
      background: var(--ink-2); margin-top: 7px; opacity: .4;
    }
    .topic-card ul li a { color: var(--ink-2); }
    .topic-card ul li a:hover { color: var(--coral-ink); }
    .topic-card .more {
      font-size: .82rem; font-weight: 600; color: var(--coral-ink);
      align-self: flex-start;
    }
    .topic-card .more::after { content: " →"; }
    .topic-card .more:hover::after { margin-left: 4px; }

    .works-cta {
      margin-top: 32px;
      padding: 28px 32px;
      background: var(--ink);
      color: var(--paper);
      border-radius: var(--radius);
      display: flex; align-items: center; justify-content: space-between; gap: 24px;
      flex-wrap: wrap;
      box-shadow: var(--shadow);
    }
    .works-cta__text h4 {
      color: var(--paper); font-family: 'Fraunces', serif; margin: 0 0 4px; font-size: 1.25rem;
    }
    .works-cta__text p { margin: 0; color: #DBE5F0; font-size: .9rem; max-width: 60ch; }
    .works-cta .btn { white-space: nowrap; }
    .works-cta .btn--gold { background: var(--gold); color: var(--ink); font-weight: 700; }
    .works-cta .btn--gold:hover { background: var(--coral); color: #fff; }
    .works-cta__buttons { display: flex; gap: 10px; flex-wrap: wrap; }
    .works-cta .btn--ghost { border-color: var(--gold); color: var(--gold); }
    .works-cta .btn--ghost:hover { background: var(--gold); color: var(--ink); }

    /* =========================================================
       VIDEOS BAND
       ========================================================= */
    .videos-band { padding: 64px 0; }
    .video-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 24px;
    }
    .video {
      background: #fff;
      border: 1px solid var(--line);
      border-radius: var(--radius);
      overflow: hidden;
      transition: transform .18s ease, box-shadow .18s ease;
    }
    .video:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
    .video__thumb {
      aspect-ratio: 16 / 9;
      position: relative;
      background: var(--ink);
      display: grid; place-items: center;
      overflow: hidden;
    }
    .video__thumb::after {
      content: ""; position: absolute; inset: 0;
      background: linear-gradient(180deg, transparent 50%, rgba(0,0,0,.55) 100%);
    }
    .video__thumb svg { position: relative; z-index: 1; opacity: .6; }
    .video__play {
      position: absolute; z-index: 2;
      width: 56px; height: 56px; border-radius: 50%;
      background: var(--coral);
      display: grid; place-items: center;
      box-shadow: 0 6px 20px rgba(228,87,87,.5);
      transition: transform .12s ease;
    }
    .video:hover .video__play { transform: scale(1.08); }
    .video__duration {
      position: absolute; right: 10px; bottom: 10px; z-index: 3;
      background: rgba(0,0,0,.7); color: #fff;
      font-family: 'IBM Plex Mono', monospace; font-size: .72rem;
      padding: 2px 8px; border-radius: 4px;
    }
    .video__body { padding: 16px 18px 20px; }
    .video__cat {
      display: inline-block;
      font-family: 'IBM Plex Mono', monospace; font-size: .65rem;
      letter-spacing: .1em; text-transform: uppercase;
      color: var(--teal-ink); font-weight: 600; margin-bottom: 6px;
    }
    .video h4 { font-size: 1.05rem; margin: 0 0 6px; line-height: 1.25; }
    .video__meta {
      display: flex; gap: 10px; font-family: 'IBM Plex Mono', monospace;
      font-size: .72rem; color: var(--muted);
    }
    .video__meta span { white-space: nowrap; }

    /* =========================================================
       EVENTS BAND
       ========================================================= */
    .events-band {
      padding: 60px 0;
      background: var(--ink);
      color: var(--paper);
      position: relative;
      overflow: hidden;
    }
    .events-band::before {
      content: "";
      position: absolute; inset: 0;
      background: url("../img/gdw-capitol.jpg") center 28% / cover no-repeat;
      opacity: .14;
      filter: grayscale(.3);
      pointer-events: none;
    }
    .events-band > .container { position: relative; z-index: 1; }
    .events-band .section-head { border-bottom-color: var(--gold); }
    .events-band .section-head h3 { color: var(--paper); }
    .events-band .section-head h3 em { color: var(--gold); }
    .events-band .section-head a { color: #DBE5F0; }
    .events-band .section-head a:hover { color: var(--coral-ink); }
    .event-list { display: flex; flex-direction: column; gap: 14px; }
    .event {
      display: grid;
      grid-template-columns: 80px 1fr auto;
      gap: 22px;
      align-items: center;
      padding: 18px 22px;
      background: rgba(255,255,255,.04);
      border: 1px solid rgba(255,255,255,.1);
      border-radius: var(--radius);
      transition: background .12s ease, border-color .12s ease;
    }
    .event:hover { background: rgba(255,255,255,.08); border-color: var(--gold); }
    .event__date {
      text-align: center;
      padding: 10px 0;
      background: var(--gold); color: var(--ink);
      border-radius: 8px;
      font-family: 'Fraunces', serif;
    }
    .event__date .d { font-size: 1.6rem; font-weight: 700; line-height: 1; }
    .event__date .m { font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; font-weight: 600; }
    .event h5 { font-family: 'Fraunces', serif; margin: 0 0 4px; color: var(--paper); font-size: 1.1rem; }
    .event p { margin: 0; color: #DBE5F0; font-size: .9rem; }
    .event .kind {
      display: inline-block;
      font-family: 'IBM Plex Mono', monospace; font-size: .65rem;
      letter-spacing: .1em; text-transform: uppercase;
      color: var(--pink-lite); font-weight: 600; margin-bottom: 4px;
    }
    .event__cta { white-space: nowrap; }

    /* =========================================================
       PULLQUOTE BAND
       ========================================================= */
    .pullquote-band {
      padding: 80px 0;
      background:
        radial-gradient(800px 400px at 10% 50%, rgba(10,126,232,.13), transparent 60%),
        radial-gradient(700px 360px at 90% 50%, rgba(240,87,126,.13), transparent 60%),
        var(--paper);
      text-align: center;
    }
    .pullquote {
      max-width: 820px; margin: 0 auto;
      font-family: 'Fraunces', serif;
      font-size: clamp(1.5rem, 1.1rem + 1.6vw, 2.2rem);
      line-height: 1.3;
      color: var(--ink);
      font-weight: 500;
      font-style: italic;
      letter-spacing: -0.01em;
    }
    .pullquote::before { content: "“"; display: block; font-size: 4rem; line-height: .5; color: var(--coral); margin-bottom: 14px; }
    .pullquote__attr {
      margin-top: 22px;
      font-family: 'IBM Plex Mono', monospace; font-size: .8rem;
      color: var(--ink-2); letter-spacing: .08em; text-transform: uppercase;
    }

    /* =========================================================
       NEWSLETTER CTA BAND
       ========================================================= */
    .newsletter-band {
      padding: 64px 0;
      background: linear-gradient(150deg, var(--sky) 0%, #0A62C8 100%);
      color: #fff;
    }
    .newsletter-band__inner {
      display: grid;
      grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
      gap: 36px;
      align-items: center;
    }
    .newsletter-band h3 {
      font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.2rem);
      color: #fff;
    }
    .newsletter-band p { color: var(--blue-pale); margin: 0; font-size: 1.05rem; }
    .newsletter-band form {
      display: flex; gap: 8px;
      background: var(--paper);
      padding: 6px;
      border-radius: 999px;
      box-shadow: var(--shadow);
    }
    .newsletter-band input {
      flex: 1; min-width: 0; border: 0; background: transparent; padding: 12px 18px;
      font: inherit; font-size: .95rem;
    }
    .newsletter-band input:focus { outline: none; }
    .newsletter-band button {
      padding: 12px 22px;
      background: var(--gold); color: var(--sky);
      border: 0; border-radius: 999px;
      font-weight: 600;
    }
    .newsletter-band button:hover { background: var(--coral); color: #fff; }
    .newsletter-band__perks {
      list-style: none; padding: 0; margin: 14px 0 0;
      display: flex; flex-wrap: wrap; gap: 14px;
      font-family: 'IBM Plex Mono', monospace; font-size: .8rem;
      color: #fff;
    }
    .newsletter-band__perks li::before { content: "✓ "; font-weight: 700; }

    /* =========================================================
       FOOTER
       ========================================================= */
    .site-footer {
      background: var(--ink);
      color: #DBE5F0;
      padding: 64px 0 0;
    }
    .footer-masthead {
      margin: 0 0 44px;
      border-radius: 10px;
      overflow: hidden;
      border: 1px solid #3B4A63;
      box-shadow: 0 10px 30px rgba(0,0,0,.35);
    }
    .footer-masthead img { display: block; width: 100%; height: auto; }
    .site-footer .footer-grid {
      display: grid;
      grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
      gap: 36px;
      padding-bottom: 48px;
      border-bottom: 1px solid #3B4A63;
    }
    .site-footer h5 {
      font-family: 'Fraunces', serif;
      font-size: 1rem;
      color: #fff;
      margin: 0 0 16px;
      letter-spacing: .01em;
    }
    .site-footer p { font-size: .88rem; line-height: 1.6; color: #C4D0E0; }
    .site-footer ul { list-style: none; padding: 0; margin: 0; }
    .site-footer ul li { margin-bottom: 8px; }
    .site-footer ul a { color: #DBE5F0; font-size: .9rem; }
    .site-footer ul a:hover { color: var(--gold); }
    .footer-brand .brand__mark { width: 42px; height: 42px; }
    .footer-brand .brand__text h1 { color: #fff; font-size: 1.2rem; }
    .footer-brand .brand__text h1 em { color: var(--teal); }
    .footer-brand .brand__tag { color: #DBE5F0; }
    .footer-brand { display: flex; flex-direction: column; gap: 14px; }
    .socials { display: flex; gap: 10px; margin-top: 10px; }
    .socials a {
      width: 36px; height: 36px; border-radius: 50%;
      display: grid; place-items: center;
      background: #2E3B50; color: #DBE5F0;
    }
    .socials a:hover { background: var(--gold); color: var(--ink); }

    .footer-bottom {
      padding: 22px 0;
      display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px;
      font-family: 'IBM Plex Mono', monospace; font-size: .78rem;
      color: #93A1B5;
    }

    /* =========================================================
       RESPONSIVE
       ========================================================= */
    /* The site title is long, so collapse the nav earlier and trim the tagline. */
    @media (max-width: 1180px) {
      .brand__tag { display: none; }
      .brand__text h1 { font-size: 1.28rem; }
      .primary-nav a { font-size: .88rem; padding: 6px 7px; }
    }
    @media (max-width: 1120px) {
      .primary-nav { display: none; }
      .primary-nav.is-open ul { flex-direction: column; align-items: stretch; gap: 0; }
      .primary-nav.is-open a { display: block; padding: 12px 16px; border-radius: 0; }
      .nav-toggle {
        display: grid; place-items: center;
        width: 40px; height: 40px;
        background: var(--ink); color: var(--paper);
        border: 0; border-radius: 8px;
      }
    }
    @media (max-width: 1024px) {
      .main-grid { grid-template-columns: 1fr; }
      .sidebar { position: static; }
      .post-grid { grid-template-columns: repeat(2, 1fr); }
      .book-grid { grid-template-columns: repeat(2, 1fr); }
      .video-grid { grid-template-columns: repeat(2, 1fr); }
      .newsletter-band__inner { grid-template-columns: minmax(0, 1fr); }
      .hero__grid { grid-template-columns: 1fr; }
      .site-footer .footer-grid { grid-template-columns: 1fr 1fr; }
      .works-grid { grid-template-columns: repeat(2, 1fr); }
      .credentials-strip { grid-template-columns: repeat(2, 1fr); }
    }
    @media (max-width: 720px) {
      .site-header__inner { gap: 12px; padding: 14px 0; }
      .brand { gap: 10px; }
      .brand__mark { width: 40px; height: 40px; border-radius: 10px; }
      .brand__text h1 { font-size: 1.1rem; }
      .post-grid { grid-template-columns: 1fr; }
      .book-grid { grid-template-columns: 1fr 1fr; }
      .video-grid { grid-template-columns: 1fr; }
      .event { grid-template-columns: 70px 1fr; }
      .event__cta { grid-column: 1 / -1; }
      .site-footer .footer-grid { grid-template-columns: 1fr; }
      .books-head { flex-direction: column; align-items: flex-start; }
      .market-bar__date, .market-bar__label { display: none; }
      .works-grid { grid-template-columns: 1fr; }
      .credentials-strip { grid-template-columns: 1fr; }
      .works-cta { flex-direction: column; align-items: flex-start; }
    }

    /* Utility: skip link */
    .skip-link {
      position: absolute; left: -9999px; top: 0; background: var(--ink); color: var(--paper);
      padding: 8px 14px; z-index: 100;
    }
    .skip-link:focus { left: 12px; top: 12px; }
