/* Portfolio hero follows the supplied Figma frame and screenshot. */
.portfolio-hero{position:relative;isolation:isolate;width:100%;height:100svh;min-height:520px;overflow:hidden;background:#6eafcb;color:#141414}
.portfolio-landscape{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center;z-index:-1}
.portfolio-header{position:absolute;top:3.8%;left:50%;transform:translateX(-50%);width:37.2vw;z-index:4;font-family:'Inter',Arial,sans-serif}
.portfolio-nav{box-sizing:border-box;display:flex;align-items:center;gap:1.35vw;width:100%;height:5.05vw;padding:0 1.65vw;background:#ededed;border-radius:1.4vw}
.portfolio-brand{display:flex;flex:none;margin-right:2.4vw;align-items:center}
.portfolio-brand img{display:block;width:8.3vw;height:auto}
.portfolio-links{display:flex;align-items:center;gap:1.35vw;white-space:nowrap}
.portfolio-nav a,.portfolio-menu a{color:inherit;text-decoration:none}
.portfolio-links a{font-size:1.3vw;line-height:1.2;letter-spacing:-.02em;transition:opacity .2s}
.portfolio-links a:hover{opacity:.55}
.portfolio-menu-toggle{display:grid;place-items:center;flex:none;margin-left:auto;padding:0;width:1.8vw;height:2.8vw;background:transparent;border:0;border-radius:5px;color:#141414;cursor:pointer}
.portfolio-menu-toggle:hover{background:#dedede}
.portfolio-menu{position:absolute;right:0;top:calc(100% + 10px);min-width:190px;padding:12px;background:#ededed;border-radius:16px;box-shadow:0 12px 35px #0002}
.portfolio-menu[hidden]{display:none}
.portfolio-menu a{display:flex;justify-content:space-between;padding:12px;border-radius:8px;font-size:16px}
.portfolio-menu a:hover{background:#dcdcdc}
.portfolio-intro{position:absolute;top:32.9%;left:50%;transform:translateX(-50%);width:94%;text-align:center}
.portfolio-intro p{font-family:'Caveat',cursive;font-size:2.65vw;font-weight:400;line-height:1.1;margin:0 0 1.2vw}
.portfolio-intro h1{font-family:'Inter Display','Inter',sans-serif;font-weight:900;font-size:11vw;letter-spacing:-.045em;line-height:.78;margin:0;color:#e3ff0d}
.portfolio-intro h1 span{display:block}
.portfolio-nav :focus-visible,.portfolio-menu :focus-visible{outline:2px solid #141414;outline-offset:5px}
.portfolio-hero ::selection{background:#e3ff0d;color:#141414}
html{scroll-behavior:smooth}
#main #hero,#main nav,#main a[href*="contra.com/payment-link"],#__framer-badge-container{display:none!important}
@media(min-width:2200px){.portfolio-header{width:952px}.portfolio-nav{height:129px;padding:0 42px;gap:35px;border-radius:36px}.portfolio-brand{margin-right:61px}.portfolio-brand img{width:212px}.portfolio-links{gap:35px}.portfolio-links a{font-size:33px}.portfolio-menu-toggle{width:46px;height:72px}}
@media(max-width:800px){.portfolio-header{width:calc(100% - 32px);max-width:510px;top:24px}.portfolio-nav{height:64px;padding:0 22px;border-radius:18px;gap:18px}.portfolio-brand{margin-right:auto}.portfolio-brand img{width:107px}.portfolio-links{gap:16px}.portfolio-links a{font-size:14px}.portfolio-menu-toggle{width:22px;height:36px;margin-left:4px}.portfolio-intro{top:36%}.portfolio-intro p{font-size:36px;margin-bottom:18px}.portfolio-intro h1{font-size:16.3vw;line-height:.84;letter-spacing:-.05em}.portfolio-landscape{object-position:45% center}}
@media(max-width:460px){.portfolio-links{display:none}.portfolio-intro{top:37%}.portfolio-hero{min-height:600px}.portfolio-menu-toggle{margin-left:auto}.portfolio-intro p{font-size:34px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}

/* Preserve the source's native 3D card and lettering opener. */
.portfolio-opening,.portfolio-opening body{overflow:hidden!important}
.portfolio-opening #main #hero{display:block!important;position:fixed!important;inset:0!important;width:100vw!important;height:100svh!important;z-index:10000!important;background:#191918;opacity:1;transition:opacity .65s cubic-bezier(.44,0,.56,1);pointer-events:all}
.portfolio-opening #main #hero .framer-32g955,.portfolio-opening #main #hero .framer-1c20tu9{visibility:hidden!important}
.portfolio-opening #main #hero [data-framer-name="LOGO"] p{font-size:220px!important;line-height:1.35em!important}
.portfolio-opening-ending #main #hero{opacity:0!important;pointer-events:none}
@media(prefers-reduced-motion:reduce){.portfolio-opening #main #hero{transition-duration:.15s}}

/* New personal props keep the native Framer transform tracks. */
.portfolio-opening #hero .framer-5fygti img,.portfolio-opening #hero .framer-gmj3cz img{object-fit:contain!important}
.portfolio-opening #hero .framer-5fygti img{transform:scale(1)}
.portfolio-opening #hero .framer-gmj3cz img{transform:scale(1.15)}

/* Screenshot-led hero: live lettering and independently floating cutouts. */
@font-face{font-family:'Spicy Rice';src:url('/assets/SpicyRice-Regular.ttf') format('truetype');font-display:swap}
.portfolio-hero{perspective:1200px;background:#191918;min-height:0}
.portfolio-landscape{z-index:0;animation:hero-landscape-in 1.6s 2.5s cubic-bezier(.85,.01,.07,1.01) both;transform-origin:center}
.portfolio-intro{top:31.6%;z-index:2;width:92%;perspective:1200px}
.portfolio-intro p{font-family:'Inter',Arial,sans-serif;font-size:1.8vw;letter-spacing:-.055em;line-height:1.2;margin:0 0 1.35vw;animation:hero-caption-in .7s 3.2s cubic-bezier(.16,1,.3,1) both}
.portfolio-intro h1{font-family:'Spicy Rice',serif;font-weight:400;font-size:8.75vw;line-height:.97;letter-spacing:-.035em;color:#e3ff0d;animation:hero-title-in .7s 3.4s cubic-bezier(.16,1,.3,1) both;transform-origin:50% 50%}
.portfolio-intro h1 .hero-first-line{display:flex;align-items:center;justify-content:center;gap:.65vw;white-space:nowrap}
.portfolio-intro h1 .hero-first-line>span{display:inline}
.portfolio-intro h1 .hero-second-line{display:block;margin-top:.3vw}
.hero-sprite{display:block;background-image:url('/assets/hero-props-sheet.png');background-repeat:no-repeat;background-size:200% 200%;width:100%;height:100%}
.hero-enter{flex:none;width:9.9vw;height:9.9vw;background-position:100% 0;animation:hero-enter-float 6.4s 4.2s ease-in-out infinite}
.hero-prop{position:absolute;z-index:3;width:14vw;height:14vw;animation:hero-prop-in 1s var(--arrival) cubic-bezier(.16,1,.3,1) both}
.hero-prop i{animation:hero-object-float var(--float-duration) var(--float-delay) ease-in-out infinite}
.hero-clips{top:9.2%;left:65.5%;--arrival:3s;--float-duration:7.4s;--float-delay:-1s;--tilt:8deg}
.hero-clips i{background-position:0 0}
.hero-blue-key{top:65.5%;left:11.5%;width:15vw;height:15vw;--arrival:3.15s;--float-duration:6.5s;--float-delay:-2s;--tilt:-10deg}
.hero-blue-key i{background-position:0 100%}
.hero-pink-pin{top:57.8%;left:76.8%;width:15vw;height:15vw;--arrival:3.3s;--float-duration:8s;--float-delay:-3s;--tilt:9deg}
.hero-pink-pin i{background-position:100% 100%}
.hero-motion-paused .hero-prop i,.hero-motion-paused .hero-enter{animation-play-state:paused}
@keyframes hero-landscape-in{from{transform:translateY(100svh) rotate(-6deg) scale(.4) rotateY(33deg) skewY(-17deg)}to{transform:translateY(0) rotate(0) scale(1) rotateY(0) skewY(0)}}
@keyframes hero-title-in{from{opacity:.001;transform:translateY(47px) scale(0) rotate(14deg) rotateX(53deg)}to{opacity:1;transform:none}}
@keyframes hero-caption-in{from{opacity:.001;transform:translateY(24px)}to{opacity:1;transform:none}}
@keyframes hero-prop-in{from{opacity:0;transform:translateY(150px) rotate(-20deg) scale(.45)}to{opacity:1;transform:none}}
@keyframes hero-object-float{0%,100%{transform:translateY(0) rotate(calc(var(--tilt) * -.5))}50%{transform:translateY(-18px) rotate(var(--tilt))}}
@keyframes hero-enter-float{0%,100%{transform:translateY(0) rotate(-3deg)}50%{transform:translateY(-7px) rotate(3deg)}}
@media(max-width:800px){.portfolio-intro{top:34%;width:98%}.portfolio-intro p{font-size:3.6vw;margin-bottom:3vw}.portfolio-intro h1{font-size:9.2vw;line-height:1.1}.hero-enter{width:10vw;height:10vw}.hero-prop{width:24vw;height:24vw}.hero-clips{top:12%;left:68%}.hero-blue-key{top:65%;left:6%;width:28vw;height:28vw}.hero-pink-pin{top:63%;left:69%;width:27vw;height:27vw}}
@media(prefers-reduced-motion:reduce){.portfolio-landscape,.portfolio-intro p,.portfolio-intro h1,.hero-prop,.hero-prop i,.hero-enter{animation:none!important;transform:none!important;opacity:1!important}}

/* Additional user-provided folder and cursor cutouts. */
.hero-extra-sprite{display:block;width:100%;height:100%;background-image:url('/assets/hero-extra-props.png');background-size:200% 100%;background-repeat:no-repeat}
.hero-folder{top:9%;left:11%;width:12vw;height:12vw;--arrival:3.1s;--float-duration:8.8s;--float-delay:-1.5s;--tilt:7deg}
.hero-folder i{background-position:0 0}
.hero-cursor{top:75%;left:45%;width:10vw;height:10vw;--arrival:3.45s;--float-duration:7.1s;--float-delay:-3.5s;--tilt:-8deg}
.hero-cursor i{background-position:100% 0}
@media(max-width:800px){.hero-folder{top:14%;left:8%;width:24vw;height:24vw}.hero-cursor{top:77%;left:40%;width:23vw;height:23vw}}

/* Give the hero lettering more breathing room. Independent scale preserves float transforms. */
.hero-prop,.hero-enter{scale:.75;transform-origin:center}

/* Browser marker revisions: smaller blue key/clips, prominent Enter, nearby cursor. */
.hero-blue-key,.hero-clips{scale:.55}
.hero-enter-wrap{position:relative;display:block!important;flex:none;width:9.9vw;height:9.9vw}
.hero-enter-wrap .hero-enter{width:100%;height:100%;scale:1}
.hero-enter-wrap .hero-cursor{top:-45%;left:78%;width:6vw;height:6vw;scale:.75;pointer-events:none}
@media(max-width:800px){.hero-enter-wrap{width:10vw;height:10vw}.hero-enter-wrap .hero-cursor{top:-110%;left:115%;width:10vw;height:10vw}}

/* Cursor tip rests on Enter and moves together with its key. */
.hero-enter-wrap{animation:hero-enter-float 6.4s 4.2s ease-in-out infinite}
.hero-enter-wrap .hero-enter{animation:none}
.hero-enter-wrap .hero-cursor{top:16%;left:48%;width:42%;height:42%;scale:1;animation:none;z-index:5}
.hero-enter-wrap .hero-cursor i{animation:hero-cursor-tap 3.6s ease-in-out infinite;transform-origin:35% 25%}
@keyframes hero-cursor-tap{0%,75%,100%{transform:scale(1)}82%{transform:scale(.92)}90%{transform:scale(1)}}
.hero-motion-paused .hero-enter-wrap{animation-play-state:paused}
@media(max-width:800px){.hero-enter-wrap .hero-cursor{top:16%;left:48%;width:42%;height:42%}}
@media(prefers-reduced-motion:reduce){.hero-enter-wrap{animation:none!important}}

.hero-blue-key i{background-image:url('/assets/hero-v-key-sheet.png')}

/* The homepage ends at Works; retain the legacy root only for its opener. */
html:not(.portfolio-opening) #main{display:none!important}
.portfolio-opening #main{position:fixed!important;inset:0!important;height:100svh!important;overflow:hidden!important;z-index:10000;pointer-events:none}

@font-face{font-family:FooterFredoka;src:url('/assets/Fredoka-Bold.ttf') format('truetype');font-weight:700;font-display:swap}
.portfolio-footer{position:relative;isolation:isolate;overflow:hidden;box-sizing:border-box;background:#9df004;color:#263000;border-radius:56px 56px 0 0;padding:64px 3.75vw 30px;font-family:Inter,Arial,sans-serif}
.portfolio-footer-top{display:flex;justify-content:space-between;gap:40px;min-height:190px}
.portfolio-footer-top>p{margin:0;font:400 clamp(26px,3.15vw,48px)/1.4 Georgia,serif;letter-spacing:-.025em}
.portfolio-footer-top nav{display:flex;gap:clamp(40px,8vw,145px);padding-top:5px}
.portfolio-footer-top nav>div{display:flex;flex-direction:column;gap:16px}
.portfolio-footer a{color:inherit;text-decoration:none;font-size:20px;line-height:1.4}
.portfolio-footer a:hover{text-decoration:underline;text-underline-offset:5px}
.portfolio-footer a:focus-visible{outline:2px solid currentColor;outline-offset:6px;border-radius:2px}
.portfolio-footer-word{display:block;width:100%;height:auto;overflow:visible;margin:0 auto 12px}
.portfolio-footer-word text{font-family:'Spicy Rice',serif;font-size:310px;font-weight:400;fill:#76cd06;letter-spacing:-.015em}
.portfolio-footer-bottom{display:flex;justify-content:space-between;gap:20px;font-size:16px;line-height:1.5;color:#527600}
@media(max-width:700px){.portfolio-footer{border-radius:32px 32px 0 0;padding:34px 24px 24px}.portfolio-footer-top{min-height:180px;gap:28px;flex-wrap:wrap}.portfolio-footer-top>p{font-size:28px}.portfolio-footer-top nav{gap:40px;padding:0 0 24px}.portfolio-footer a{font-size:16px}.portfolio-footer-top nav>div{gap:10px}.portfolio-footer-bottom{font-size:11px;gap:10px}.portfolio-footer-word{width:calc(100% + 20px);margin-left:-10px}}

/* Latest owner-provided footer frame; local draft awaiting approval. */
.portfolio-footer{background:#83c803;color:white;border-radius:0;padding:5.5vw 2.5vw 4vw}
.portfolio-footer-top{min-height:18vw;padding:0 1vw}
.portfolio-footer-top>p{font-family:'Spicy Rice',serif;font-size:clamp(26px,2.35vw,48px);line-height:1.2;letter-spacing:0}
.portfolio-footer-top nav{gap:5.5vw;padding-top:0;padding-right:1vw}
.portfolio-footer-top nav>div{gap:20px}
.portfolio-footer-word{margin:0;width:100%}
.portfolio-footer-word text{fill:#5c9e06}
@media(max-width:700px){.portfolio-footer{padding:34px 16px 24px}.portfolio-footer-top{min-height:180px;padding:0 8px;gap:28px}.portfolio-footer-top>p{font-size:28px}.portfolio-footer-top nav{gap:40px;padding-bottom:20px}.portfolio-footer-top nav>div{gap:12px}.portfolio-footer-word{width:100%;margin:0}}

/* Footer links: simple underline on hover, pending owner approval. */
.portfolio-footer nav a{text-decoration:none;text-underline-offset:5px;text-decoration-thickness:1px}
.portfolio-footer nav a:hover{text-decoration:underline}

/* Suppress the template's unrelated 3D console during hydration/loading. */
#main .framer-11cjpx-container,#main [id="zxNSU46LH"],#main canvas{display:none!important;visibility:hidden!important;pointer-events:none!important}

/* No legacy template screen is shown at any point, including hydration. */
#main{display:none!important}
.portfolio-landscape{animation-delay:0s}
.portfolio-intro p{animation-delay:.7s}
.portfolio-intro h1{animation-delay:.9s}
.hero-clips{--arrival:.5s}.hero-blue-key{--arrival:.65s}.hero-pink-pin{--arrival:.8s}.hero-folder{--arrival:.7s}.hero-cursor{--arrival:.95s}
.hero-enter-wrap{animation-delay:1.7s}

/* Owner-requested black and white footer exploration; local preview only. */
.portfolio-footer{background:#151611;color:#fff}
.portfolio-footer-word{color:#fff}
.portfolio-footer-word text{fill:currentColor}
/* Local experiment: independent hero letter morphs, with native text preserving layout. */
.portfolio-intro h1 .hero-morph-word{position:relative;display:inline-block;vertical-align:top}
.portfolio-intro h1 .hero-morph-word>.hero-word-text{display:inline;white-space:pre}
.hero-word-svg{position:absolute;inset:0;display:block;width:100%;height:100%;overflow:visible;color:inherit;pointer-events:none}
.hero-word-ready>.hero-word-text{opacity:0}

/* Owner refinement: smaller cursor centered on Enter. */
.hero-enter-wrap .hero-cursor{top:35%;left:41%;width:30%;height:30%;scale:1}

.footer-copy-email{appearance:none;border:0;background:none;padding:0;color:inherit;font:400 20px/1.4 Inter,Arial,sans-serif;text-align:left;cursor:pointer;text-underline-offset:5px;text-decoration-thickness:1px}
.footer-copy-email:hover{text-decoration:underline}.footer-copy-email:focus-visible{outline:2px solid currentColor;outline-offset:6px}
.email-copy-status{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
@media(max-width:700px){.footer-copy-email{font-size:16px}}


.portfolio-intro .hero-caption-letters{width:max-content;max-width:100%;margin-inline:auto}
.caption-balloon-word{display:inline-block;white-space:nowrap}
.caption-balloon-letter{position:relative;display:inline-block;line-height:inherit;padding-inline:0;transition:padding 180ms cubic-bezier(.2,.715,.205,.99)}
.caption-plain-glyph{transition:opacity 120ms ease-out}
.caption-balloon-glyph{position:absolute;top:50%;left:50%;height:1.35em;max-width:none;overflow:hidden;pointer-events:none;opacity:0;transform:translate(-50%,-50%) scale(.9);transition:opacity 140ms ease-out,transform 200ms cubic-bezier(.2,.715,.205,.99)}
@media(hover:hover) and (pointer:fine){.caption-balloon-word:hover .caption-balloon-letter{padding-inline:var(--glyph-room,0px)}.caption-balloon-word:hover .caption-plain-glyph{opacity:0}.caption-balloon-word:hover .caption-balloon-glyph{opacity:1;transform:translate(-50%,-50%) scale(1)}}
@media(prefers-reduced-motion:reduce){.caption-balloon-letter,.caption-plain-glyph,.caption-balloon-glyph{transition:none}}
