/* ============================================================
   PNWDM Shared Stylesheet
   Design system common to all pages: variables, reset, typography,
   header, nav, logo, footer, base responsive rules.
   Page-specific layouts (hero, services grid, FAQ, etc.) live
   inline on each page.
   ============================================================ */

/* ===== Self-hosted variable fonts =====
   Fraunces (variable, weight axis only, latin subset)
   Instrument Sans (variable, weight axis only, latin subset)
   Both ~30-46KB, served from same origin so no extra DNS/TLS.
   font-display: swap shows fallback first, then swaps in. */

@font-face {
  font-family: 'Fraunces';
  src: url('/fonts/fraunces-variable.woff2') format('woff2-variations'),
       url('/fonts/fraunces-variable.woff2') format('woff2');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Fraunces';
  src: url('/fonts/fraunces-italic-variable.woff2') format('woff2-variations'),
       url('/fonts/fraunces-italic-variable.woff2') format('woff2');
  font-weight: 100 900;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: 'Instrument Sans';
  src: url('/fonts/instrument-sans-variable.woff2') format('woff2-variations'),
       url('/fonts/instrument-sans-variable.woff2') format('woff2');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

/* ===== Metric-matched fallbacks =====
   These let the browser reserve the exact pixel space a real font would
   take, so when the custom font loads in there's near-zero CLS.
   Metrics calibrated for Fraunces over Iowan Old Style / Georgia,
   and Instrument Sans over system-ui sans-serif. */

@font-face {
  font-family: 'Fraunces Fallback';
  src: local('Iowan Old Style'), local('Georgia');
  size-adjust: 105%;
  ascent-override: 92%;
  descent-override: 23%;
  line-gap-override: 0%;
}

@font-face {
  font-family: 'Instrument Sans Fallback';
  src: local('Arial'), local('Helvetica Neue');
  size-adjust: 100%;
  ascent-override: 95%;
  descent-override: 24%;
  line-gap-override: 0%;
}

:root {
  --paper:      #F2EDE3;
  --paper-deep: #E8E0D0;
  --paper-warm: #EEE7D7;
  --ink:        #1C2721;
  --ink-soft:   #4A554B;
  --moss:       #2F4538;
  --moss-deep:  #1F3026;
  --rust:       #8F4A26;
  --rust-soft:  #A8603A;
  --hairline:   rgba(28, 39, 33, 0.15);
  --hairline-strong: rgba(28, 39, 33, 0.35);

  --serif: 'Fraunces', 'Fraunces Fallback', 'Iowan Old Style', Georgia, serif;
  --sans:  'Instrument Sans', 'Instrument Sans Fallback', -apple-system, BlinkMacSystemFont, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

/* Grain overlay */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.045;
  z-index: 100;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='240' height='240'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0.11 0 0 0 0 0.15 0 0 0 0 0.13 0 0 0 1 0'/></filter><rect width='240' height='240' filter='url(%23n)'/></svg>");
}

a { color: inherit; text-decoration: none; }

/* ============ TYPOGRAPHY ============ */
h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 400;
  line-height: 1.02;
  letter-spacing: -0.018em;
  font-optical-sizing: auto;
}

h1 em, h2 em, h3 em, h4 em {
  font-style: italic;
  color: var(--moss);
  font-weight: 400;
}

.eyebrow {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--ink-soft);
}
.eyebrow .dot {
  display: inline-block;
  width: 5px; height: 5px;
  background: var(--rust);
  border-radius: 50%;
  margin: 0 10px 2px;
  vertical-align: middle;
}

/* ============ LAYOUT ============ */
.container {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 40px;
}

/* ============ HEADER ============ */
header.site {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(242, 237, 227, 0.92);
  backdrop-filter: saturate(1.1) blur(8px);
  border-bottom: 1px solid var(--hairline);
}

/* ===== Announcement band (above header) ===== */
.announce {
  background: var(--moss-deep);
  color: var(--paper);
  font-family: var(--sans);
  font-size: 13.5px;
  font-weight: 400;
  letter-spacing: 0.005em;
  text-align: center;
  padding: 11px 24px;
  position: relative;
  z-index: 51;
  border-bottom: 1px solid rgba(0, 0, 0, 0.25);
}
.announce strong {
  font-weight: 600;
  color: var(--paper);
}
.announce em {
  font-style: italic;
  color: #D89A6E;
}
.announce .sep {
  display: inline-block;
  width: 4px; height: 4px;
  background: var(--rust-soft);
  border-radius: 50%;
  margin: 0 12px 3px;
  vertical-align: middle;
}
.announce a {
  color: var(--paper);
  text-decoration: underline;
  text-decoration-color: rgba(242, 237, 227, 0.4);
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
  transition: text-decoration-color 0.2s ease;
}
.announce a:hover {
  text-decoration-color: var(--paper);
}
@media (max-width: 600px) {
  .announce { font-size: 12.5px; padding: 10px 16px; line-height: 1.4; }
  .announce .sep { margin: 0 8px 3px; }
}

.site .bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 40px;
  max-width: 1400px;
  margin: 0 auto;
}

.logo {
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 500;
  letter-spacing: -0.015em;
  color: var(--ink);
}
.logo em {
  font-style: italic;
  color: var(--moss);
  font-weight: 400;
}
.logo .mark {
  display: inline-block;
  width: 8px; height: 8px;
  background: var(--rust);
  border-radius: 50%;
  margin-right: 10px;
  transform: translateY(-3px);
}
.logo-short { display: none; }

nav.primary ul {
  display: flex;
  gap: 36px;
  list-style: none;
  font-size: 14px;
  letter-spacing: 0.01em;
}
nav.primary a {
  color: var(--ink);
  position: relative;
  padding: 4px 0;
}
nav.primary a::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: var(--moss);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .35s cubic-bezier(.2,.8,.2,1);
}
nav.primary a:hover::after,
nav.primary a[aria-current="page"]::after { transform: scaleX(1); }
nav.primary a[aria-current="page"] { color: var(--moss); }

/* ============ TOPOGRAPHIC DECORATION (shared path styling) ============ */
.topo svg { width: 100%; height: 100%; }
.topo path {
  stroke: var(--moss);
  fill: none;
  stroke-width: 1;
}

/* ============ FOOTER ============ */
footer.site {
  background: var(--ink);
  color: var(--paper);
  padding: 60px 0 40px;
}
footer .row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 30px;
}
footer .left .logo { color: var(--paper); font-size: 18px; }
footer .left .logo em { color: var(--rust-soft); }
footer .tagline {
  font-size: 13px;
  color: rgba(242, 237, 227, 0.55);
  margin-top: 8px;
  font-family: var(--serif);
  font-style: italic;
}
footer .right {
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(242, 237, 227, 0.55);
  text-align: right;
  line-height: 1.8;
}
footer .right a:hover { color: var(--paper); }

/* ============ SHARED BUTTON: Primary CTA ============ */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 20px 28px;
  background: var(--moss);
  color: var(--paper);
  font-family: var(--serif);
  font-size: 19px;
  letter-spacing: -0.01em;
  border-radius: 2px;
  transition: transform .3s ease, background .3s ease;
}
.btn-primary:hover {
  background: var(--moss-deep);
  transform: translateY(-2px);
}
.btn-primary .arrow {
  font-family: var(--serif);
  font-style: italic;
  font-size: 17px;
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 22px;
  background: transparent;
  color: var(--ink);
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.02em;
  border: 1px solid var(--hairline-strong);
  border-radius: 2px;
  transition: background .3s ease;
}
.btn-ghost:hover { background: rgba(47, 69, 56, 0.06); }

/* ============ RESPONSIVE BASE ============ */
@media (max-width: 900px) {
  .container { padding: 0 24px; }
  .site .bar { padding: 14px 18px; gap: 12px; }
  .logo-full { display: none; }
  .logo-short { display: inline; font-weight: 500; letter-spacing: 0.02em; }
  .logo { font-size: 16px; white-space: nowrap; flex-shrink: 0; }
  .logo .mark { margin-right: 8px; }
  nav.primary ul { gap: 14px; font-size: 12px; letter-spacing: 0.01em; white-space: nowrap; }
  nav.primary a { padding: 4px 0; }

  footer .row { flex-direction: column; align-items: flex-start; }
  footer .right { text-align: left; }

  .btn-primary { font-size: 17px; padding: 16px 22px; }
}

/* Extra-small phones: tighten further so five nav items stay inline */
@media (max-width: 420px) {
  .site .bar { padding: 12px 16px; }
  .logo { font-size: 15px; }
  nav.primary ul { gap: 11px; font-size: 11.5px; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}

/* ============ ARTICLE (notes posts) ============ */
.article-hero {
  position: relative;
  padding: 80px 0 40px;
  overflow: hidden;
}
.article-hero .container { max-width: 880px; }
.article-hero .eyebrow-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 40px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--hairline);
  flex-wrap: wrap;
  gap: 14px;
}
.article-hero .crumbs { font-size: 13px; letter-spacing: 0.01em; color: var(--ink-soft); }
.article-hero .crumbs a { color: var(--ink); border-bottom: 1px solid var(--hairline); transition: border-color .2s ease; }
.article-hero .crumbs a:hover { border-bottom-color: var(--ink); }
.article-hero .crumbs .sep { margin: 0 10px; color: var(--ink-soft); opacity: 0.6; }
.article-hero h1 {
  font-family: var(--serif);
  font-size: clamp(36px, 5.2vw, 64px);
  font-weight: 300;
  line-height: 1.05;
  letter-spacing: -0.02em;
  max-width: 22ch;
  margin-bottom: 32px;
  color: var(--ink);
}
.article-hero h1 em { font-style: italic; color: var(--moss); font-weight: 400; }
.article-hero .lede {
  font-family: var(--serif);
  font-size: clamp(20px, 2.1vw, 25px);
  font-weight: 300;
  line-height: 1.4;
  color: var(--ink-soft);
  max-width: 52ch;
  font-style: italic;
}
.article-hero .article-meta {
  display: flex;
  gap: 0;
  flex-wrap: wrap;
  align-items: center;
  margin-top: 36px;
  padding-top: 20px;
  border-top: 1px solid var(--hairline);
  font-size: 11.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.article-hero .article-meta span:not(.dot) { margin-right: 0; }
.article-hero .article-meta .dot {
  display: inline-block;
  width: 4px; height: 4px;
  background: var(--rust);
  border-radius: 50%;
  margin: 0 16px 2px;
  vertical-align: middle;
}

.article-body { padding: 32px 0 80px; }
.article-body .container { max-width: 720px; }
.article-body p {
  font-size: 18px;
  line-height: 1.75;
  color: var(--ink);
  margin-bottom: 26px;
}
.article-body p.lead-para {
  font-size: 20px;
  color: var(--ink);
  line-height: 1.6;
}
.article-body h2 {
  font-family: var(--serif);
  font-size: clamp(26px, 2.6vw, 34px);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -0.015em;
  margin-top: 56px;
  margin-bottom: 20px;
  color: var(--ink);
}
.article-body h2 em { font-style: italic; color: var(--moss); font-weight: 400; }
.article-body h3 {
  font-family: var(--serif);
  font-size: 21px;
  font-weight: 500;
  line-height: 1.25;
  margin-top: 40px;
  margin-bottom: 12px;
  color: var(--ink);
}
.article-body h3 em { font-style: italic; color: var(--moss); font-weight: 400; }
.article-body ul, .article-body ol {
  margin-bottom: 28px;
  padding-left: 26px;
}
.article-body li {
  font-size: 18px;
  line-height: 1.7;
  margin-bottom: 10px;
  padding-left: 4px;
  color: var(--ink);
}
.article-body strong { font-weight: 600; color: var(--ink); }
.article-body em { font-style: italic; }
.article-body a {
  color: var(--moss);
  border-bottom: 1px solid rgba(47, 69, 56, 0.35);
  transition: border-color .2s ease;
}
.article-body a:hover { border-bottom-color: var(--moss); }
.article-body .callout {
  font-family: var(--serif);
  font-size: 21px;
  font-style: italic;
  line-height: 1.45;
  color: var(--moss);
  border-left: 2px solid var(--rust);
  padding: 4px 0 4px 26px;
  margin: 40px 0;
  max-width: 58ch;
}

.post-footer {
  padding: 60px 0 72px;
  background: var(--paper-deep);
  border-top: 1px solid var(--hairline);
}
.post-footer .container { max-width: 720px; }
.post-footer h3 {
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -0.015em;
  margin-bottom: 14px;
}
.post-footer h3 em { font-style: italic; color: var(--moss); }
.post-footer p {
  font-size: 17px;
  color: var(--ink-soft);
  line-height: 1.55;
  margin-bottom: 28px;
  max-width: 56ch;
}
.post-footer .cta-row {
  display: flex;
  gap: 18px;
  align-items: center;
  flex-wrap: wrap;
}
.post-footer .back-to-notes {
  display: inline-block;
  margin-top: 36px;
  padding-top: 20px;
  border-top: 1px solid var(--hairline);
  font-size: 13px;
  letter-spacing: 0.08em;
  color: var(--ink-soft);
  transition: color .2s ease;
}
.post-footer .back-to-notes:hover { color: var(--ink); }

@media (max-width: 900px) {
  .article-hero { padding: 48px 0 32px; }
  .article-hero .eyebrow-row { flex-direction: column; align-items: flex-start; gap: 10px; }
  .article-body { padding: 24px 0 64px; }
  .article-body p, .article-body li { font-size: 17px; }
  .article-body p.lead-para { font-size: 18px; }
  .article-body .container { padding: 0 24px; }
  .article-body h2 { margin-top: 44px; }
  .article-body .callout { font-size: 18px; padding-left: 20px; }
  .post-footer { padding: 44px 0 56px; }
}

@media print {
  header.site, footer.site { display: none; }
}


/* ============================================================
   SERVICE DETAIL PAGE LAYOUTS
   Used across /services/paid-search, /services/paid-social,
   /services/reporting, /services/analytics
   ============================================================ */

.service-hero { position: relative; padding: 100px 0 80px; overflow: hidden; }
.service-hero .eyebrow-row { display: flex; justify-content: space-between; align-items: center; margin-bottom: 48px; padding-bottom: 20px; border-bottom: 1px solid var(--hairline); flex-wrap: wrap; gap: 12px; }
.crumbs { font-family: var(--sans); font-size: 12px; letter-spacing: 0.08em; color: var(--ink-soft); }
.crumbs a { color: var(--moss); border-bottom: 1px solid transparent; transition: border-color .3s; }
.crumbs a:hover { border-bottom-color: var(--moss); }
.crumbs .sep { margin: 0 10px; color: var(--hairline-strong); }
.service-hero h1 { font-size: clamp(44px, 7vw, 110px); font-weight: 300; max-width: 14ch; margin-bottom: 40px; position: relative; z-index: 2; }
.service-hero .lede { font-size: clamp(19px, 1.7vw, 24px); line-height: 1.45; max-width: 56ch; color: var(--ink-soft); font-weight: 400; position: relative; z-index: 2; margin-bottom: 48px; }
.service-hero .lede strong { color: var(--ink); font-weight: 500; }
.service-hero .stack-inline { display: flex; flex-wrap: wrap; gap: 8px; position: relative; z-index: 2; }
.service-hero .stack-inline li { list-style: none; font-size: 11.5px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--moss); padding: 5px 12px; border: 1px solid var(--hairline-strong); border-radius: 2px; }
.service-hero .topo { right: -180px; top: 90px; width: 540px; height: 540px; opacity: 0.35; }

.detail-section { padding: 80px 0; border-top: 1px solid var(--hairline); }
.detail-section.alt { background: var(--paper-deep); border-top: 1px solid var(--hairline-strong); border-bottom: 1px solid var(--hairline-strong); }
.detail-grid { display: grid; grid-template-columns: 1fr 1.6fr; gap: 72px; align-items: start; }
.detail-grid h2 { font-size: clamp(32px, 4vw, 56px); font-weight: 300; max-width: 14ch; line-height: 1.05; }
.detail-grid h2 em { font-style: italic; color: var(--moss); }
.detail-grid .body { font-size: 17px; line-height: 1.65; color: var(--ink); max-width: 58ch; }
.detail-grid .body p { margin-bottom: 20px; }
.detail-grid .body p:last-child { margin-bottom: 0; }
.detail-grid .body strong { font-weight: 500; color: var(--ink); }

.deliverables { list-style: none; counter-reset: deliverable; border-top: 1px solid var(--hairline-strong); }
.deliverables li { counter-increment: deliverable; border-bottom: 1px solid var(--hairline-strong); padding: 28px 0; display: grid; grid-template-columns: 60px 1fr; gap: 28px; align-items: baseline; }
.deliverables li::before { content: "0" counter(deliverable); font-family: var(--serif); font-style: italic; font-size: 14px; color: var(--rust); }
.deliverables li .title { font-family: var(--serif); font-size: 22px; font-weight: 400; letter-spacing: -0.01em; line-height: 1.15; margin-bottom: 8px; display: block; }
.deliverables li .title em { font-style: italic; color: var(--moss); }
.deliverables li .desc { font-size: 15px; color: var(--ink-soft); line-height: 1.55; max-width: 62ch; }

.process-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: 48px; border-top: 1px solid var(--hairline-strong); padding-top: 32px; }
.process-steps .step .label { font-family: var(--sans); font-size: 10.5px; font-weight: 500; text-transform: uppercase; letter-spacing: 0.22em; color: var(--rust); margin-bottom: 14px; display: block; }
.process-steps .step h3 { font-size: 20px; font-weight: 400; margin-bottom: 10px; line-height: 1.15; }
.process-steps .step h3 em { font-style: italic; color: var(--moss); }
.process-steps .step p { font-size: 14px; color: var(--ink-soft); line-height: 1.55; }

.faq-list { list-style: none; border-top: 1px solid var(--hairline-strong); }
.faq-list li { border-bottom: 1px solid var(--hairline-strong); }
.faq-list details { padding: 24px 0; }
.faq-list summary { font-family: var(--serif); font-size: 22px; font-weight: 400; letter-spacing: -0.01em; cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 20px; color: var(--ink); }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; font-family: var(--serif); font-size: 32px; font-weight: 300; color: var(--rust); transition: transform .3s ease; }
.faq-list details[open] summary::after { transform: rotate(45deg); }
.faq-list summary em { font-style: italic; color: var(--moss); }
.faq-list .answer { font-size: 16px; color: var(--ink-soft); line-height: 1.65; max-width: 64ch; padding-top: 16px; }

.page-cta { background: var(--moss-deep); color: var(--paper); padding: 100px 0; position: relative; overflow: hidden; }
.page-cta .eyebrow { color: rgba(242, 237, 227, 0.65); }
.page-cta .eyebrow .dot { background: var(--rust-soft); }
.page-cta h2 { font-size: clamp(36px, 5.5vw, 80px); font-weight: 300; max-width: 18ch; margin: 32px 0 40px; line-height: 1.02; }
.page-cta h2 em { color: var(--rust-soft); font-style: italic; }
.page-cta .cta-row { display: flex; gap: 20px; align-items: center; flex-wrap: wrap; }
.page-cta .btn-primary { background: var(--paper); color: var(--ink); font-size: 20px; padding: 22px 30px; }
.page-cta .btn-primary:hover { background: var(--rust-soft); color: var(--paper); }
.page-cta .email-fallback { color: rgba(242, 237, 227, 0.7); font-size: 14px; }
.page-cta .email-fallback strong { color: var(--paper); font-family: var(--serif); font-size: 16px; font-weight: 500; letter-spacing: -0.005em; }

/* Topo positioning is shared utility; .topo base sits in service-hero rule above */
.topo { position: absolute; pointer-events: none; z-index: 1; }

@media (max-width: 900px) {
  .service-hero { padding: 56px 0 60px; }
  .service-hero .eyebrow-row { flex-direction: column; align-items: flex-start; gap: 10px; margin-bottom: 32px; }
  .service-hero h1 { margin-bottom: 28px; }
  .service-hero .lede { font-size: 17px; margin-bottom: 32px; }
  .service-hero .topo { right: -280px; top: 260px; width: 480px; height: 480px; opacity: 0.2; }
  .detail-section { padding: 60px 0; }
  .detail-grid { grid-template-columns: 1fr; gap: 32px; }
  .deliverables li { grid-template-columns: 40px 1fr; gap: 16px; padding: 22px 0; }
  .process-steps { grid-template-columns: 1fr 1fr; gap: 28px; }
  .faq-list summary { font-size: 19px; }
  .page-cta { padding: 72px 0; }
}

/* ============ ARTICLE / NOTE PAGES ============ */
.article-hero { position: relative; padding: 80px 0 48px; overflow: hidden; }
.article-hero .eyebrow-row { display: flex; justify-content: space-between; align-items: center; margin-bottom: 40px; padding-bottom: 20px; border-bottom: 1px solid var(--hairline); gap: 20px; flex-wrap: wrap; }
.article-hero h1 { font-family: var(--serif); font-size: clamp(36px, 5.2vw, 76px); font-weight: 300; line-height: 1.02; letter-spacing: -0.02em; margin-bottom: 32px; max-width: 22ch; position: relative; z-index: 2; }
.article-hero h1 em { font-style: italic; color: var(--moss); font-weight: 300; }
.article-hero .lede { font-size: 20px; line-height: 1.5; color: var(--ink); max-width: 56ch; position: relative; z-index: 2; font-family: var(--sans); }
.article-hero .lede strong { color: var(--ink); font-weight: 600; }
.article-hero .topo { right: -180px; top: 60px; width: 480px; height: 480px; opacity: 0.22; }
.article-hero .topo svg { width: 100%; height: 100%; }
.article-hero .topo path { stroke: var(--moss); fill: none; stroke-width: 1; }

.article-body { padding: 32px 0 96px; }
.article-body .wrap { max-width: 680px; margin: 0 auto; }
.article-body p { font-family: var(--sans); font-size: 18px; line-height: 1.68; color: var(--ink); margin-bottom: 22px; }
.article-body p:first-of-type::first-letter { font-family: var(--serif); font-size: 62px; line-height: 0.9; float: left; padding: 6px 10px 0 0; color: var(--moss); font-style: italic; font-weight: 300; }
.article-body h2 { font-family: var(--serif); font-size: 30px; font-weight: 400; letter-spacing: -0.012em; line-height: 1.12; margin-top: 52px; margin-bottom: 18px; color: var(--ink); }
.article-body h2 em { font-style: italic; color: var(--moss); }
.article-body h3 { font-family: var(--serif); font-size: 22px; font-weight: 500; letter-spacing: -0.01em; margin-top: 32px; margin-bottom: 12px; color: var(--ink); }
.article-body h3 em { font-style: italic; color: var(--moss); font-weight: 400; }
.article-body ul, .article-body ol { margin: 0 0 22px 24px; font-family: var(--sans); }
.article-body li { font-size: 18px; line-height: 1.65; color: var(--ink); margin-bottom: 8px; }
.article-body li::marker { color: var(--rust); }
.article-body strong { font-weight: 600; color: var(--ink); }
.article-body em { font-style: italic; color: var(--moss); }
.article-body blockquote { border-left: 2px solid var(--rust); padding: 8px 0 8px 24px; margin: 32px 0; font-family: var(--serif); font-style: italic; font-size: 21px; line-height: 1.45; color: var(--ink-soft); }
.article-body code { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 15px; background: var(--paper-deep); padding: 1px 6px; border-radius: 2px; color: var(--ink); }
.article-body a { color: var(--moss); text-decoration: underline; text-decoration-color: rgba(47, 69, 56, 0.35); text-underline-offset: 3px; }
.article-body a:hover { text-decoration-color: var(--moss); }
.article-body hr { border: 0; height: 1px; background: var(--hairline); margin: 48px auto; max-width: 120px; }

/* Mobile article */
@media (max-width: 900px) {
  .article-hero { padding: 48px 0 36px; }
  .article-hero .eyebrow-row { flex-direction: column; align-items: flex-start; gap: 10px; margin-bottom: 28px; }
  .article-hero h1 { margin-bottom: 24px; }
  .article-hero .lede { font-size: 17px; }
  .article-hero .topo { right: -260px; top: 240px; width: 420px; height: 420px; opacity: 0.18; }
  .article-body { padding: 24px 0 72px; }
  .article-body p, .article-body li { font-size: 17px; }
  .article-body p:first-of-type::first-letter { font-size: 52px; padding: 4px 8px 0 0; }
  .article-body h2 { font-size: 24px; margin-top: 40px; }
  .article-body h3 { font-size: 20px; margin-top: 28px; }
  .article-body blockquote { font-size: 18px; padding-left: 18px; }
}
