/* Main site additions (brand cards, featured-work posts, legal pages). Extends styles.css tokens. */

/* What We Do: brand logos instead of icons */
.service-card { display: flex; flex-direction: column; }
.service-brand { height: 96px; display: flex; align-items: center; margin-bottom: var(--space-md); }
.service-brand img { max-height: 96px; width: auto; max-width: 180px; object-fit: contain; }
.service-sub { font-size: 0.85rem; color: var(--accent); font-weight: 500; margin: -0.2rem 0 var(--space-xs); }
.service-card .service-link { margin-top: auto; }
.muted-link { color: var(--text-muted); cursor: default; }

/* Featured work posts */
a.post-card { display: flex; flex-direction: column; color: var(--text); }
a.post-card:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.post-image { background: var(--bg-alt); overflow: hidden; }
.post-image img { width: 100%; height: 100%; object-fit: cover; display: block; }
.post-body { padding: var(--space-sm) var(--space-md) var(--space-md); }
.post-title { font-size: 1.05rem; font-weight: 600; margin-bottom: 0.25rem; }
.post-excerpt { font-size: 0.9rem; color: var(--text-muted); line-height: 1.6; }

.post-page { max-width: 820px; padding-top: 130px; padding-bottom: var(--space-3xl); }
.post-page h1 { font-size: clamp(1.75rem, 4vw, 2.5rem); letter-spacing: -0.02em; margin-bottom: var(--space-md); }
.post-back { margin-bottom: var(--space-sm); font-size: 0.9rem; }
.post-back a { color: var(--accent); }
.post-note { background: #fef9c3; color: #854d0e; padding: 0.5rem 0.8rem; border-radius: var(--radius); font-size: 0.9rem; }
.post-hero { width: 100%; height: auto; border-radius: var(--radius-lg); border: 1px solid var(--border); margin-bottom: var(--space-md); background: var(--white); }
.post-text p { margin-bottom: 1rem; line-height: 1.8; max-width: 68ch; }
.post-link { display: inline-block; background: var(--accent); color: #fff; padding: 0.6rem 1.1rem; border-radius: var(--radius); font-weight: 500; }
.post-link:hover { background: var(--accent-hover); }
.post-more-title { margin: var(--space-2xl) 0 var(--space-md); font-size: 1.3rem; }

/* Legal pages */
.legal { max-width: 820px; padding-top: 130px; padding-bottom: var(--space-3xl); }
.legal h1 { font-size: clamp(1.75rem, 4vw, 2.4rem); letter-spacing: -0.02em; margin-bottom: 0.4rem; }
.legal .updated { color: var(--text-muted); font-size: 0.9rem; margin-bottom: var(--space-lg); }
.legal h2 { font-size: 1.2rem; margin: var(--space-lg) 0 0.5rem; }
.legal h3 { font-size: 1rem; margin: var(--space-md) 0 0.35rem; }
.legal p, .legal li { line-height: 1.75; max-width: 70ch; }
.legal p { margin-bottom: 0.75rem; }
.legal ul { padding-left: 1.3rem; margin-bottom: 0.75rem; list-style: disc; }
.legal li { margin-bottom: 0.3rem; }
.legal a { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; }
.legal .toc { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-bottom: var(--space-md); }
.legal .toc a { text-decoration: none; border: 1px solid var(--border); border-radius: 999px; padding: 0.25rem 0.75rem; font-size: 0.85rem; background: var(--white); }
.legal details { border-top: 1px solid var(--border); padding: 0.75rem 0; }
.legal details summary { font-weight: 600; cursor: pointer; }
.legal details p { margin-top: 0.5rem; }
.legal .shops { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: var(--space-sm); margin: var(--space-md) 0; }
.legal .shop { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: var(--space-sm) var(--space-md); }
.legal .shop img { height: 56px; width: auto; margin-bottom: 0.4rem; }
.legal .shop h3 { margin-top: 0; }
.legal .shop p { font-size: 0.92rem; margin: 0; }
