/* inner-rhythm.css -- the shared vertical rhythm of the inner pages
   (#1333, 2026-11-22). Rico: Services' spacing "is exactly what I'm looking
   for" and About should be spaced the same way. These are the generic rules
   that used to live in services-page.css (#850), resolved to their final
   values. A page opts in with `inner-tight` on <body> and links this file
   after site.css and before its own page CSS. Home does not opt in.
   Page CSS that has its own blocks (about-page.css, contact.css) reuses the
   --rhythm-* values below instead of copying numbers. */

.inner-tight {
  --rhythm-head-gap: var(--site-rhythm-head-gap); /* section head to its content */
  --rhythm-text-gap: var(--site-rhythm-text-gap); /* h2 to text, paragraph to paragraph */
  --rhythm-li: var(--site-rhythm-li); /* list item top/bottom padding */
  --rhythm-card: var(--site-rhythm-card); /* card padding */
  --rhythm-split: var(--site-rhythm-split); /* two-column gap */
}

.inner-tight .section { padding: var(--section-space) 0; }
.inner-tight .section-head { margin-bottom: var(--rhythm-head-gap); gap: clamp(1.5rem, 4vw, 3rem); }
.inner-tight .split { gap: var(--rhythm-split); }
.inner-tight .cta-band { padding: var(--section-space) 0; }
.inner-tight .cta-grid { min-height: 120px; }
.inner-tight .editorial-list li { padding: var(--rhythm-li) 0; }
.inner-tight .sticky-note { padding: var(--rhythm-card); }
.inner-tight .split > div > p + p { margin-top: var(--rhythm-text-gap); }
.inner-tight .split h2 + p,
.inner-tight .section-head h2 + p { margin-top: var(--rhythm-text-gap); }

/* Quotes and reviews (#1333, lane inner-quotes): no larger than the lede, gaps from the rhythm vars. */
.inner-tight .pull-review { gap: var(--rhythm-text-gap); margin-bottom: calc(2 * var(--rhythm-head-gap)); }
.inner-tight .pull-review blockquote { gap: var(--rhythm-text-gap); font-size: clamp(1rem, 1.3vw, 1.15rem); line-height: 1.55; }
.inner-tight .pull-review-stars { font-size: 1rem; }
.inner-tight .testimonials .section-heading { margin-bottom: var(--rhythm-head-gap); }
.inner-tight .testimonial-grid { gap: var(--rhythm-head-gap) var(--rhythm-split); }
.inner-tight .testimonial { gap: var(--rhythm-text-gap); margin-block: 0; } /* UA figure margin adds 32px to the row gap */
.inner-tight .testimonial blockquote { font-size: clamp(1rem, 1.3vw, 1.15rem); line-height: 1.55; }
.inner-tight .testimonial-avatar { width: 2.5rem; height: 2.5rem; font-size: .85rem; }
.inner-tight .testimonial-grid + p { margin-top: var(--rhythm-head-gap); } /* was carried by the UA figure margin */

/* Case files (work-page.css: Portfolio, About, work/*). Moved from about-page.css 2026-11-24 so every
   page with case files gets them, not only About. */
.inner-tight .work-files .work-file { padding: var(--section-space) 0; }
.inner-tight .work-file-grid { gap: var(--rhythm-split); }
.inner-tight .work-files .work-file-body p + p { margin-top: var(--rhythm-text-gap); }
