/* BC Agency ID: page layouts. Components live in components.css; tokens only, no raw values. */

.center { text-align: center; }
.stack > * + * { margin-top: var(--space-4); }
.actions { display: flex; flex-wrap: wrap; gap: var(--space-3); margin-top: var(--space-6); }
.actions--center { justify-content: center; }

.section-head { display: grid; gap: var(--space-3); margin-bottom: var(--space-6); }
.section-head--center { justify-items: center; text-align: center; }
.section-head .h-xl { max-width: 28ch; }

.page-head { padding-block: var(--space-7) var(--space-6); }
.page-head__lead { max-width: 60ch; margin-top: var(--space-4); color: var(--color-text-muted); }

.breadcrumb ol { display: flex; flex-wrap: wrap; gap: var(--space-2); margin: 0 0 var(--space-4); padding: 0; list-style: none; font-size: var(--text-sm); color: var(--color-text-muted); }
.breadcrumb li + li::before { content: "/"; margin-right: var(--space-2); }
.breadcrumb a { color: var(--color-text); text-underline-offset: 4px; }

/* home */
.hero { padding-top: var(--space-7); }
.hero__intro { display: grid; justify-items: center; gap: var(--space-4); margin-bottom: var(--space-7); text-align: center; }
.hero__title { max-width: 22ch; }

.split { display: grid; gap: var(--space-7); }
@media (min-width: 1024px) {
  .split { grid-template-columns: 1fr 1fr; align-items: start; }
  .split--center { align-items: center; }
}

.mini-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-3); }
.mini-grid a { display: block; overflow: hidden; aspect-ratio: 4 / 5; border-radius: var(--radius-md); background: var(--color-surface); }
.mini-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--motion-slow) var(--motion-ease); }
.mini-grid a:hover img { transform: scale(1.04); }

.statement { max-width: 24ch; }

/* project page */
.project-body { display: grid; gap: var(--space-6); margin-top: var(--space-8); }
@media (min-width: 1024px) { .project-body { grid-template-columns: 1fr 2fr; } }
.project-body p { max-width: 65ch; }

.cta-card { display: grid; justify-items: start; gap: var(--space-4); padding: var(--space-7) var(--space-5); border-radius: var(--radius-xl); background: var(--color-surface); }
@media (min-width: 768px) { .cta-card { padding: var(--space-8); } }
.cta-card p { max-width: 55ch; margin: 0; color: var(--color-text-muted); }

/* long text (privacy) */
.prose { max-width: 70ch; }
.prose h2 { margin: var(--space-7) 0 var(--space-3); font: var(--weight-lg) var(--text-lg)/var(--leading-lg) var(--font-display); }
.prose ul { margin: 0 0 var(--space-4); padding-left: 1.2em; }
.prose li + li { margin-top: var(--space-1); }
.prose a { color: var(--color-accent-text); text-underline-offset: 3px; }

/* 404 and thank-you */
.message { display: grid; justify-items: start; gap: var(--space-4); padding-block: var(--space-8) var(--space-9); }
.message p { max-width: 50ch; margin: 0; }

.pills--start { justify-content: flex-start; margin-top: var(--space-2); }
.contact-info { margin: var(--space-6) 0 0; }
