@font-face{font-family:'Anecor Gheroos';src:url('assets/fonts/anecor-gheroos.ttf') format('truetype');font-display:swap}
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700&display=swap');
:root{--green:#5b7671;--black:#000;--white:#fff;--page:1493px;--content:1275px}*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:105px}body{margin:0;background:#fff;color:#000;font-family:Montserrat,Arial,sans-serif}body.modal-open{overflow:hidden}.topbar{height:105px;max-width:var(--page);margin:auto;display:flex;justify-content:flex-end;align-items:center;padding:0 26px;position:relative;z-index:30}.menu{width:72px;height:50px;display:flex;align-items:center;justify-content:center;background:none;border:0;cursor:pointer;padding:0;color:#000}.menu span:first-child{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}.menu-icon{font-size:0;width:53px;height:28px;position:relative}.menu-icon:before,.menu-icon:after,.menu-icon{background:linear-gradient(var(--green),var(--green)) center/100% 2px no-repeat}.menu-icon:before,.menu-icon:after{content:'';position:absolute;left:0;width:53px;height:2px;background:var(--green);transition:.25s}.menu-icon:before{top:3px}.menu-icon:after{bottom:3px}.menu[aria-expanded=true] .menu-icon{background-size:0 2px}.menu[aria-expanded=true] .menu-icon:before{top:13px;transform:rotate(45deg)}.menu[aria-expanded=true] .menu-icon:after{bottom:13px;transform:rotate(-45deg)}
.dropdown{position:absolute;right:26px;top:80px;width:min(720px,calc(100vw - 52px));background:#fff;border:1px solid rgba(91,118,113,.35);border-radius:10px;padding:0 30px;max-height:0;opacity:0;overflow:hidden;pointer-events:none;transition:max-height .32s ease,opacity .2s ease,padding .32s ease}.dropdown.open{max-height:140px;opacity:1;padding-top:24px;padding-bottom:24px;pointer-events:auto}.dropdown-columns{display:grid;grid-template-columns:repeat(5,1fr);gap:24px}.dropdown a{color:#000;text-decoration:none;font-size:15px;font-weight:500;text-align:center}.dropdown a:hover{color:var(--green)}
main{max-width:var(--page);margin:0 auto}.hero-image{height:342px;overflow:hidden}.hero-image img{width:100%;height:100%;object-fit:cover;display:block}.tagline{height:68px;margin:14px auto 108px;text-align:center;color:var(--green);font-family:'Anecor Gheroos',serif;font-size:42px;line-height:1.25;font-weight:400}.work,.about,.skills,.contact{width:var(--content);max-width:calc(100% - 40px);margin-left:auto;margin-right:auto}.work h2,.about h2,.skills h2{font-size:32px;line-height:39px;font-weight:500;margin:0 0 45px 12px}.project,.grid article,.grid .project-link{margin-bottom:72px}.project img,.project video,.grid img{display:block;width:100%;height:445px;object-fit:cover;border-radius:10px}.media-frame{position:relative;overflow:hidden;border-radius:10px}.media-frame video,.media-frame img{border-radius:10px}.clickable,.project-link{cursor:pointer}.project-link{display:block;text-decoration:none;color:inherit}.view-label{position:absolute;right:18px;bottom:18px;background:#fff;color:var(--green);border-radius:999px;padding:10px 15px;font-size:12px;font-weight:700;opacity:0;transform:translateY(6px);transition:.2s}.clickable:hover .view-label{opacity:1;transform:none}.project-link img{transition:transform .35s ease}.project-link:hover img{transform:scale(1.012)}.project h3,.grid h3{font-size:32px;line-height:39px;font-weight:500;margin:15px 0 13px 15px}.project p,.grid p{font-size:12px;line-height:17px;color:var(--green);margin:0 0 0 15px}.grid{display:grid;grid-template-columns:619px 618px;gap:0 38px}.about{border-top:1px solid var(--green);padding-top:69px;margin-top:20px}.about h2{margin-bottom:36px}.about-card{border-radius:10px;overflow:hidden}.about-card img{display:block;width:100%;height:1289px;object-fit:cover;border-radius:10px}.skills{margin-top:68px}.skills h2{margin-bottom:55px}.statement{height:82px;display:flex;align-items:center;justify-content:center;font-size:62px;line-height:82px;margin:0 auto 65px;white-space:nowrap}.statement strong{font-size:62px;font-weight:500;line-height:82px}.statement em{font-family:'Anecor Gheroos',serif;font-style:normal;font-weight:400;color:var(--green);padding-left:18px}.rotating-skill-wrap{display:inline-block}.rotating-skill{display:inline-block;transition:opacity .35s ease,transform .35s ease;will-change:opacity,transform}.rotating-skill.is-changing{opacity:0;transform:translateY(10px)}.skill-icons{width:656px;max-width:100%;height:96px;margin:auto;display:flex;justify-content:space-between;align-items:center}.skill-icons img{width:90px;height:90px;object-fit:contain;transition:transform .25s ease}.skill-icons img:first-child{width:57px;height:85px}.skill-icons img:hover{transform:translateY(-10px)}.resume{display:flex;align-items:center;justify-content:center;gap:18px;width:307px;height:80px;border:2px solid var(--green);border-radius:14px;margin:66px auto 39px;text-decoration:none;color:#000;font-size:32px;font-weight:600;transition:.2s}.resume:hover{transform:translateY(-3px);background:var(--green);color:#fff}.contact{border-top:1px solid var(--green);padding-top:70px;padding-bottom:154px}.contact h2{font-family:'Anecor Gheroos',serif;color:var(--green);font-size:122px;line-height:1;font-weight:400;margin:0 0 72px 312px}.contact hr{display:none}.contact-copy{text-align:center;font-size:32px;line-height:1.22;margin:0 auto 68px;max-width:1170px}.contact-copy p{margin:0}.contact-copy p:first-child{margin-bottom:0}.contact-actions{display:flex;justify-content:center;gap:159px}.pill{width:307px;height:80px;border:2px solid var(--green);border-radius:60px;display:flex;align-items:center;justify-content:center;text-decoration:none;color:var(--green);font-size:32px;font-weight:700;transition:.2s}.pill:hover{background:var(--green);color:#fff;transform:translateY(-3px)}
.carousel-modal{position:fixed;inset:0;z-index:100;background:rgba(8,12,11,.94);display:flex;align-items:center;justify-content:center;opacity:0;visibility:hidden;transition:.25s}.carousel-modal.open{opacity:1;visibility:visible}.carousel-stage{width:min(82vw,1100px);height:82vh;display:flex;flex-direction:column;align-items:center;justify-content:center}.carousel-stage img{max-width:100%;max-height:calc(82vh - 55px);object-fit:contain;display:block}.carousel-caption{color:#fff;margin-top:15px;font-size:14px}.carousel-close{position:absolute;right:28px;top:22px;background:none;border:0;color:#fff;font-size:48px;line-height:1;cursor:pointer;z-index:2}.carousel-arrow{position:absolute;top:50%;transform:translateY(-50%);background:rgba(255,255,255,.12);border:1px solid rgba(255,255,255,.3);color:#fff;width:52px;height:52px;border-radius:50%;font-size:40px;line-height:40px;cursor:pointer}.carousel-arrow.prev{left:28px}.carousel-arrow.next{right:28px}.carousel-count{position:absolute;bottom:20px;color:#fff;font-size:13px}
@media(max-width:900px){.topbar{height:75px;padding:0 18px}.dropdown{right:18px;top:62px;width:calc(100vw - 36px)}.dropdown.open{max-height:330px}.dropdown-columns{grid-template-columns:1fr;gap:18px}.dropdown a{text-align:left}.hero-image{height:230px}.tagline{height:auto;font-size:30px;margin:24px 20px 80px}.work,.about,.skills,.contact{max-width:none;width:auto;margin-left:22px;margin-right:22px}.work h2,.about h2,.skills h2{font-size:25px;margin-left:0;margin-bottom:30px}.project img,.project video,.grid img{height:auto;aspect-ratio:1.39}.grid{grid-template-columns:1fr;gap:20px}.project h3,.grid h3{font-size:24px;margin-left:0}.project p,.grid p{margin-left:0}.about{margin-top:70px;padding-top:45px}.about-card img{height:auto}.skills{margin-top:70px}.statement{height:auto;min-height:110px;white-space:normal;display:block;text-align:center;font-size:42px;line-height:1.15;margin:35px 0}.statement strong{font-size:42px;line-height:1.15}.statement em{display:block;padding-left:0;margin-top:8px}.skill-icons{height:auto;gap:18px;justify-content:center;flex-wrap:wrap}.skill-icons img,.skill-icons img:first-child{width:64px;height:64px}.resume{width:100%;max-width:307px;font-size:25px;margin-bottom:70px}.contact{padding-top:50px}.contact h2{font-size:70px;margin:0 0 45px}.contact-copy{font-size:20px;margin-bottom:45px}.contact-actions{flex-direction:column;gap:20px}.pill{width:100%;height:68px;font-size:25px}.carousel-stage{width:88vw;height:78vh}.carousel-arrow{width:42px;height:42px;font-size:32px}.carousel-arrow.prev{left:8px}.carousel-arrow.next{right:8px}.carousel-close{right:15px;top:12px}.view-label{opacity:1;transform:none}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*:before,*:after{transition:none!important}}

/* Keep the fixed words aligned with the first skill icon at every width. */
.statement{width:656px;max-width:100%;justify-content:flex-start;margin-left:auto;margin-right:auto}
.statement strong{flex:0 0 auto}
.rotating-skill-wrap{min-width:0}
.carousel-stage video{max-width:100%;max-height:calc(82vh - 55px);object-fit:contain}
.carousel-stage [hidden]{display:none}
@media(max-width:900px){
 .statement{text-align:left;margin-left:auto;margin-right:auto}
 .skill-icons{justify-content:space-between;flex-wrap:nowrap;gap:clamp(5px,2vw,18px)}
 .skill-icons img,.skill-icons img:first-child{width:calc((100% - 10vw)/6);max-width:64px;height:64px}
 .rotating-skill-wrap{display:block}
 .statement em{overflow-wrap:anywhere}
}
