/* Homepage v2: the site's own palette (ivory, espresso, spruce, brass) with a video hero.
   Loaded after styles.css on the homepage only. */
.home-v2 main picture img{display:block;width:100%;height:100%;object-fit:cover}
.home-v2 main h1,.home-v2 main h2,.home-v2 main h3{color:inherit}

/* ---------- Header over the video (desktop only) ---------- */
@media(min-width:769px){
    .home-v2 .site-header:not(.scrolled) .nav-logo,
    .home-v2 .site-header:not(.scrolled) .nav-link,
    .home-v2 .site-header:not(.scrolled) .nav-socials a{color:var(--ivory)}
    .home-v2 .site-header:not(.scrolled) .nav-link::after{background:var(--brass)}
    .home-v2 .site-header:not(.scrolled) .nav-cta{background:transparent;border-color:rgba(246,241,232,.7);color:var(--ivory)}
    .home-v2 .site-header:not(.scrolled) .nav-cta:hover{background:var(--ivory);color:var(--ink)}
}

/* ---------- Hero ---------- */
.v2-hero{position:relative;height:100vh;height:100svh;min-height:560px;max-height:980px;background:var(--ink);color:var(--ivory);overflow:hidden}
.v2-hero video,.v2-hero .v2-hero__poster{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.v2-hero::after{content:'';position:absolute;inset:0;
    background:linear-gradient(180deg,rgba(38,32,25,.55) 0%,rgba(38,32,25,0) 22%,rgba(38,32,25,0) 42%,rgba(38,32,25,.9) 100%),
               linear-gradient(90deg,rgba(38,32,25,.55) 0%,rgba(38,32,25,0) 62%)}
.v2-hero__content{position:absolute;left:0;right:0;bottom:0;z-index:2;padding-bottom:clamp(2.5rem,7vh,5rem)}
.v2-wrap{max-width:var(--container);margin:0 auto;padding:0 var(--pad)}
.v2-hero__roles{font-family:var(--font-mono);font-size:.8rem;letter-spacing:.16em;text-transform:uppercase;font-weight:500;margin:0 0 1.2rem;color:var(--brass-soft)}
.v2-hero h1{font-family:var(--font-display);font-weight:500;font-size:clamp(2.9rem,7.4vw,6.4rem);line-height:.98;letter-spacing:-.02em;margin:0 0 1.4rem;max-width:12ch}
.v2-hero h1 em{color:var(--brass-soft)}
.v2-hero__desc{font-size:clamp(1rem,1.35vw,1.2rem);line-height:1.6;max-width:40rem;margin:0 0 2rem;color:rgba(246,241,232,.9)}
.v2-hero .btn--ghost{color:var(--ivory);border-color:rgba(246,241,232,.55)}
.v2-hero .btn--ghost:hover{border-color:var(--ivory);background:rgba(246,241,232,.08)}
.v2-pause{position:absolute;right:var(--pad);bottom:clamp(2.5rem,7vh,5rem);z-index:3;width:44px;height:44px;display:grid;place-items:center;
    border:1px solid rgba(246,241,232,.5);background:rgba(38,32,25,.35);color:var(--ivory);cursor:pointer}
.v2-pause:hover{border-color:var(--ivory)}
.v2-pause svg{width:16px;height:16px}

/* ---------- Photo + text split ---------- */
.v2-split{display:grid;grid-template-columns:5fr 6fr;gap:clamp(2.5rem,6vw,6rem);align-items:center}
.v2-split--flip{grid-template-columns:6fr 5fr}
.v2-split--flip .v2-split__photo{order:2}
.v2-split__photo .photo-frame{aspect-ratio:4/5}
.v2-split .lead{font-family:var(--font-display);font-size:clamp(1.2rem,1.7vw,1.45rem);line-height:1.5;color:var(--text);margin:0 0 1.2rem}
.v2-split p{line-height:1.75;color:var(--text-muted);margin:0 0 1.2rem;max-width:36rem}

/* ---------- Who I work with (rows, no icons) ---------- */
.v2-rows{border-top:1px solid var(--border);margin:1.75rem 0 2rem}
.v2-rows > div{padding:1.25rem 0;border-bottom:1px solid var(--border)}
.v2-rows h3{font-family:var(--font-display);font-weight:500;font-size:1.3rem;margin:0 0 .35rem}
.v2-rows p{margin:0;font-size:.98rem}

/* ---------- Ventures ---------- */
.v2-ventures{display:grid;grid-template-columns:1fr 1fr;gap:1.25rem}
.v2-venture{position:relative;min-height:clamp(440px,46vw,600px);color:var(--ivory);overflow:hidden;display:flex;align-items:flex-end;border:1px solid var(--border)}
.v2-venture > img,.v2-venture > picture img,.v2-venture > video{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;transition:transform .8s var(--ease),opacity .4s}
.v2-venture > video{opacity:0}
.v2-venture.is-playing > video{opacity:1}
.v2-venture:hover > img,.v2-venture:hover > picture img,.v2-venture:hover > video{transform:scale(1.03)}
.v2-venture::after{content:'';position:absolute;inset:0;background:linear-gradient(0deg,rgba(38,32,25,.94) 0%,rgba(38,32,25,.55) 48%,rgba(38,32,25,.05) 100%)}
.v2-venture__body{position:relative;z-index:2;padding:clamp(1.75rem,3.5vw,3rem);max-width:34rem}
.v2-venture__logo{width:64px!important;height:auto!important;object-fit:contain!important;margin-bottom:1rem;background:var(--ivory);padding:6px}
.v2-venture__role{font-family:var(--font-mono);font-size:.7rem;letter-spacing:.18em;text-transform:uppercase;color:var(--brass-soft);display:block;margin-bottom:.6rem}
.v2-venture h3{font-family:var(--font-display);font-weight:500;font-size:clamp(2rem,3.4vw,2.8rem);line-height:1;margin:0 0 .6rem}
.v2-venture__tag{font-family:var(--font-display);font-style:italic;font-size:1.12rem;margin:0 0 .9rem;color:rgba(246,241,232,.92)}
.v2-venture p{line-height:1.65;color:rgba(246,241,232,.82);margin:0 0 1.4rem}
.v2-venture .v2-link{color:var(--ivory)}
.v2-link{font-family:var(--font-mono);font-size:.76rem;letter-spacing:.14em;text-transform:uppercase;font-weight:500;border-bottom:1px solid var(--brass);padding-bottom:.25rem}

/* ---------- Testimonials ---------- */
.v2-quotes{background:var(--ink);color:var(--ivory)}
.v2-quote-lead{display:grid;grid-template-columns:1.2fr 1fr;gap:clamp(2rem,6vw,6rem);align-items:end;margin-bottom:clamp(3rem,6vw,4.5rem)}
.v2-quote-lead blockquote{margin:0;font-family:var(--font-display);font-weight:500;font-size:clamp(2.2rem,4.4vw,3.8rem);line-height:1.06;letter-spacing:-.01em}
.v2-quote-lead blockquote::before{content:'\201C';color:var(--brass);display:block;font-size:1.4em;line-height:.6;margin-bottom:.2em}
.v2-quote-lead p{color:rgba(246,241,232,.78);line-height:1.75;margin:0 0 1.2rem}
.v2-who{font-family:var(--font-mono);font-size:.76rem;letter-spacing:.14em;text-transform:uppercase}
.v2-who b{color:var(--ivory);font-weight:600}
.v2-who span{color:rgba(246,241,232,.55)}
.v2-quote-row{display:grid;grid-template-columns:repeat(3,1fr);gap:clamp(1.5rem,4vw,3.5rem);border-top:1px solid rgba(246,241,232,.14);padding-top:2.5rem}
.v2-quote-row h3{font-family:var(--font-display);font-weight:500;font-size:1.4rem;line-height:1.25;margin:0 0 .9rem}
.v2-quote-row p{color:rgba(246,241,232,.7);line-height:1.7;font-size:.96rem;margin:0 0 1rem}

/* ---------- Awards ---------- */
.v2-awards{display:grid;grid-template-columns:1fr 1.25fr;gap:clamp(2rem,6vw,6rem);align-items:start}
.v2-awards ol{list-style:none;margin:0 0 2rem;padding:0;border-top:1px solid var(--border-hover)}
.v2-awards li{display:grid;grid-template-columns:4.5rem 1fr;gap:1rem;padding:1.05rem 0;border-bottom:1px solid var(--border-hover)}
.v2-awards li .y{font-family:var(--font-display);font-size:1.15rem;color:var(--brass)}
.v2-awards li b{display:block;font-weight:600;font-size:1.02rem;margin-bottom:.15rem;color:var(--text)}
.v2-awards li span{font-size:.9rem;color:var(--text-muted)}

/* ---------- Closing invitation ---------- */
.v2-cta{background:var(--ink);color:var(--ivory)}
.v2-cta .v2-split p{color:rgba(246,241,232,.75)}
.v2-cta .section-title{color:var(--ivory)}
.v2-cta .section-title em{color:var(--brass)}
.v2-cta .btn--primary{background:var(--brass);border-color:var(--brass);color:var(--ink)}
.v2-cta .btn--primary:hover{background:#c09a52}
.v2-cta .btn--ghost{color:var(--ivory);border-color:rgba(246,241,232,.4)}

/* ---------- Responsive ---------- */
@media(max-width:768px){
    .v2-hero{max-height:none;margin-top:0}
    .v2-hero h1{max-width:none}
    .v2-hero__desc{font-size:1rem}
    .v2-pause{top:84px;bottom:auto}
    .v2-split,.v2-split--flip,.v2-quote-lead,.v2-awards,.v2-ventures{grid-template-columns:1fr}
    .v2-split--flip .v2-split__photo{order:0}
    .v2-venture::after{background:linear-gradient(0deg,rgba(38,32,25,.96) 0%,rgba(38,32,25,.82) 55%,rgba(38,32,25,.35) 100%)}
    .v2-quote-row{grid-template-columns:1fr}
}
@media (prefers-reduced-motion: reduce){
    .v2-venture > img,.v2-venture > video{transition:none}
}
