@font-face {
 font-family:"Euclid Circular A";
 src:local("EuclidCircularA-Light"),url("assets/fonts/EuclidCircularA-Light.ttf") format("truetype");
 font-weight:300;
 font-style:normal;
 font-display:swap;
}

/* Homepage egg carton and project preview, from alicia_portfolio_latest. */
.hero-grid:has(.asset-carton){grid-template-columns:minmax(248px,.5fr) minmax(0,1.5fr);}
@media(max-width:1120px) and (min-width:821px){.hero-grid:has(.asset-carton){grid-template-columns:minmax(200px,.6fr) minmax(0,1.4fr);}}
.asset-carton {min-width:0;position:relative!important;width:86%!important;max-width:760px;aspect-ratio:1448 / 1086;height:auto!important;margin:auto;isolation:isolate;overflow:hidden;box-sizing:border-box;}
.asset-carton .carton-pixels {position:absolute!important;inset:0!important;width:100%!important;height:100%!important;max-width:none!important;object-fit:contain;pointer-events:none;user-select:none;}
.asset-carton .asset-egg {position:absolute!important;display:block;margin:0;padding:0;border:0;background:none;aspect-ratio:375 / 430;height:auto!important;}
.asset-carton .asset-egg img {display:block;width:100%!important;height:auto!important;max-width:none!important;filter:none!important;transform:none!important;}
.asset-carton .row-back {width:19.1%;top:30.2%;z-index:2;}
.asset-carton .row-front {width:20.6%;top:49.8%;z-index:4;}
.asset-carton .col-left {left:29.6%;}.asset-carton .col-right {left:50%;}
.asset-carton .row-front.col-left {left:28.4%;}.asset-carton .row-front.col-right {left:50.1%;}
.asset-carton .carton-middle {z-index:3;clip-path:polygon(0 55.2%,23.2% 55.2%,26% 46%,27.2% 44.7%,29.4% 45%,31% 47.2%,33.2% 55.2%,44.7% 55.2%,47.2% 46.2%,48.6% 44.7%,50.6% 44.7%,52% 46.4%,54.6% 55.2%,65% 55.2%,68.3% 46%,69.5% 44.7%,72% 45%,73.5% 47%,75% 55.2%,100% 55.2%,100% 100%,0 100%);}
.asset-carton .carton-front {z-index:5;clip-path:polygon(0 75%,22.5% 75%,24.8% 70%,26% 68.5%,28.7% 68.3%,30.3% 70%,32% 75%,45.4% 75%,47.4% 70%,48.5% 68.4%,51.2% 68.4%,52.5% 70%,54% 75%,67.8% 75%,69.5% 70%,70.7% 68.3%,73.3% 68.4%,74.8% 70%,77% 75%,100% 75%,100% 100%,0 100%);}
.asset-carton{align-self:center;max-height:none;}
.asset-carton .asset-egg{cursor:pointer;touch-action:manipulation;}
.asset-carton .asset-egg:focus-visible{outline:2px solid #777871;outline-offset:5px;border-radius:45%;}
.asset-carton .asset-egg.is-lifted{visibility:hidden;}
.egg-dialog{position:fixed;inset:0;width:100vw;height:100dvh;max-width:none;max-height:none;margin:0;padding:0;border:0;background:transparent;color:var(--ink);overflow:hidden;}
.egg-dialog[open]{display:grid;place-items:center;}
.egg-dialog::backdrop{background:rgba(239,238,233,.78);backdrop-filter:blur(7px);}
.egg-dialog .zoom-egg{position:relative;width:min(260px,56vw,40dvh);aspect-ratio:375/430;}
.egg-dialog .crack-button{position:absolute;inset:0;padding:0;border:0;background:none;cursor:pointer;touch-action:manipulation;}
.egg-dialog .egg-half{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;pointer-events:none;}
.egg-dialog .egg-top{clip-path:polygon(0 0,100% 0,100% 50%,90% 47%,81% 53%,71% 46%,61% 52%,51% 47%,41% 54%,31% 48%,21% 52%,10% 46%,0 50%);}
.egg-dialog .egg-bottom{clip-path:polygon(0 50%,10% 46%,21% 52%,31% 48%,41% 54%,51% 47%,61% 52%,71% 46%,81% 53%,90% 47%,100% 50%,100% 100%,0 100%);}
.egg-dialog .project-reveal{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);text-align:center;white-space:nowrap;font-family:var(--font-heading);font-weight:700;font-size:clamp(27px,4.2vw,52px);opacity:0;visibility:hidden;z-index:2;}
.egg-dialog .project-reveal small{display:block;margin-top:12px;font-family:var(--font-body);font-size:11px;letter-spacing:.15em;text-transform:uppercase;font-weight:400;}
.egg-dialog .project-reveal.visible{visibility:visible;}
.egg-dialog .close-preview{position:absolute;right:25px;top:22px;display:grid;place-items:center;padding:0;border:1px solid var(--line);border-radius:50%;width:40px;height:40px;background:var(--bg);color:#f8f4ed;line-height:1;cursor:pointer;}
.egg-dialog .close-preview svg{display:block;width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:2.2;stroke-linecap:round;pointer-events:none;}
.egg-dialog .preview-hint{position:absolute;bottom:8%;left:0;width:100%;text-align:center;font-size:11px;letter-spacing:.12em;color:var(--muted);}
@media(max-width:820px){.asset-carton{width:88%!important;max-width:650px;margin:12px auto 34px;}}
@media(prefers-reduced-motion:reduce){.egg-dialog::backdrop{backdrop-filter:none;}}

/* The light headline sits behind the interactive carton, on a shared poster canvas. */
.home-page .wire-hero{--hero-edge:0px;height:100vh;height:100svh;min-height:580px;display:grid;grid-template-rows:var(--hero-edge) minmax(0,1fr) var(--hero-edge);padding:0 26px;overflow:hidden;}
.home-page .hero-mast{display:block;height:auto;min-height:0;border-bottom:0;}
.home-page .hero-grid:has(.asset-carton){position:relative;isolation:isolate;display:grid;grid-template-columns:minmax(248px,.4fr) minmax(0,1.6fr);gap:26px;min-height:0;align-items:stretch;border-top:0;border-bottom:0;}
.home-page .hero-intro{position:static;z-index:0;display:block;min-width:0;min-height:0;padding:0;pointer-events:none;}
.home-page .hero-intro h2{position:absolute;inset:0;width:100%;margin:0;padding:0;overflow:hidden;}
.home-page .hero-poster{position:absolute;left:0;top:0;display:block;width:auto;height:100%;max-width:100%;overflow:visible;}
.home-page .index-head{grid-template-columns:1fr 1fr;}
@media(max-width:820px){.home-page .index-head{grid-template-columns:1fr;}}
.home-page .hero-carton{position:relative;z-index:1;display:flex;flex-direction:column;justify-content:center;align-items:center;min-width:0;min-height:0;padding:0;pointer-events:none;user-select:none;-webkit-user-select:none;}
.home-page .hero-carton .asset-egg{pointer-events:auto;}
.home-page .carton-layout{position:relative;left:clamp(4px,.75vw,12px);width:100%;max-width:940px;flex-shrink:0;}
.home-page .asset-carton{width:100%!important;max-width:940px;margin:0 auto;flex-shrink:0;}
.home-page .hero-note{position:absolute;z-index:6;top:calc(8% - 10px);left:50%;right:auto;width:max-content;max-width:calc(100% - 24px);margin:0;padding:0 10px;transform:translate(-50%,-100%);background:var(--bg);text-align:center;font-size:12px;line-height:1.5;color:var(--muted);pointer-events:none;}
.home-page .hero-bottomline{display:block;height:auto;min-height:0;}
@media(max-width:1120px) and (min-width:821px){
 .home-page .hero-grid:has(.asset-carton){grid-template-columns:minmax(200px,.6fr) minmax(0,1.4fr);}
}
@media(max-width:820px){
 .home-page .main{min-height:calc(100vh - 56px);min-height:calc(100svh - 56px);}
 .home-page .wire-hero{--hero-edge:0px;height:calc(100vh - 56px);height:calc(100svh - 56px);min-height:560px;padding:0 14px;}
 .home-page .hero-grid:has(.asset-carton){grid-template-columns:minmax(0,.75fr) minmax(0,1.25fr);gap:20px;}
 .home-page .asset-carton{width:100%!important;max-width:760px;}
 .home-page .hero-note{font-size:11px;}
}
@media(max-width:560px){
 .home-page .wire-hero{--hero-edge:0px;}
 .home-page .hero-grid:has(.asset-carton){grid-template-columns:minmax(0,1fr);grid-template-rows:minmax(0,1fr) auto;gap:20px;}
 .home-page .hero-intro{position:relative;min-height:230px;}
 .home-page .hero-intro h2{width:100%;}
 .home-page .hero-carton{padding:0;}
 .home-page .asset-carton{max-width:560px;}
}

/* Project icons replace the pointer only while hovering the selected-project rows. */
.project-cursor{position:fixed;top:0;left:0;z-index:1000;width:48px;height:48px;pointer-events:none;filter:drop-shadow(0 3px 6px #11121030);will-change:transform;}
.project-cursor[hidden]{display:none;}
.project-cursor-icon{display:none;width:100%;height:100%;border-radius:12px;overflow:hidden;}
.project-cursor-icon.is-active{display:block;}
.project-cursor-icon img,.project-cursor-icon svg{display:block;width:100%;height:100%;object-fit:cover;}
@media(hover:hover) and (pointer:fine){
 .home-page .index-row.has-project-cursor,.home-page .index-row.has-project-cursor *{cursor:none;}
}
@media(hover:none),(pointer:coarse){.project-cursor{display:none;}}

.home-page .hero-note .crack-invitation { color:#fdd957; }

/* The transparent text stays selectable over the supplied artwork. */
.home-page .hero-poster .poster-selectable{font:300 328px "Euclid Circular A",sans-serif;fill:transparent;cursor:text;user-select:text;-webkit-user-select:text;pointer-events:all;}
.home-page .hero-poster .poster-selectable ::selection{background:transparent;fill:transparent;}
@media(hover:hover) and (pointer:fine){
 .home-page .hero-poster .poster-egg-select:hover{cursor:url("assets/egg-pointer.png") 12 14,text;}
}
.home-page .hero-poster .poster-egg-motion{transform-origin:318px 1284px;pointer-events:none;transition:transform 800ms cubic-bezier(.3,.7,.3,1);}
.home-page .hero-poster .poster-egg-hover.is-tilted .poster-egg-motion{transform:translateY(-3px) skewX(-7deg);}
@media(prefers-reduced-motion:reduce){.home-page .hero-poster .poster-egg-motion{transition:none;transform:none!important;}}

/* Action feedback is decorative; the native egg buttons remain the click targets. */
.egg-crack-cursor{position:fixed;left:0;top:0;z-index:1000;width:56px;height:56px;pointer-events:none;user-select:none;opacity:0;transition:opacity 140ms ease;}
.egg-crack-cursor.is-visible{opacity:1;}
.egg-crack-cursor__disc{display:grid;place-items:center;width:100%;height:100%;clip-path:polygon(50.00% 0.00%,58.19% 8.81%,69.13% 3.81%,73.33% 15.08%,85.36% 14.64%,84.92% 26.67%,96.19% 30.87%,91.19% 41.81%,100.00% 50.00%,91.19% 58.19%,96.19% 69.13%,84.92% 73.33%,85.36% 85.36%,73.33% 84.92%,69.13% 96.19%,58.19% 91.19%,50.00% 100.00%,41.81% 91.19%,30.87% 96.19%,26.67% 84.92%,14.64% 85.36%,15.08% 73.33%,3.81% 69.13%,8.81% 58.19%,0.00% 50.00%,8.81% 41.81%,3.81% 30.87%,15.08% 26.67%,14.64% 14.64%,26.67% 15.08%,30.87% 3.81%,41.81% 8.81%);background:#fdd957;color:#423c30;font-family:var(--font-heading);font-size:14px;font-weight:700;line-height:1;letter-spacing:0;transform:scale(.76);transition:transform 200ms var(--ease);}
.egg-crack-cursor.is-visible .egg-crack-cursor__disc{transform:scale(1);}
.egg-crack-cursor.is-pressed .egg-crack-cursor__disc{transform:scale(.9);}
@media(hover:hover) and (pointer:fine){
 .home-page .egg-cursor-active,.home-page .egg-cursor-active *{cursor:none;}
}
@media(hover:none),(pointer:coarse){.egg-crack-cursor{display:none;}}
@media(prefers-reduced-motion:reduce){.egg-crack-cursor,.egg-crack-cursor__disc{transition:none;}}
@media print{.egg-crack-cursor{display:none;}}
