/* Home uses the shared palette, typography and content container. */
body.home:not(.case-study) main>.home-hero{max-width:none;background:var(--color-blue);color:var(--color-bg);padding:0;border-bottom:0}
.home .hero-copyblock{max-width:1085px;margin:0 auto;padding:80px 24px 64px}
.home .home-hero :is(h1,.eyebrow,.hero-copy){color:var(--color-bg)}
.home .home-hero h1{max-width:19ch}
.home .site-header nav{margin-left:auto}
.home .hero-copy{max-width:70ch}
.home .hero-actions{margin:32px 0 36px}
.home .hero-actions :is(.primary-action,.resume-action){display:inline-flex;align-items:center;justify-content:center;min-height:48px;padding:10px 20px;border:2px solid var(--color-fg);font-size:14px;font-weight:600;text-decoration:none;transition:transform 160ms ease,box-shadow 160ms ease,background 160ms ease,color 160ms ease}
.home .hero-actions .primary-action{background:var(--color-accent);color:var(--color-fg);box-shadow:4px 4px 0 var(--color-fg)}
.home .hero-actions .primary-action:hover{transform:translate(2px,2px);box-shadow:2px 2px 0 var(--color-fg)}
.home .hero-actions .resume-action{background:transparent;color:var(--color-bg);border-color:var(--color-bg)}
.home .hero-actions .resume-action:hover{background:var(--color-bg);color:var(--color-blue)}
.home .hero-credentials{padding-top:24px;border-top:1px solid color-mix(in srgb,var(--color-bg) 48%,transparent)}
.home .hero-credentials p{max-width:none;margin:0 0 6px;color:var(--color-bg);font-size:13px;line-height:1.5}
.home .hero-credentials p:last-child{margin-bottom:0;color:color-mix(in srgb,var(--color-bg) 82%,transparent)}

.home .selected-work{padding-top:72px;padding-bottom:72px}
.home .selected-work-heading{max-width:none;margin-bottom:20px}
.home .selected-work-heading h2{max-width:none;margin-bottom:12px;font-family:"Playfair Display",Georgia,serif;font-size:42px;font-weight:600;line-height:1.08}
.home .selected-work-heading>p:last-child{width:100%;max-width:none;font-size:17px;line-height:1.55}
.home .selected-work-access{max-width:none;margin:0 0 40px;color:var(--color-muted);font-size:14px;line-height:1.5}
.home .selected-work-access a{font-weight:600;color:var(--color-blue);text-decoration-color:var(--color-accent);text-decoration-thickness:2px;text-underline-offset:4px}
.home .selected-work-access a:hover{color:var(--color-fg);text-decoration-color:var(--color-blue)}
.home .selected-projects{border-top:1px solid var(--color-fg)}
.home .selected-project{display:grid;grid-template-columns:minmax(140px,2fr) minmax(0,8fr);gap:48px;padding:44px 0;border-bottom:1px solid var(--color-border)}
.home .selected-project-company{margin:0;color:var(--color-blue);font-size:13px;font-weight:600;letter-spacing:.12em;text-transform:uppercase}
.home .selected-project-content{width:100%;max-width:none;min-width:0}
.home .selected-project h3{width:100%;max-width:none;margin-bottom:10px;font-family:"Playfair Display",Georgia,serif;font-size:29px;font-weight:600;line-height:1.15;letter-spacing:-.02em}
.home .selected-project-categories{width:100%;max-width:none;margin-bottom:22px;color:var(--color-blue);font-size:12px;font-weight:600;letter-spacing:.08em;text-transform:uppercase}
.home .selected-project-content>p:not(.selected-project-categories){width:100%;max-width:none;font-size:15px;line-height:1.65}
.home .selected-project-link{display:inline-flex;align-items:center;min-height:44px;margin-top:4px;color:var(--color-blue);font-size:14px;font-weight:600;text-decoration-color:var(--color-accent);text-decoration-thickness:2px;text-underline-offset:6px}
.home .selected-project-link:hover{color:var(--color-fg);text-decoration-color:var(--color-blue)}

.home .home-contact{padding-top:64px;padding-bottom:64px;grid-template-columns:5fr 7fr;gap:40px}
.home .home-contact h2,.home .home-contact .eyebrow{color:var(--color-bg)}
.home .home-contact h2{font-family:"Playfair Display",Georgia,serif;font-weight:600;max-width:16ch}
.home .footer-links{border-left-color:color-mix(in srgb,var(--color-bg) 28%,transparent);min-width:0;gap:6px;align-items:start;height:fit-content;align-self:center;padding-left:28px}
.home .footer-links a{display:inline-flex;align-items:center;max-width:100%;overflow-wrap:anywhere}
.home .footer-links span{margin-top:8px}
.home .site-footer{background:var(--color-fg);color:var(--color-bg);border:0}
.home .footer-inner{border-top:1px solid color-mix(in srgb,var(--color-bg) 12%,transparent)}
.home .footer-inner>div,.home .footer-inner a:hover{color:var(--color-bg)}

@media(max-width:767px){
 .home .hero-copyblock{padding:56px 20px 48px}
 .home .home-hero h1{font-size:48px}
 .home .hero-copy{font-size:18px}
 .home .hero-actions{align-items:stretch}
 .home .hero-actions a{width:100%}
 .home .selected-work{padding-top:56px;padding-bottom:56px}
 .home .selected-work-heading{margin-bottom:16px}
 .home .selected-work-access{margin-bottom:28px}
 .home .selected-work-heading h2{font-size:36px}
 .home .selected-project{grid-template-columns:1fr;gap:10px;padding:32px 0}
 .home .selected-project h3{font-size:25px}
 .home .home-contact{grid-template-columns:1fr;gap:32px}
 .home .footer-links{padding:0;border:0}
 .home .footer-links a{font-size:14px}
}
