/* A compact, evidence-led portfolio. Shared brand tokens live in site.css. */
.home-main { max-width: 1280px; margin: auto; padding: 0 var(--pad); }
.home-main p { line-height: 1.65; }
.home-main h1, .home-main h2, .home-main h3 { color: var(--ink-deep); letter-spacing: -.035em; line-height: 1.12; }
.eyebrow { font-size: 11px; font-weight: 500; letter-spacing: .11em; text-transform: uppercase; color: var(--anchor); margin-bottom: 16px; }
.home-hero { display: grid; grid-template-columns: 1.15fr 1fr; align-items: center; gap: 56px; padding: 146px 0 64px; }
.home-hero h1 { font-size: clamp(40px, 4.5vw, 64px); }
.home-hero h1 em { font-style: normal; color: var(--anchor); }
.home-deck { font-size: 20px; max-width: 43ch; margin: 24px 0; }
.home-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 22px; margin: 28px 0; }
.home-button { display: inline-flex; justify-content: center; align-items: center; gap: 20px; min-height: 48px; padding: 14px 20px; background: var(--accent); color: #0f0f0f; font-size: 15px; font-weight: 600; }
.home-button:hover { background: var(--ink-deep); color: var(--bg); }
.text-link { color: var(--anchor); text-decoration: underline; text-underline-offset: 5px; font-size: 15px; }
.hero-context { color: var(--muted); font-size: 13px; }
.hero-photo { align-self: stretch; display: flex; flex-direction: column; justify-content: center; }
.hero-photo img { display: block; width: 100%; height: 380px; object-fit: cover; object-position: center; }
.hero-photo figcaption { display: flex; flex-wrap: wrap; gap: 8px; justify-content: space-between; font-size: 11px; line-height: 1.5; color: var(--muted); padding-top: 12px; }
.home-section { padding: 64px 0; border-top: 1px solid var(--rule-2); }
.home-heading { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 32px; }
.home-section h2, .home-contact h2 { font-size: clamp(30px, 3.5vw, 46px); }
.home-section h3 { font-size: 24px; }
.project-grid, .resource-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 24px; }
.project-card { min-width: 0; border: 1px solid var(--rule); }
.project-card > img { width: 100%; height: 230px; object-fit: cover; display: block; background: #eae7e0; }
.project-card > img.contain { object-fit: contain; padding: 14px; }
.project-card > div { padding: 24px; }
.project-card p { margin: 14px 0; font-size: 15px; }
.project-card .eyebrow { margin-top: 0; font-size: 10px; }
.project-card details { border-top: 1px solid var(--rule); margin-top: 22px; padding-top: 8px; }
.project-card summary { min-height: 44px; padding: 12px 0; color: var(--anchor); font-size: 14px; font-weight: 500; }
.offer-grid, .quote-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 24px; }
.home-offer { padding: 32px; background: color-mix(in srgb,var(--anchor) 5%,var(--bg)); border: 1px solid var(--rule); }
.home-offer p:not(.eyebrow) { margin: 18px 0 24px; }
.section-note { margin-top: 24px; font-size: 14px; }
.section-intro { max-width: 60ch; margin: 0 0 24px; }
.home-quote { padding: 28px 0; }
.home-quote blockquote { font-size: 18px; line-height: 1.7; }
.home-quote figcaption { margin-top: 20px; display: grid; gap: 6px; font-size: 13px; }
.home-quote figcaption span { color: var(--muted); }
.audit-band { background: var(--anchor); color: var(--bg); padding: 32px; margin-bottom: 32px; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 32px; }
.audit-band .eyebrow, .audit-band h3 { color: inherit; }
.audit-band p:not(.eyebrow) { max-width: 65ch; margin-top: 16px; font-size: 15px; }
.resource-card { border: 1px solid var(--rule); display: block; }
.resource-preview { height: 220px; overflow: hidden; padding: 22px 28px 0; background: #e9e6df; }
.resource-preview img { width: 100%; height: auto; box-shadow: 0 3px 16px #0002; display: block; }
.resource-card > div:last-child { padding: 22px; }
.resource-card h3 { font-size: 21px; }
.resource-card p:not(.eyebrow) { margin: 12px 0 20px; font-size: 14px; }
.resource-card .eyebrow { font-size: 10px; }
.resource-card:hover h3 { text-decoration: underline; text-underline-offset: 4px; }
.writing-band { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding-top: 40px; }
.writing-band p { margin-top: 12px; }
.home-contact { padding: 64px 0; border-top: 1px solid var(--rule-2); }
.home-contact p:not(.eyebrow) { max-width: 54ch; margin: 24px 0; }
.home-contact > a { margin: 0 24px 16px 0; }
.home-footer { max-width: 1280px; margin: auto; padding: 32px var(--pad); border-top: 1px solid var(--rule); font-size: 12px; color: var(--muted); display: flex; gap: 24px; justify-content: space-between; flex-wrap: wrap; }
.home-footer nav { display: flex; gap: 18px; flex-wrap: wrap; }
.home-footer a { text-decoration: underline; text-underline-offset: 4px; }
@media(max-width: 1000px) { .home-hero { gap: 28px; } .project-grid { gap: 16px; } .project-card > div { padding: 18px; } }
@media(max-width: 760px) {
 .home-hero { grid-template-columns: 1fr; gap: 28px; padding: 104px 0 40px; }
 .home-hero h1 { font-size: clamp(36px,9.5vw,52px); }
 .home-deck { font-size: 18px; margin: 20px 0; }
 .home-actions { margin: 22px 0; gap: 18px; }
 .hero-photo img { height: 260px; }
 .home-section, .home-contact { padding: 40px 0; }
 .home-heading { align-items: start; flex-direction: column; gap: 18px; }
 .project-grid, .resource-grid, .offer-grid, .quote-grid { grid-template-columns: 1fr; }
 .project-card > img { height: 240px; }
 .project-card > div, .home-offer { padding: 22px; }
 .audit-band { grid-template-columns: 1fr; padding: 24px; gap: 24px; }
 .resource-card { display: grid; grid-template-columns: 110px minmax(0,1fr); }
 .resource-preview { height: 100%; min-height: 210px; padding: 14px 10px 0; }
 .resource-card > div:last-child { padding: 18px; }
 .resource-card h3 { font-size: 20px; }
 .writing-band { align-items: start; flex-direction: column; }
 .home-quote { padding: 12px 0; }
}
.home-main .posts { list-style: none; margin-top: 24px; }
.home-main .posts li { border-top: 1px solid var(--rule); }
.home-main .posts a { display: flex; gap: 20px; padding: 18px 0; align-items: center; }
.home-main .posts .post-mark, .home-main .posts .date, .home-main .posts .cat { display: none; }
.home-main .posts .title { font-size: 18px; color: var(--anchor); }
.home-main .posts a:hover .title { text-decoration: underline; }


/* Original interactive atmosphere, with open editorial sections. */
#bgCanvas { position: fixed; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 0; }
.home-main, .home-footer { position: relative; z-index: 1; }
.home-button { border-radius: 999px; padding-inline: 24px; }
.hero-photo img { border-radius: 24px; }
.project-card, .resource-card { border: 0; }
.project-card > img { border-radius: 22px; }
.project-card > div { padding: 24px 0; }
.home-offer { border: 0; border-radius: 26px; }
.audit-band { border-radius: 28px; }
.resource-preview { border-radius: 22px; }
.resource-card > div:last-child { padding: 22px 0; }
@media(max-width: 760px) {
 .hero-photo img { border-radius: 20px; }
 .resource-card { gap: 18px; }
 .resource-card > div:last-child { padding: 12px 0; }
 .resource-preview { border-radius: 16px; }
}
@media(prefers-reduced-motion: reduce) { #bgCanvas { display: none; } }

/* Visual examples for every service and resource. */
.home-offer { display: block; }
.home-offer .offer-image { display: block; width: 100%; height: 240px; object-fit: cover; object-position: top; border-radius: 18px; margin-bottom: 26px; }
.project-image-link img { display: block; width: 100%; height: 230px; object-fit: cover; border-radius: 22px; }
.project-image-link img.contain { object-fit: contain; padding: 14px; background: #eae7e0; }
.audit-band { grid-template-columns: 180px 1fr; }
.audit-band > .home-button { grid-column: 2; justify-self: start; }
.band-image { display: block; width: 180px; height: auto; aspect-ratio: 1200 / 630; object-fit: cover; border-radius: 16px; }
.writing-band { padding-bottom: 24px; }
@media(max-width:760px) {
 .audit-band { grid-template-columns: 1fr; }
 .audit-band > .home-button { grid-column: auto; }
 .band-image { width: 100%; max-width: 340px; }
 .project-image-link img { height: 240px; }
}

/* Let each section settle into place without capturing the wheel or touch. */
@media(min-width:900px) and (hover:hover) and (pointer:fine) and (prefers-reduced-motion:no-preference) {
 html:has(.home-main) { scroll-snap-type:y proximity; scroll-padding-top:calc(var(--header-h, 80px) + 20px); scroll-behavior:smooth; }
 .home-main > section { scroll-snap-align:start; scroll-snap-stop:normal; }
 .home-hero { min-height:92svh; box-sizing:border-box; }
}
.home-main .posts .post-mark:has(.editorial-art) { display:block; width:150px; flex-shrink:0; }
.home-main .posts a.post { display:flex; align-items:center; gap:24px; }
.home-main .speaking-banner { padding:32px 0 64px; }
.home-main .offer-image { object-position:center; }
@media(max-width:600px) { .home-main .posts .post-mark:has(.editorial-art) { width:100px; } .home-main .posts a.post { gap:16px; } }
.home-main .resource-preview { height:auto; padding:0; background:none; }
.home-main .band-art { max-width:180px; }
@media(max-width:760px) { .home-main .band-art { max-width:340px; } }
