
:root{
  --green:#4aa57f; --green-deep:#1d5f45; --navy:#0c2a43; --ink:#0f3526;
  --pale:#eef4ef; --burnt:#a8501f; --white:#fff;
  --serif:"Playfair Display",Georgia,"Times New Roman",serif;
  --sans:"Montserrat",system-ui,-apple-system,"Segoe UI",sans-serif;
}
*{box-sizing:border-box}
html{-webkit-text-size-adjust:100%}
body{margin:0;font-family:var(--serif);color:var(--navy);background:var(--pale);line-height:1.6}
img{max-width:100%;height:auto;display:block}
a{color:var(--green-deep)}
a:hover{color:var(--burnt)}
:focus-visible{outline:3px solid var(--navy);outline-offset:3px;border-radius:2px}

/* shared header pieces */
.monogram{font-family:var(--serif);font-size:1.6rem;color:var(--ink);text-decoration:none;letter-spacing:.04em}
.topnav{display:flex;align-items:center;gap:clamp(16px,2.4vw,34px);font-family:var(--sans);font-weight:600}
.topnav a{color:var(--navy);text-decoration:none;font-size:clamp(1.25rem,2.8vw,2.5rem);line-height:1}
.topnav a:hover{color:var(--white)}
.topnav a[aria-current="page"]{text-decoration:underline;text-decoration-thickness:3px;text-underline-offset:8px}
.topnav .icon-link{display:inline-flex;font-size:0}
.topnav .icon-link svg{width:clamp(24px,2.4vw,36px);height:auto}

/* home */
body.home{background:var(--green);overflow-x:hidden}
.hero{position:relative;min-height:100vh;min-height:100svh;overflow:hidden;background:var(--green)}
.hero .monogram{position:absolute;left:22px;top:16px;z-index:3}
.hero .topnav{position:absolute;right:clamp(16px,2vw,30px);top:clamp(14px,2.2vw,30px);z-index:3}
.hero-text{position:absolute;left:clamp(22px,4.7vw,68px);top:clamp(56px,6vw,86px);z-index:2;max-width:min(560px,42vw)}
.hero h1{font-weight:400;font-size:clamp(2.2rem,4.4vw,4rem);line-height:1.05;margin:0;color:var(--white)}
.role{font-size:clamp(1.5rem,3vw,2.8rem);line-height:1.2;margin:.15em 0 0;color:var(--ink)}
.intro{font-size:clamp(1.05rem,1.55vw,1.4rem);line-height:1.45;margin:clamp(24px,5.5vw,80px) 0 0;max-width:16em;color:var(--navy)}
.shell{position:absolute;right:-.5vw;bottom:0;width:min(77.5vw,112svh);z-index:1}
.shell-float{transform-origin:56% 60%;animation:float 11s ease-in-out infinite alternate}
.shell-svg{display:block;width:100%;height:auto;transform-origin:56% 60%;animation:intro 1.8s cubic-bezier(.2,.7,.2,1) both}
@keyframes intro{from{opacity:0;transform:rotate(-22deg) scale(.9)}to{opacity:1;transform:none}}
@keyframes float{from{transform:translateY(0) rotate(-.7deg)}to{transform:translateY(-8px) rotate(.7deg)}}

/* shell hotspots */
.hot{cursor:pointer;outline:none}
.hot polygon{fill:rgba(255,255,255,0);stroke:rgba(255,255,255,0);stroke-width:4;stroke-linejoin:round;transition:fill .3s,stroke .3s}
.hot text{font-family:var(--sans);font-weight:600;font-size:54px;fill:var(--green-deep);text-anchor:middle;transition:fill .3s;paint-order:stroke;stroke:rgba(255,255,255,.35);stroke-width:6px}
.hot:hover polygon,.hot:focus-visible polygon{fill:rgba(255,255,255,.4)}
.hot:hover text,.hot:focus-visible text{fill:var(--navy)}
.hot:focus-visible text{stroke:var(--navy);stroke-width:2px;text-decoration:underline}

/* inner pages */
.band{display:flex;align-items:center;justify-content:space-between;background:var(--green);padding:18px clamp(18px,4vw,56px)}
.band .topnav a{font-size:clamp(1.15rem,2vw,1.6rem)}
.band .icon-link svg{width:28px}
main{max-width:1100px;margin:0 auto;padding:clamp(32px,6vw,80px) clamp(18px,4vw,56px)}
h1{font-weight:400;font-size:clamp(2.2rem,4.5vw,3.6rem);line-height:1.1;margin:0 0 .5em;color:var(--navy)}
h2{font-weight:500;font-size:clamp(1.4rem,2.4vw,1.9rem);line-height:1.2;margin:0 0 .4em}
p{max-width:38em}
.lede{font-size:1.2rem}
.about{display:grid;grid-template-columns:minmax(220px,420px) 1fr;gap:clamp(24px,5vw,72px);align-items:center}
.about-img{width:100%;aspect-ratio:1;border-radius:50%;object-fit:cover}
.about-copy p{font-size:1.2rem}
.projects{list-style:none;margin:2.5rem 0 0;padding:0;display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:clamp(24px,3.5vw,48px)}
.project-img{display:block;overflow:hidden}
.project-img img{width:100%;aspect-ratio:4/3;object-fit:cover;transition:transform .5s cubic-bezier(.2,.7,.2,1)}
.project-img:hover img{transform:scale(1.04)}
.project h2{margin:.9rem 0 .2rem;font-size:1.6rem}
.project h2 a{color:var(--navy);text-decoration-thickness:2px;text-underline-offset:6px;text-decoration-color:var(--green)}
.project h2 a:hover{color:var(--burnt)}
.project p{margin:0}
.case{max-width:820px}
.crumb{font-family:var(--sans);font-weight:500;font-size:.95rem;margin:0 0 1rem}
.meta{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:18px 28px;margin:2rem 0;padding:1.2rem 0;border-top:2px solid var(--green);border-bottom:2px solid var(--green)}
.meta dt{font-family:var(--sans);font-weight:600;font-size:.9rem;color:var(--green-deep)}
.meta dd{margin:.15rem 0 0}
.case-hero{width:100%;margin:0 0 2.5rem}
.case section{margin:0 0 2.2rem}
.next{margin-top:3rem;font-size:1.15rem}
.site-foot{display:flex;align-items:center;justify-content:space-between;gap:16px;max-width:1100px;margin:0 auto;padding:24px clamp(18px,4vw,56px) 40px;font-family:var(--sans);font-size:.9rem}
.site-foot p{margin:0}
.site-foot a{color:var(--navy)}

/* small screens: stack the hero */
@media (max-width:760px){
  .hero{min-height:0;padding-bottom:0}
  .hero-text{position:relative;left:auto;top:auto;max-width:none;padding:70px 22px 0}
  .intro{margin-top:20px;max-width:none}
  .shell{position:relative;right:auto;bottom:auto;width:106vw;margin:18px 0 0 -2vw}
  .hot text{font-size:72px}
  .about{grid-template-columns:1fr}
  .about-img{max-width:320px}
}
@media (prefers-reduced-motion:reduce){
  .shell-float,.shell-svg{animation:none!important}
  .project-img img{transition:none}
}
