.page-header { padding-top: 7rem; background: #1a1714; }
  .page-header-inner { max-width: var(--max-wide); margin: 0 auto; padding: 3rem var(--col-pad) 3.5rem; display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: end; }
  .page-label { font-family: var(--sans); font-size: 0.75rem; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: rgba(245,242,238,0.55); margin-bottom: 1.25rem; display: flex; align-items: center; gap: 0.75rem; opacity: 0; animation: fadeInUp 0.6s ease 0.2s forwards; }
  .page-label::before { content: ""; width: 24px; height: 1px; background: #2b4a6f; flex-shrink: 0; }
  .page-title { font-family: var(--serif); font-size: clamp(3rem, 6vw, 5.5rem); font-weight: 400; line-height: 0.95; letter-spacing: -0.03em; color: #f5f2ee; margin-bottom: 2rem; opacity: 0; animation: fadeInUp 0.6s ease 0.35s forwards; }
  .page-title em { font-style: italic; color: #d4cfc9; }
  .page-standfirst { font-family: var(--sans); font-size: 1.05rem; font-weight: 300; line-height: 1.8; color: rgba(245,242,238,0.72); opacity: 0; animation: fadeInUp 0.6s ease 0.5s forwards; }
  .substack-panel { background: rgba(245,242,238,0.06); border: 1px solid rgba(212,207,201,0.2); padding: 2rem; opacity: 0; animation: fadeInUp 0.6s ease 0.55s forwards; }
  .substack-panel-label { font-size: 0.75rem; font-weight: 600; letter-spacing: 0.15em; text-transform: uppercase; color: rgba(245,242,238,0.86); margin-bottom: 0.75rem; display: block; }
  .substack-panel-name { font-family: var(--serif); font-size: 1.5rem; font-weight: 400; color: #f5f2ee; line-height: 1.2; margin-bottom: 0.75rem; }
  .substack-panel-desc { font-size: 0.9rem; font-weight: 300; line-height: 1.7; color: rgba(245,242,238,0.65); margin-bottom: 1.5rem; }
  .btn-subscribe { display: inline-flex; align-items: center; justify-content: center; font-family: var(--sans); font-size: 0.75rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; text-decoration: none; padding: 0.875rem 1.75rem; min-height: 44px; background: #2b4a6f; color: #f5f2ee; border: 2px solid #2b4a6f; transition: all 0.2s; }
  .btn-subscribe:hover { background: #f5f2ee; color: #2b4a6f; border-color: #f5f2ee; }
  .publication-strip { background: #2b4a6f; padding: 3rem var(--col-pad); }
  .publication-inner { max-width: var(--max-wide); margin: 0 auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
  .pub-stat { text-align: center; }
  .pub-stat-word { font-family: var(--serif); font-size: 1.5rem; font-weight: 400; font-style: italic; color: #f5f2ee; display: block; margin-bottom: 0.35rem; }
  .pub-stat-label { font-size: 0.75rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(245,242,238,0.78); }
  .feed-section { background: #f5f2ee; padding: 5rem var(--col-pad); }
  .feed-inner { max-width: var(--max-wide); margin: 0 auto; }
  .section-label { font-family: var(--sans); font-size: 0.75rem; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: #5c5652; margin-bottom: 1rem; display: block; }
  .section-heading { font-family: var(--serif); font-size: clamp(1.75rem, 3vw, 2.5rem); font-weight: 400; line-height: 1.2; color: #1a1714; margin-bottom: 1.5rem; }
  .section-rule { width: 48px; height: 2px; background: #2b4a6f; border: none; margin-bottom: 3rem; }
  #rss-feed { min-height: 200px; }
  .feed-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 2rem; margin-bottom: 3rem; }
  .feed-card { border-top: 2px solid #d4cfc9; padding-top: 1.5rem; transition: border-color 0.2s; background: transparent; }
  .feed-card:hover { border-color: #2b4a6f; }
  .feed-card-pub { font-size: 0.75rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: #5c5652; margin-bottom: 0.75rem; display: block; }
  .feed-card-title { font-family: var(--serif); font-size: 1.15rem; font-weight: 400; line-height: 1.35; color: #1a1714; margin-bottom: 0.75rem; text-decoration: none; display: block; }
  .feed-card-title:hover { color: #2b4a6f; }
  .feed-card-excerpt { font-size: 0.9rem; color: #3d3935; line-height: 1.65; margin-bottom: 1rem; background: transparent; }
  .feed-card-date { font-size: 0.75rem; color: #5c5652; margin-bottom: 1rem; }
  .feed-card-link { font-family: var(--sans); font-size: 0.75rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: #2b4a6f; text-decoration: none; }
  .feed-card-link::after { content: " →"; }
  .feed-card-link:hover { color: #1a1714; text-decoration: underline; }
  .feed-loading { grid-column: 1 / -1; text-align: center; padding: 3rem; color: #5c5652; font-size: 0.9rem; }
  .feed-empty { grid-column: 1 / -1; background: #ede9e3; border: 1px solid #d4cfc9; padding: 3rem; text-align: center; }
  .feed-empty-heading { font-family: var(--serif); font-size: 1.5rem; font-weight: 400; color: #1a1714; margin-bottom: 0.75rem; }
  .feed-empty-body { font-size: 0.95rem; color: #3d3935; line-height: 1.7; margin-bottom: 1.5rem; }
  .feed-cta { text-align: center; }
  .about-writing { background: #ede9e3; padding: 5rem var(--col-pad); }
  .about-writing-inner { max-width: var(--max-wide); margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: start; }
  .about-writing-heading { font-family: var(--serif); font-size: clamp(1.75rem, 3vw, 2.5rem); font-weight: 400; line-height: 1.2; color: #1a1714; margin-bottom: 1.5rem; }
  .about-writing p { font-size: 1.0625rem; font-weight: 400; line-height: 1.85; color: #1a1714; margin-bottom: 1.25rem; background: transparent; }
  .topics-label { font-family: var(--sans); font-size: 0.75rem; font-weight: 600; letter-spacing: 0.15em; text-transform: uppercase; color: #5c5652; margin-bottom: 1.25rem; display: block; }
  .topics-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0; }
  .topic-item { font-size: 0.9375rem; font-weight: 400; color: #1a1714; padding: 0.75rem 0; border-bottom: 1px solid #d4cfc9; display: flex; align-items: center; gap: 0.75rem; background: transparent; }
  .topic-item::before { content: ""; width: 4px; height: 4px; background: #2b4a6f; border-radius: 50%; flex-shrink: 0; }
  .subscribe-section { background: #1a1714; padding: 5rem var(--col-pad); text-align: center; }
  .subscribe-inner { max-width: 860px; margin: 0 auto; }
  .subscribe-flex { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 3.5rem; align-items: center; text-align: left; }
  .subscribe-text { text-align: center; }
  .subscribe-qr { display: flex; flex-direction: column; align-items: center; gap: 0.75rem; text-decoration: none; }
  .subscribe-qr-label { font-family: var(--sans); font-size: 0.75rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(245,242,238,0.55); }
  .subscribe-heading { font-family: var(--serif); font-size: clamp(1.75rem, 3vw, 2.5rem); font-weight: 400; color: #f5f2ee; line-height: 1.2; margin-bottom: 1rem; }
  .subscribe-sub { font-size: 1rem; font-weight: 300; color: rgba(245,242,238,0.7); margin-bottom: 2.5rem; line-height: 1.7; }
  .subscribe-form { display: flex; max-width: 440px; margin: 0 auto; }
  .subscribe-label { position: absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); border:0; }
  .subscribe-input { flex: 1; font-family: var(--sans); font-size: 1rem; padding: 0.875rem 1.25rem; background: rgba(245,242,238,0.1); border: 2px solid rgba(245,242,238,0.3); border-right: none; color: #f5f2ee; outline: none; min-height: 44px; transition: border-color 0.2s; }
  .subscribe-input::placeholder { color: rgba(245,242,238,0.55); }
  .subscribe-input:focus { border-color: rgba(245,242,238,0.75); }
  .subscribe-btn { font-family: var(--sans); font-size: 0.75rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; background: #f5f2ee; color: #2b4a6f; border: 2px solid #f5f2ee; padding: 0.875rem 1.5rem; min-height: 44px; cursor: pointer; transition: all 0.2s; }
  .subscribe-btn:hover { background: #2b4a6f; border-color: #2b4a6f; color: #f5f2ee; }
  .subscribe-note { font-size: 0.78rem; color: rgba(245,242,238,0.55); margin-top: 1.25rem; }
@media (max-width: 860px) {
  .page-header-inner { grid-template-columns: 1fr; }
  .substack-panel { display: none; }
  .publication-inner { grid-template-columns: 1fr; gap: 1.5rem; }
  .pub-stat { text-align: left; }
  .about-writing-inner { grid-template-columns: 1fr; gap: 3rem; }
  .topics-grid { grid-template-columns: 1fr; }
  .subscribe-flex { grid-template-columns: minmax(0, 1fr); justify-items: center; gap: 2.5rem; }
}
@media (max-width: 580px) {
  .subscribe-form { flex-direction: column; }
  .subscribe-input { border-right: 2px solid rgba(245,242,238,0.3); }
}
  .embed-row { display: flex; justify-content: center; margin-top: 0.5rem; min-width: 0; }
  .embed-frame { background: #fff; border-radius: 2px; overflow: hidden; width: 100%; max-width: 480px; }
  .embed-frame iframe { width: 100%; }
  /* A flex item will not shrink below its content unless told to; the
     480px iframe was forcing 504px of horizontal scroll on a phone. */
  .subscribe-flex, .subscribe-text { min-width: 0; }
  .subscribe-flex > * { min-width: 0; }

/* Former inline style attributes. Moved out so the CSP can drop
   'unsafe-inline' from style-src — a style="" attribute is blocked
   by that directive just as an inline <style> block is. */
  .x-articles-1.x-articles-1.x-articles-1 { margin-top:1rem; }
  .x-articles-2.x-articles-2.x-articles-2 { margin-top:0.5rem; }
  .x-articles-3.x-articles-3.x-articles-3 { display:block; border:none; max-width:100%; }
  .x-articles-4.x-articles-4.x-articles-4 { display:block;padding:1rem;text-align:center; }
  .x-articles-5.x-articles-5.x-articles-5 { display:block; width:180px; height:180px; background:#fff; padding:14px; border-radius:4px; }
