:root{--description-font-size:13.6px;font-family:Arial,Helvetica,sans-serif;color:#252e2b;background:#faf9f6;font-synthesis:none;--muted:#737b76;--accent:#356e61}
*{box-sizing:border-box}body{margin:0}button,a{-webkit-tap-highlight-color:transparent}button{font:inherit}button:focus-visible,a:focus-visible,.building-scroll:focus-visible{outline:2px solid var(--accent);outline-offset:6px}button{cursor:pointer}.site-header{max-width:1480px;margin:auto;padding:30px 50px;display:flex;align-items:center;justify-content:space-between}.wordmark{display:flex;align-items:center;gap:16px;text-decoration:none;color:inherit;font-size:13px;line-height:1.5}.monogram{font-size:36px;font-weight:700;letter-spacing:-3px}.monogram span{color:#a86747}.role{display:block;color:var(--muted);font-size:11px}.study-label{font-size:11px;color:var(--muted);letter-spacing:.06em}.intro{text-align:center;padding:39px 24px 16px}.eyebrow{font-size:10px;text-transform:uppercase;letter-spacing:.18em;color:var(--accent)}h1{font-family:Georgia,'Times New Roman',serif;font-weight:400;letter-spacing:-1.8px;font-size:clamp(32px,3.6vw,52px);margin:14px 0 14px}.intro p{font-size:13px;line-height:1.8;color:var(--muted);margin:0}.intro strong{color:#3d4a43;font-weight:500}.studio-section{max-width:1480px;margin:0 auto;padding:0 34px}.building-scroll{overflow-x:auto;overflow-y:hidden;scrollbar-width:thin;scrollbar-color:#c9d0c8 transparent}.building{position:relative;width:100%;min-width:1020px;aspect-ratio:1774/887;isolation:isolate}.building-art{display:block;width:100%;height:auto;user-select:none}.room-shade{position:absolute;top:53.45%;height:26.65%;background:#122125;opacity:.65;pointer-events:none;transition:opacity .65s ease;mix-blend-mode:multiply}.shade-about{left:4.8%;width:15.15%}.shade-work{left:22.35%;width:38.45%;opacity:.57}.shade-hobbies{left:62.9%;width:17.7%;opacity:.57}.shade-contact{left:82.65%;width:14.1%;opacity:.57}.building.is-active .shade-about{opacity:0}.monitor-light{position:absolute;left:12.3%;top:65.8%;width:3.7%;height:4.35%;background:linear-gradient(135deg,#42666c,#142f39);box-shadow:0 0 12px #8fc0b74d;opacity:0;transition:opacity .6s;pointer-events:none}.building.is-active .monitor-light{opacity:.7}.avatar{position:absolute;left:9.1%;top:64%;width:8.74%;aspect-ratio:1;background-image:url('assets/emilio-poses.png');background-size:200% 200%;background-repeat:no-repeat;image-rendering:pixelated;opacity:0;transition:opacity .5s;pointer-events:none;transform-origin:50% 85%}.building.is-active .avatar{opacity:1}.avatar[data-frame="0"]{background-position:0 0}.avatar[data-frame="1"]{background-position:100% 0}.avatar[data-frame="2"]{background-position:0 100%}.avatar[data-frame="3"]{background-position:100% 100%}.room-hit{position:absolute;left:4.8%;top:38%;width:15.2%;height:42%;padding:0;border:0;background:transparent;border-radius:2px}.room-hit:focus-visible{outline-offset:4px;outline:2px solid #c7a277}.interaction-bar{display:flex;align-items:center;justify-content:space-between;gap:16px;max-width:1150px;margin:0 auto;border-top:1px solid #dfE3dc;padding:20px 0 10px}.room-status{display:flex;align-items:center;gap:9px;font-size:12px;color:#67736a}.status-dot{width:6px;height:6px;border-radius:50%;background:#aab2aa;transition:background .4s,box-shadow .4s}body.room-on .status-dot{background:#ad7941;box-shadow:0 0 0 4px #ad794115}.actions{display:flex;gap:24px}.text-button{border:0;padding:5px 0;background:none;color:#365f52;font-size:12px}.text-button span{margin-left:8px}.reset{color:var(--muted)}[hidden]{display:none!important}.room-hint{max-width:1150px;margin:0 auto;padding:0 0 26px;font-size:11px;line-height:1.8;color:var(--muted)}.room-hint span{margin-left:8px;color:#939a94}footer{max-width:1380px;margin:8px auto 0;padding:22px 16px 28px;border-top:1px solid #e7e9e3;display:flex;justify-content:space-between;font-size:10px;color:#858e86;letter-spacing:.02em}
/* Align the generated poses to the same chair baseline; their cell padding varies. */
.sign-shade{position:absolute;top:37.7%;height:8.65%;background:#4d514b;mix-blend-mode:multiply;opacity:.72;transition:opacity .45s ease;pointer-events:none}
.sign-about{left:3.04%;width:17.43%}.sign-work{left:21.99%;width:39.06%}.sign-hobbies{left:62.85%;width:18.1%}.sign-contact{left:82.41%;width:14.54%}
.building.is-active .sign-about,.building.work-active .sign-work,.building.hobbies-active .sign-hobbies,.building.contact-active .sign-contact{opacity:0}
.building.contact-active .shade-contact{opacity:0}
.building.contact-active .lamp-contact{opacity:1}
.contact-hit{left:82.4%;width:14.6%;height:52%}
.contact-avatar{position:absolute;left:87.14425%;top:70.78164%;width:9.81331%;aspect-ratio:1;background:url('assets/emilio-wave-open-palm.png') 0 0/200% 200% no-repeat;image-rendering:pixelated;opacity:0;transition:opacity .5s;pointer-events:none}
.building.contact-active .contact-avatar,.building.contact-active .contact-shadow{opacity:1}
.contact-avatar[data-frame="0"]{background-position:0 0}
.contact-avatar[data-frame="1"]{background-position:100% 0}
.contact-avatar[data-frame="2"]{background-position:0 100%}
.contact-avatar[data-frame="3"]{background-position:100% 100%}
/* Anchor the shoes, rather than the changing arm silhouette, while waving. */
.contact-avatar[data-frame="0"]{transform:translate(-13.47687%,-10.69378%)}
.contact-avatar[data-frame="1"]{transform:translate(9.17065%,-10.69378%)}
.contact-avatar[data-frame="2"]{transform:translate(-13.39713%,1.9059%)}
.contact-avatar[data-frame="3"]{transform:translate(9.09091%,1.9059%)}
.contact-shadow{position:absolute;left:90.35%;top:86.9%;width:3.6%;height:1%;border-radius:50%;background:#242b2440;opacity:0;transition:opacity .5s;pointer-events:none}
.actions{flex-wrap:wrap;justify-content:flex-end;row-gap:12px}
.building.hobbies-active .shade-hobbies{opacity:0}
.building.hobbies-active .lamp-hobbies{opacity:1}
.hobbies-hit{left:62.9%;width:17.7%}
.hobbies-avatar{position:absolute;left:68.03929%;top:62.40463%;width:8.45354%;aspect-ratio:1;background:url('assets/emilio-gaming-poses.png') 0 0/200% 200% no-repeat;image-rendering:pixelated;opacity:0;transition:opacity .5s;pointer-events:none}
.building.hobbies-active .hobbies-avatar{opacity:1}
.hobbies-avatar[data-frame="0"]{background-position:0 0}
.hobbies-avatar[data-frame="1"]{background-position:100% 0}
.hobbies-avatar[data-frame="2"]{background-position:0 100%}
.hobbies-avatar[data-frame="3"]{background-position:100% 100%}
/* Preserve square pixels and align the seated poses on the couch. */
.hobbies-avatar[data-frame="0"]{transform:translate(-15.15152%,-10.21531%)}
.hobbies-avatar[data-frame="1"]{transform:translate(4.78469%,-10.21531%)}
.hobbies-avatar[data-frame="2"]{transform:translate(-15.39075%,2.22488%)}
.hobbies-avatar[data-frame="3"]{transform:translate(1.03668%,2.22488%)}
.hobbies-foreground{position:absolute;inset:0;width:100%;height:100%;clip-path:polygon(69% 73.4%,75.95% 73.4%,75.95% 79%,69% 79%);pointer-events:none;opacity:0;transition:opacity .5s}
.building.hobbies-active .hobbies-foreground{opacity:1}
.hobbies-screen-light{position:absolute;left:75.7%;top:69.6%;width:4%;height:7%;background:radial-gradient(ellipse,#a3d9c14d,transparent 72%);mix-blend-mode:screen;opacity:0;transition:opacity .5s;pointer-events:none}
.building.hobbies-active .hobbies-screen-light{opacity:1}
.building.work-active .shade-work{opacity:0}
.building.work-active .lamp-work{opacity:1}
.work-hit{left:22.35%;width:38.45%}
.work-avatar{position:absolute;left:46.20176%;top:62.38475%;width:10.18948%;aspect-ratio:1;background:url('assets/emilio-sketch-poses-v2.png') 0 0/200% 200% no-repeat;image-rendering:pixelated;opacity:0;transition:opacity .5s;pointer-events:none}
.building.work-active .work-avatar{opacity:1}
.work-avatar[data-frame="0"]{background-position:0 0}
.work-avatar[data-frame="1"]{background-position:100% 0}
.work-avatar[data-frame="2"]{background-position:0 100%}
.work-avatar[data-frame="3"]{background-position:100% 100%}
/* Square cells preserve square pixels. Scale is 5% above the About Me match;
   align every pose at the same feet baseline. */
.work-avatar[data-frame="0"]{transform:translate(-11.00478%,-6.22807%)}
.work-avatar[data-frame="1"]{transform:translate(11.563%,-6.22807%)}
.work-avatar[data-frame="2"]{transform:translate(-15.94896%,4.13876%)}
.work-avatar[data-frame="3"]{transform:translate(9.48963%,4.13876%)}
.idea-bulb{position:absolute;left:51.15%;top:60.74%;width:1.4%;height:auto;opacity:0;transform:translateY(3px);transition:opacity .35s,transform .35s;pointer-events:none;filter:drop-shadow(0 0 5px #edbc5266)}
.building.work-active.idea-on .idea-bulb{opacity:1;transform:translateY(0)}
.exterior-lamp{position:absolute;top:36.9%;height:9.1%;pointer-events:none;opacity:0;transition:opacity .45s ease;background:radial-gradient(ellipse at 50% 9%,#fff3bcf0 0%,#ffda803d 12%,transparent 35%);mix-blend-mode:screen}
.exterior-lamp::after{content:"";position:absolute;inset:27% 10% 0;background:linear-gradient(#ffe4a357,#ffe4a320 70%,transparent);clip-path:polygon(40% 0,60% 0,100% 100%,0 100%)}
.lamp-about{left:4.8%;width:15.15%}.lamp-work{left:22.35%;width:38.45%}.lamp-hobbies{left:62.9%;width:17.7%}.lamp-contact{left:82.65%;width:14.1%}
.building.is-active .lamp-about{opacity:1}
.avatar[data-frame="0"]{transform:translate(-8%,-8%)}
.avatar[data-frame="1"]{transform:translate(4.2%,-8%)}
.avatar[data-frame="2"]{transform:translate(-8.5%,-1.5%)}
.avatar[data-frame="3"]{transform:translate(3.1%,-1.5%)}
@media(min-width:1800px){.intro{padding-top:60px}}@media(max-width:700px){.site-header{padding:20px 22px}.study-label{font-size:9px}.wordmark{gap:10px}.intro{padding:27px 18px 22px}h1{letter-spacing:-1px}.studio-section{padding:0 14px}.interaction-bar{align-items:flex-start;padding-top:17px}.actions{gap:12px;flex-direction:column;align-items:flex-end}.room-status{font-size:11px;max-width:200px;line-height:1.5}.room-hint{font-size:10px}.room-hint span{display:block;margin:0}footer{margin:0 20px;padding:18px 0;gap:12px;line-height:1.6}footer span:last-child{display:none}.building-scroll{margin-left:-14px;margin-right:-14px;padding-left:14px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{transition:none!important;animation:none!important;scroll-behavior:auto!important}}

/* Persistent portfolio header. Keep the compact identity aligned with the mark. */
.site-header{position:sticky;top:0;z-index:30;max-width:none;width:100%;padding:22px max(34px,calc((100vw - 1380px)/2));gap:24px;background:#faf9f6f5;border-bottom:1px solid #e5e7df;backdrop-filter:blur(10px)}
.wordmark{align-items:center;flex-shrink:0}
.monogram{line-height:1}
.identity{display:flex;flex-direction:column;gap:1px;line-height:1.1;padding-top:5px}
.role{line-height:1.1}
.header-nav{display:flex;align-items:center;justify-content:flex-end;gap:28px;flex-wrap:wrap}
.nav-link,.nav-reset{border:0;background:transparent;color:#657268;font-size:12px;line-height:1.5;padding:8px 0}
.nav-link{position:relative;white-space:nowrap}
.nav-link::after{content:"";position:absolute;left:0;right:0;bottom:1px;height:1px;background:#356e61;transform:scaleX(0);transition:transform .2s ease}
.nav-link:hover,.nav-link[aria-pressed="true"]{color:#274f41}
.nav-link:hover::after,.nav-link[aria-pressed="true"]::after{transform:scaleX(1)}
.nav-reset{font-size:19px;line-height:1;padding:8px;color:#737b76}
.room-hint{padding-top:12px}
@media(max-width:700px){.site-header{padding:16px 22px;gap:12px;flex-wrap:wrap}.header-nav{width:100%;gap:18px;justify-content:flex-start}.nav-link{font-size:11px}.nav-reset{margin-left:auto}.identity{padding-top:5px}}

/* Room menus sit below the artwork, with an invisible pointer corridor. */
.menu-bridge{position:absolute;top:79%;bottom:-20px;pointer-events:auto}
.menu-bridge[data-room="about"]{left:4.8%;width:15.2%}
.menu-bridge[data-room="work"]{left:22.35%;width:38.45%}
.menu-bridge[data-room="hobbies"]{left:62.9%;width:17.7%}
.menu-bridge[data-room="contact"]{left:82.4%;width:14.6%;top:89%}
.room-menu-tray{position:relative;min-height:250px;margin:-22px auto 0;z-index:3}
.room-menu{position:absolute;top:0;width:min(var(--panel-width),100%);left:clamp(0px,calc(var(--anchor)*1% - var(--panel-width)/2),max(0px,calc(100% - var(--panel-width))));padding:20px 22px;background:#fffefb;border:1px solid #dadfd5;border-radius:10px;box-shadow:0 12px 30px #283a2710}
.room-menu::before{content:"";position:absolute;width:12px;height:12px;left:calc(50% - 6px);top:-7px;transform:rotate(45deg);background:#fffefb;border-left:1px solid #dadfd5;border-top:1px solid #dadfd5}
.menu-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;margin-bottom:12px}
.menu-eyebrow{display:block;color:#6d8273;text-transform:uppercase;font-size:9px;letter-spacing:.14em;line-height:1.5}
.menu-heading h2{font:400 24px/1.15 Georgia,'Times New Roman',serif;letter-spacing:-.5px;margin:5px 0 0}
.menu-close,.dialog-close{border:0;background:transparent;color:#7b847b;font-size:23px;line-height:1;padding:0 3px}
.room-menu p{font-size:var(--description-font-size);line-height:1.65;color:#788176;margin:0 0 17px}
.menu-action{display:flex;align-items:center;justify-content:space-between;gap:24px;width:100%;background:#365f50;color:#fffef9;border:1px solid #365f50;border-radius:5px;padding:11px 13px;font-size:12px;text-align:left;transition:background .2s}
.menu-action:hover{background:#274b3d}
/* Compact single-action callouts, adapted from Emilio's Figma reference. */
.room-menu-tray{container-type:inline-size}
.room-callout{
  --callout-left:clamp(0px,calc(var(--anchor)*1cqw - var(--panel-width)/2),max(0px,calc(100cqw - var(--panel-width))));
  --room-accent:#8b7416;
  left:var(--callout-left);display:grid;grid-template-columns:minmax(0,max-content) auto;
  width:max-content;max-width:100%;
  column-gap:46px;row-gap:5px;align-items:center;
  padding:28px 25px 23px;border:2px dashed #c8cbc4;border-radius:12px;
  box-shadow:7px 10px 13px #27302525;
}
.room-callout[hidden]{display:none}
.room-callout::before{
  width:36px;height:44px;top:-43px;
  left:clamp(22px,calc(var(--anchor)*1cqw - var(--callout-left) - 18px),calc(100% - 58px));
  transform:none;clip-path:none;
  border:0;background:transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 36 44'%3E%3Cpath d='M0 44L18 1L36 44Z' fill='%23fffefb'/%3E%3Cpath d='M1 43L18 2L35 43' fill='none' stroke='%23a7afa2' stroke-width='2' stroke-dasharray='2 4' stroke-linecap='round'/%3E%3C/svg%3E") center/100% 100% no-repeat;
  pointer-events:none;
}
.room-callout .menu-heading{display:block;grid-column:1;margin:0}
.room-callout .menu-heading h2{font-size:25px;margin-top:6px}
.room-callout .menu-close{
  position:absolute;right:25px;top:12px;width:12px;height:12px;padding:0;font-size:0;
  background:transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M1 1L11 11M11 1L1 11' fill='none' stroke='%237b847b' stroke-width='2.5'/%3E%3C/svg%3E") center/12px 12px no-repeat;
}
.room-callout p{grid-column:1;grid-row:2;max-width:296px;margin:0;font-size:var(--description-font-size);line-height:1.5}
.room-callout .menu-action{
  grid-column:2;grid-row:1 / span 2;width:auto;justify-content:center;
  align-self:center;margin-top:13px;white-space:nowrap;padding:12px 17px;
  background:var(--room-accent);border-color:var(--room-accent);font-size:13px;
}
.room-callout .menu-action:hover{filter:brightness(.88)}
.room-callout[data-room="hobbies"]{--room-accent:#a34b24}
.room-callout[data-room="contact"]{--room-accent:#345765}
@media(max-width:700px){
  .room-callout{left:0;column-gap:16px;padding:29px 20px 22px}
  .room-callout .menu-close{right:18px}
  .room-callout::before{left:calc(50% - 18px);top:-32px;height:33px}
  .room-callout .menu-heading h2{font-size:23px}
  .room-callout .menu-action{white-space:normal;max-width:140px;padding:12px}
}
@media(max-width:380px){
  .room-callout{grid-template-columns:1fr}
  .room-callout .menu-action{grid-column:1;grid-row:3;justify-self:start;max-width:none;margin-top:9px}
}
.project-grid{display:grid;gap:12px}
.project-card{display:grid;grid-template-columns:136px 1fr;gap:20px;border:1px solid #e0e5da;background:#f8f8f2;border-radius:6px;padding:10px;text-align:left;color:inherit;transition:border-color .2s,background .2s}
.project-card:hover{border-color:#789681;background:#f2f5ed}
.project-thumbnail{display:flex;align-items:center;justify-content:center;min-height:120px;border-radius:3px;overflow:hidden;background:#e9ece4}
.project-thumbnail img{display:block;width:100%;height:120px;object-fit:contain;mix-blend-mode:multiply}
.project-description{display:flex;flex-direction:column;align-items:flex-start;justify-content:center;padding:5px 9px 5px 0}
.project-category{color:#788574;font-size:9px;line-height:1.6;letter-spacing:.04em}
.project-description strong{font-size:16px;font-weight:500;line-height:1.25;letter-spacing:-.2px;margin:5px 0 7px}
.project-summary{color:#7c8579;font-size:var(--description-font-size);line-height:1.5}
.project-link{font-size:11px;color:#365f50;margin-top:12px;display:flex;gap:10px}
.detail-dialog{width:min(940px,calc(100vw - 40px));max-height:85svh;max-width:none;padding:0;border:1px solid #d9ded3;border-radius:12px;background:#fffefb;color:#293a2e;box-shadow:0 30px 100px #17241b38;overflow:auto}
.detail-dialog:not(.project-detail){width:min(590px,calc(100vw - 40px))}
.detail-dialog::backdrop{background:#26322c70;backdrop-filter:blur(3px)}
.detail-top{position:sticky;top:0;z-index:1;display:flex;align-items:center;justify-content:space-between;padding:18px 28px;background:#fffefbf5;border-bottom:1px solid #e7e9e0}
.detail-body{padding:28px 34px 34px}
.detail-body h2{font:400 clamp(27px,3vw,40px)/1.12 Georgia,'Times New Roman',serif;letter-spacing:-1px;margin:0 0 16px}
.detail-body p{font-size:14px;line-height:1.8;color:#6b786b}
.detail-body .detail-lead{font-size:17px;line-height:1.5;color:#596d5c;margin-bottom:28px}
.detail-body .preview-note{font-size:11px;color:#889083;padding-top:16px;border-top:1px solid #e4e8dc}
.control-hero{margin:24px 0;background:#e8ece4;border-radius:6px;padding:22px}
.control-hero img{display:block;width:100%;height:auto;max-height:290px;object-fit:contain}
.project-gallery{display:grid;grid-template-columns:1fr 1fr;gap:22px}
.project-gallery figure{margin:0}
.project-gallery img{display:block;width:100%;height:330px;object-fit:contain;background:#f3f4ee;border-radius:6px}
.project-gallery figcaption{padding:10px 0;color:#7b8677;font-size:11px}
.interest-list{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin:28px 0}
.interest-list>span{padding:18px;background:#f0f3eb;color:#5e755f;font-size:11px;border-radius:5px}
.interest-list small{display:block;font-size:15px;color:#304d37;margin-top:7px}
.building-scroll,.room-menu-tray{width:95%;margin-inline:auto}
.building{min-width:969px}
@media(min-width:900px){.building-scroll,.room-menu-tray{max-width:min(95%,max(807.5px,calc((100svh - 450px)*1.9)))}.building{min-width:0}}
@media(max-width:700px){.room-menu-tray{margin-top:-12px;min-height:270px}.room-menu{left:0;width:100%;padding:18px}.room-menu::before{left:calc(50% - 6px)}.project-card{grid-template-columns:100px 1fr;gap:14px}.project-thumbnail,.project-thumbnail img{min-height:122px;height:122px}.project-description strong{font-size:14px}.project-summary{font-size:var(--description-font-size)}.menu-heading h2{font-size:23px}.detail-body{padding:22px}.detail-top{padding:16px 22px}.project-gallery{grid-template-columns:1fr}.project-gallery img{height:300px}}

/* Intro typography: a larger title and a closely grouped supporting message. */
.intro{max-width:1100px;margin:0 auto;padding:39px 24px 16px}
.intro .eyebrow{display:block;font-size:clamp(10.2px,.9775vw,14.45px);line-height:1.5;letter-spacing:.18em}
.intro h1{font-size:clamp(30.6px,3.825vw,54.4px);line-height:1.08;letter-spacing:-1.53px;margin:10px 0 28px}
.intro p{font-size:var(--description-font-size);line-height:1.35;max-width:850px;margin:0 auto}
@media(max-width:700px){.intro{padding-top:30px}.intro .eyebrow{font-size:8.5px}.intro h1{margin-bottom:22px}.intro p{font-size:var(--description-font-size);line-height:1.45}}

/* Editable rooftop name; covers the original raster lettering and side dashes. */
.building{container-type:inline-size}
.studio-name{position:absolute;left:33.2%;top:15.7%;width:33.6%;height:6.5%;display:flex;align-items:center;justify-content:center;background:linear-gradient(#f9dfc8,#f9ddc4);box-shadow:0 0 5px 4px #f9dec6;color:#101717;font:700 3cqw/1 'Avenir Next',Avenir,Arial,sans-serif;letter-spacing:-.01em;pointer-events:none}
.building[data-sign-font="avenir"] .studio-name{font-family:'Avenir Next',Avenir,Arial,sans-serif;letter-spacing:-.01em}
.building[data-sign-font="trebuchet"] .studio-name{font-family:'Trebuchet MS',Arial,sans-serif;letter-spacing:-.04em}

/* Limit the revised raster artwork to the Hobbies interior. */
.hobbies-art-update{position:absolute;inset:0;width:100%;height:100%;clip-path:polygon(62.9% 53.45%,80.65% 53.45%,80.65% 80.1%,62.9% 80.1%);pointer-events:none}

@media(max-width:700px){:root{--description-font-size:10.2px}}

/* Give the shorter single-action descriptions their natural desktop width. */
@media(min-width:701px){
  .room-callout[data-room="about"] p,
  .room-callout[data-room="hobbies"] p,
  .room-callout[data-room="contact"] p{max-width:none}
}

/* Day/night control stays the same size in either mode. */
:root{color-scheme:light}
.header-actions{display:flex;align-items:center;gap:24px}
.theme-toggle{display:flex;align-items:center;gap:8px;flex-shrink:0;border:0;border-left:1px solid #dce1d8;padding:8px 0 8px 20px;background:transparent;color:#657268}
.theme-track{display:block;width:30px;height:18px;border:1px solid #b5c0b5;background:#e3e8df;border-radius:20px;padding:2px}
.theme-thumb{display:block;width:12px;height:12px;border-radius:50%;background:#fff;box-shadow:0 1px 3px #18231f30;transition:transform .35s cubic-bezier(.22,1,.36,1),background .35s}
.theme-toggle[aria-checked="true"] .theme-thumb{transform:translateX(12px);background:#eac387}
.theme-toggle[aria-checked="true"] .theme-track{background:#374849;border-color:#607674}
.theme-toggle:hover{color:var(--accent)}
:root[data-theme="dark"]{color-scheme:dark;background:#101516;color:#e5e9e2;--muted:#a6b2ab;--accent:#9fc4b4}
body{position:relative;isolation:isolate;min-height:100svh}
body::before{content:"";position:fixed;inset:0;z-index:-1;pointer-events:none;background:radial-gradient(ellipse at 50% 48%,#202d2e 0%,#101516 72%);opacity:0}
[data-theme="dark"] body::before{opacity:1}
.theme-blending body::before{transition:opacity 1.5s ease}
[data-theme="dark"] .site-header{background:#101718f5;border-color:#2b3937}
[data-theme="dark"] .nav-link,[data-theme="dark"] .theme-toggle{color:#b6c3bb}
[data-theme="dark"] .nav-link:hover,[data-theme="dark"] .nav-link[aria-pressed="true"]{color:#d7eadd}
[data-theme="dark"] .nav-link::after{background:#a1c7b6}
[data-theme="dark"] .theme-toggle{border-color:#354440}
[data-theme="dark"] .room-menu,[data-theme="dark"] .detail-dialog{background:#20292a;color:#e5e9e2;border-color:#718078;box-shadow:0 14px 35px #0005}
[data-theme="dark"] .room-menu::before{background:#20292a;border-color:#718078}
[data-theme="dark"] .room-callout::before{background:transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 36 44'%3E%3Cpath d='M0 44L18 1L36 44Z' fill='%2320292a'/%3E%3Cpath d='M1 43L18 2L35 43' fill='none' stroke='%23718078' stroke-width='2' stroke-dasharray='2 4' stroke-linecap='round'/%3E%3C/svg%3E") center/100% 100% no-repeat}
[data-theme="dark"] .menu-eyebrow{color:#a8c2b1}
[data-theme="dark"] .room-menu p,[data-theme="dark"] .project-summary,[data-theme="dark"] .project-category,[data-theme="dark"] .detail-body p{color:#b9c5bc}
[data-theme="dark"] .project-card{background:#273332;border-color:#46564e}
[data-theme="dark"] .project-card:hover{background:#30413c;border-color:#a0b8a8}
[data-theme="dark"] .project-link{color:#b8d6c2}
[data-theme="dark"] .detail-top{background:#20292af5;border-color:#43514a}
[data-theme="dark"] .detail-body .detail-lead{color:#d2dfd2}
[data-theme="dark"] .detail-body .preview-note{border-color:#43514a;color:#a6b2ab}
[data-theme="dark"] .interest-list>span{background:#2b3935;color:#b2c9b7}
[data-theme="dark"] .interest-list small{color:#e0e8dd}
[data-theme="dark"] footer{border-color:#344039;color:#a6b2ab}
[data-theme="dark"] .dialog-close{color:#bac6bc}
[data-theme="dark"] .room-callout .menu-close{filter:brightness(1.6)}
/* Reveal the new scene from the switch, with a softly feathered gradient edge. */
::view-transition{pointer-events:none}
::view-transition-old(root){animation:none}
@property --theme-reveal-radius{syntax:'<length>';inherits:false;initial-value:0px}
::view-transition-new(root){
  --theme-reveal-radius:150vmax;
  mask-image:radial-gradient(circle at var(--theme-x,95%) var(--theme-y,40px),
    #000 calc(var(--theme-reveal-radius) - 120px),
    #000c calc(var(--theme-reveal-radius) - 80px),
    #0004 calc(var(--theme-reveal-radius) - 30px),
    transparent var(--theme-reveal-radius));
  animation:theme-reveal 1800ms cubic-bezier(.22,1,.36,1);mix-blend-mode:normal;
}
@keyframes theme-reveal{
  from{--theme-reveal-radius:0px}
  to{--theme-reveal-radius:150vmax}
}
.theme-blending,.theme-blending body,.theme-blending .site-header,.theme-blending .room-menu,.theme-blending .detail-dialog{transition:background-color 1.5s ease,color 1.5s ease,border-color 1.5s ease}
@media(max-width:700px){.header-actions{width:100%;gap:12px}.header-actions .header-nav{width:auto;flex:1;gap:16px}.theme-toggle{padding-left:12px;gap:6px}.theme-symbol{width:15px;height:15px}}
@media(prefers-reduced-motion:reduce){::view-transition-new(root){animation:none}.theme-thumb{transition:none}.theme-blending,.theme-blending body,.theme-blending .site-header,.theme-blending .room-menu,.theme-blending .detail-dialog{transition:none}}

/* Three editable composition studies share the same career content. */
.detail-dialog.about-detail{width:min(1000px,calc(100vw - 40px));--about-accent:#78620c;--about-panel:#f1efe4;--about-border:#e1e4d7}
.about-options{display:flex;align-items:center;gap:6px;flex-wrap:wrap;padding:0 0 20px;margin-bottom:26px;border-bottom:1px solid var(--about-border)}
.about-options>span{font-size:10px;color:var(--muted);margin-right:auto;text-transform:uppercase;letter-spacing:.12em}
.about-options button{font-size:11px;background:transparent;color:var(--muted);border:1px solid transparent;border-radius:5px;padding:8px 11px}
.about-options button[aria-pressed="true"]{background:var(--about-panel);border-color:var(--about-border);color:var(--about-accent)}
.about-hero{display:grid;grid-template-columns:minmax(0,1fr) 190px;gap:42px;align-items:center}
.about-hero h2{margin:10px 0 14px;font-size:clamp(32px,3.5vw,46px)}
.about-hero .detail-lead{font-size:21px;line-height:1.4;margin:0 0 16px;letter-spacing:-.3px}
.about-hero-copy>p:not(.detail-lead){font-size:13px;max-width:510px;line-height:1.7}
.about-portrait{margin:0;overflow:hidden;border-radius:8px;background:#ad7e55}
.about-portrait img{display:block;width:100%;height:235px;object-fit:cover;object-position:50% 45%}
.about-meta{display:flex;gap:20px;align-items:center;margin-top:18px;color:var(--muted);font-size:11px}
.about-meta strong{font:700 25px/1 'Avenir Next',Arial,sans-serif;color:var(--about-accent);letter-spacing:-1px;margin-right:4px}
.about-journey{margin-top:32px}
.journey-track{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;list-style:none;padding:0;margin:16px 0 0}
.journey-track li{position:relative;background:var(--about-panel);padding:20px;border:1px solid var(--about-border);border-radius:8px}
.journey-track li:not(:last-child)::after{content:'→';position:absolute;right:-15px;top:31px;z-index:1;font-size:17px;color:var(--about-accent)}
.journey-icon{display:block;width:36px;height:36px;color:var(--about-accent);margin-bottom:16px}
.journey-icon svg{display:block;width:100%;height:100%}
.journey-phase{display:block;font-size:9px;letter-spacing:.08em;text-transform:uppercase;color:var(--muted)}
.about-canvas h3{font-size:14px;font-weight:600;line-height:1.4;margin:8px 0}
.journey-track p{font-size:12px;line-height:1.6;margin:0}
.about-details{display:grid;grid-template-columns:minmax(0,1.65fr) minmax(0,1fr);gap:36px;margin:28px 0}
.about-story h3:first-child{margin-top:0}
.about-story p{font-size:13px;line-height:1.8;margin:0 0 16px}
.about-story h3{margin-top:20px}
.about-notes{align-self:start;padding:20px;background:var(--about-panel);border-radius:8px}
.about-notes p{font-size:12px;line-height:1.7;margin:12px 0}
.about-language{display:block;border-top:1px solid var(--about-border);padding-top:12px;font-size:10px;color:var(--muted)}
.about-links{display:flex;gap:24px;align-items:start;justify-content:space-between;padding-top:20px;border-top:1px solid var(--about-border)}
.about-links a{font-size:12px;line-height:1.6;color:var(--about-accent);text-decoration:none}
.about-links a:hover{text-decoration:underline;text-underline-offset:4px}
.about-links small{display:block;color:var(--muted);font-size:10px;margin-top:4px}
/* Option 2: a portrait rail alongside a vertical career timeline. */
[data-about-layout="timeline"] .about-canvas{display:grid;grid-template-columns:240px minmax(0,1fr);gap:30px 38px}
[data-about-layout="timeline"] .about-hero{grid-column:1;grid-row:1 / span 2;display:flex;flex-direction:column;align-items:stretch;gap:22px}
[data-about-layout="timeline"] .about-portrait{order:-1}
[data-about-layout="timeline"] .about-portrait img{height:235px}
[data-about-layout="timeline"] .about-hero .detail-lead{font-size:18px}
[data-about-layout="timeline"] .about-meta{flex-wrap:wrap;gap:12px}
[data-about-layout="timeline"] .about-journey{grid-column:2;margin:0}
[data-about-layout="timeline"] .journey-track{grid-template-columns:1fr;gap:0;border-left:1px solid var(--about-border);margin-left:18px}
[data-about-layout="timeline"] .journey-track li{border:0;background:transparent;padding:0 0 24px 30px}
[data-about-layout="timeline"] .journey-icon{position:absolute;left:-18px;top:0;width:36px;height:36px;background:var(--about-panel);padding:6px;border-radius:50%}
[data-about-layout="timeline"] .journey-track li::after{display:none}
[data-about-layout="timeline"] .about-details{grid-column:2;display:block;margin:0}
[data-about-layout="timeline"] .about-notes{margin-top:22px}
[data-about-layout="timeline"] .about-links{grid-column:1 / -1}
/* Option 3: a larger photographic introduction and an understated path. */
[data-about-layout="editorial"] .about-hero{grid-template-columns:minmax(0,1fr) 280px;gap:45px}
[data-about-layout="editorial"] .about-portrait img{height:290px}
[data-about-layout="editorial"] .about-hero h2{font-size:clamp(36px,4vw,55px)}
[data-about-layout="editorial"] .journey-track{gap:28px;border-top:1px solid var(--about-border);padding-top:20px;counter-reset:career}
[data-about-layout="editorial"] .journey-track li{background:none;border:0;padding:0;counter-increment:career}
[data-about-layout="editorial"] .journey-track li::before{content:'0' counter(career);display:block;font:400 36px/1 Georgia,serif;color:var(--about-accent);margin-bottom:16px}
[data-about-layout="editorial"] .journey-icon,[data-about-layout="editorial"] .journey-track li::after{display:none}
[data-theme="dark"] .about-detail{--about-accent:#dfcb89;--about-panel:#30382e;--about-border:#495443}
@media(max-width:760px){
 .about-hero,[data-about-layout="editorial"] .about-hero{grid-template-columns:minmax(0,1fr) 150px;gap:24px}
 .about-portrait img,[data-about-layout="editorial"] .about-portrait img{height:195px}
 [data-about-layout="timeline"] .about-canvas{grid-template-columns:190px minmax(0,1fr);gap:24px}
 .about-details{gap:24px}.journey-track li{padding:14px}
}
@media(max-width:580px){
 .about-options>span{width:100%;margin-bottom:6px}.about-options button{padding:8px;font-size:10px}
 .about-hero,[data-about-layout="editorial"] .about-hero{grid-template-columns:1fr 110px;gap:16px;align-items:start}
 .about-portrait img,[data-about-layout="editorial"] .about-portrait img{height:145px}
 .about-hero h2,[data-about-layout="editorial"] .about-hero h2{font-size:29px}
 .about-hero .detail-lead{font-size:17px}.about-meta{flex-wrap:wrap;gap:10px}
 .journey-track{grid-template-columns:1fr;gap:12px}.journey-track li{padding:18px 18px 18px 70px}.journey-icon{position:absolute;left:18px;top:22px}
 .journey-track li::after{display:none}.about-details{grid-template-columns:1fr}
 [data-about-layout="timeline"] .about-canvas{display:block}
 [data-about-layout="timeline"] .about-hero{display:grid;grid-template-columns:minmax(0,1fr) 110px}
 [data-about-layout="timeline"] .about-portrait{order:0}
 [data-about-layout="timeline"] .about-portrait img{height:145px}
 [data-about-layout="timeline"] .about-journey{margin-top:28px}
 [data-about-layout="editorial"] .journey-track li{padding:0}
 .about-links{flex-direction:column;gap:18px}
}


/* Final Meet Emilio layout, Figma 385:3509. */
.detail-dialog.about-detail{width:min(1140px,calc(100vw - 40px));--af-text:#293a2e;--af-muted:#6b786b;--af-accent:#6f4424;--af-panel:#f1efe4}
.about-detail .detail-body{padding:34px}
.about-final{color:var(--af-text,#293a2e);font-family:Arial,sans-serif}
.af-main{display:grid;grid-template-columns:279px minmax(0,1fr);gap:70px;align-items:start}
.af-identity{display:flex;flex-direction:column;gap:22px;min-width:0}
.af-portrait{display:block;width:100%;height:auto;aspect-ratio:1;object-fit:cover;border-radius:8px;box-shadow:6px 6px 6px #0004}
.af-eyebrow{display:block;font-size:9px;line-height:13px;color:var(--af-muted,#6b786b);text-transform:uppercase;letter-spacing:0}
.af-introduction{display:flex;flex-direction:column;gap:12px}
.about-final .af-introduction h2{font:400 38px/48px Georgia,serif;letter-spacing:0;margin:0;color:var(--af-text,#293a2e)}
.about-final p{margin:0;color:var(--af-muted,#6b786b);font-size:13px;line-height:16px}
.about-final .af-lead{font-size:18px;line-height:25px}
.af-metrics{display:flex;flex-direction:column;gap:6px;margin:0;color:var(--af-accent,#6f4424)}
.af-metrics>div{display:flex;gap:8px;align-items:center;min-height:30px}
.af-metrics dt{width:44px;flex-shrink:0;font-size:25px;line-height:30px;font-weight:700}
.af-metrics dd{margin:0;font-size:11px;line-height:16px}
.af-metrics>div:last-child dt{text-align:center}
.af-background{display:flex;flex-direction:column;gap:28px;min-width:0}
.af-timeline{list-style:none;padding:0;margin:16px 0 0}
.af-timeline li{position:relative;padding:0 0 16px 45px;min-width:0}
.af-timeline li::before{content:'';position:absolute;left:0;top:0;width:16px;height:16px;background:var(--af-accent,#6f4424);z-index:1}
.af-timeline li:not(:last-child)::after{content:'';position:absolute;left:7px;top:0;bottom:0;width:2px;background:var(--af-accent,#6f4424)}
.af-timeline li:last-child{padding-bottom:0}
.af-phase{display:block;font-size:9px;line-height:16px;color:var(--af-accent,#6f4424);text-transform:uppercase;margin-bottom:6px}
.af-stage-copy{margin-left:21px}
.about-final h3{font-size:14px;line-height:20px;font-weight:700;margin:0 0 6px;color:var(--af-text,#293a2e)}
.about-final .af-stage-copy p{font-size:12px;line-height:16px}
.af-approach{display:flex;flex-direction:column;gap:12px}
.af-approach h3{margin:0}
.about-final .af-approach p{font-size:18px;line-height:25px}
.af-approach p+p{margin-top:12px}
.af-credentials{padding:20px;background:var(--af-panel,#f1efe4);border-radius:8px;box-shadow:8px 8px 8px #0004}
.af-credentials-grid{display:grid;grid-template-columns:1fr 1fr;gap:24px;margin-top:12px}
.af-credentials h3{color:var(--af-accent,#6f4424);margin:0 0 16px}
.af-credentials ul{list-style:none;padding:0;margin:0;display:flex;flex-direction:column;gap:16px}
.af-credentials li{display:flex;gap:16px;align-items:center;min-width:0}
.af-logo{display:block;width:27px;height:31px;object-fit:contain;flex-shrink:0}
.af-logo-mabe{width:30px;height:25px;margin-right:-3px}
.af-logo-tec{width:28px;height:32px;margin-right:-1px}
.af-credentials li>div{flex:1;min-width:0}
.af-credentials ul{width:max-content;max-width:100%}
.af-credentials li{display:grid;grid-template-columns:30px minmax(0,1fr)}
.af-credentials .af-split-title{display:flex;justify-content:space-between;gap:16px}
.af-credentials h4,.af-credentials p{white-space:nowrap}
.about-final .af-credentials-grid>section:last-child p{contain:none}
.af-credentials h4{font-size:14px;line-height:20px;font-weight:700;margin:0}
.about-final .af-credentials p{display:flex;justify-content:space-between;gap:8px;font-size:12px;line-height:16px;flex-wrap:nowrap;contain:inline-size}
.af-credentials p span:first-child{min-width:0}
.af-credentials p span:last-child{color:var(--af-text,#293a2e);margin-left:auto;flex-shrink:0;white-space:nowrap}
.af-links{display:grid;grid-template-columns:279px minmax(120px,1fr) minmax(0,396px);gap:70px;margin-top:28px}
.af-links a{display:flex;align-items:start;gap:10px;color:var(--af-muted,#6b786b);font-size:12px;line-height:16px;text-decoration:none}
.af-links a:hover{text-decoration:underline;text-underline-offset:3px}
.af-links img{flex-shrink:0;object-fit:contain;display:block}
.af-links small{display:block;font-size:12px;line-height:16px;color:#bebebe}
.af-cv-icon{width:18px;height:18px;overflow:hidden;display:block;position:relative;flex-shrink:0}
.af-cv-icon img{position:absolute;width:129.22%;height:128.45%;left:-19.2%;top:-11.11%}
.af-standalone{width:min(1140px,calc(100% - 40px));margin:28px auto;padding:34px;border:1px solid #e1e4d7;border-radius:12px;background:#fffefb;--af-text:#293a2e;--af-muted:#6b786b;--af-accent:#6f4424;--af-panel:#f1efe4}
[data-theme="dark"] .about-detail{--af-text:#e5e9e2;--af-muted:#bbc6bb;--af-accent:#d9b18e;--af-panel:#30382e}
@media(max-width:1000px){.af-main{grid-template-columns:240px minmax(0,1fr);gap:36px}.af-links{grid-template-columns:240px minmax(100px,1fr) minmax(0,1.5fr);gap:36px}.af-credentials-grid{grid-template-columns:1fr;gap:24px}}
@media(max-width:700px){.about-detail .detail-body{padding:24px}.af-main{grid-template-columns:1fr;gap:32px}.af-portrait{max-width:279px}.af-links{grid-template-columns:1fr;gap:18px}.af-identity{max-width:460px}.af-credentials-grid{grid-template-columns:1fr}.af-stage-copy{margin-left:0}.af-timeline li{padding-left:36px}.af-standalone{padding:24px}}
.about-final .af-links{padding:0;border:0;text-align:left;max-width:none}
.af-logo-mabe{object-fit:fill}
/* Latest Figma spacing and links grouped in the identity column. */
.af-main{align-items:stretch}
.af-identity{min-height:975px}
.af-metrics{margin-top:24px}
.af-background{gap:54px}
.about-final .af-approach p{font-size:16px;line-height:22px}
.af-approach p+p{margin-top:10px}
.af-credentials-grid{margin-top:0}
.about-final .af-links{display:flex;flex-direction:column;gap:14px;margin-top:auto;padding-top:30px}
.af-links a:last-child{text-decoration:underline;text-underline-offset:2px}
.af-links small{color:#bebebe}
.af-logo-tec{width:28px;height:32px;object-fit:fill}
@media(max-width:1000px){.af-identity{min-height:975px}}
@media(max-width:700px){.af-identity{min-height:0}.af-background{gap:32px}.about-final .af-links{margin-top:8px;padding-top:0}.af-metrics{margin-top:12px}}
/* Keep monochrome organization marks legible on the night panel. */
[data-theme="dark"] .af-credentials .af-logo{filter:brightness(0) invert(1)}
[data-theme="dark"] .af-credentials .af-logo-uaq{filter:brightness(0) invert(1) drop-shadow(0 0 .45px #fff)}
/* A direct way to connect, with a matching pixel avatar phone loop. */
.detail-dialog.contact-detail{width:min(730px,calc(100vw - 40px));--contact-card:#f1efe4;--contact-line:#dce2d7;--contact-ink:#293a2e;--contact-muted:#6b786b}
.contact-content h2{max-width:620px}
.contact-connect{display:grid;grid-template-columns:minmax(0,1fr) 150px;gap:24px;align-items:center;margin-top:20px}
.contact-methods{display:flex;flex-direction:column;gap:14px}
.contact-method{display:flex;flex-direction:column;gap:8px;padding:18px 20px;border:1px solid var(--contact-line);border-radius:8px;background:var(--contact-card);text-decoration:none;color:var(--contact-ink);transition:border-color .2s,transform .2s}
.contact-method:hover{border-color:var(--accent);transform:translateY(-2px)}
.contact-method-label{font-size:11px;line-height:1.4;text-transform:uppercase;letter-spacing:.09em;color:var(--contact-muted)}
.contact-method-value{display:flex;justify-content:space-between;gap:12px;font-size:18px;line-height:1.4}
.contact-method-value>span{font-size:16px;color:var(--contact-muted)}
.contact-character{height:260px;position:relative;align-self:end;isolation:isolate}
.contact-phone-sprite{position:absolute;inset:0;width:150px;height:245px;background-image:url('assets/emilio-phone-poses.png');background-repeat:no-repeat;background-size:640px 640px;background-position:-122px -67px;image-rendering:pixelated;animation:contact-phone-loop 9s steps(1,end) infinite}
.contact-character-ground{position:absolute;left:22px;right:16px;bottom:12px;height:9px;border-radius:50%;background:#23352c20;z-index:-1}
.contact-phone-ping{position:absolute;top:4px;right:0;font-size:11px;color:var(--contact-ink);background:var(--contact-card);border:1px solid var(--contact-line);border-radius:8px;padding:6px 10px;opacity:0;animation:contact-phone-hello 9s ease infinite}
@keyframes contact-phone-loop{0%,12%{background-position:-122px -67px}20%{background-position:-370px -67px}32%{background-position:-122px -347px}50%,78%{background-position:-370px -347px}86%{background-position:-122px -347px}95%,100%{background-position:-122px -67px}}
@keyframes contact-phone-hello{0%,48%{opacity:0;transform:translateY(4px)}56%,74%{opacity:1;transform:translateY(0)}82%,100%{opacity:0;transform:translateY(-3px)}}
[data-theme="dark"] .contact-detail{--contact-card:#2b3533;--contact-line:#53645c;--contact-ink:#e5e9e2;--contact-muted:#bbc6bb}
[data-theme="dark"] .contact-character-ground{background:#0005}
@media(max-width:560px){.contact-connect{grid-template-columns:minmax(0,1fr);gap:10px}.contact-character{width:150px;height:245px;justify-self:center}.contact-method-value{font-size:16px}.contact-content h2{font-size:30px}}
@media(prefers-reduced-motion:reduce){.contact-phone-sprite{animation:none;background-position:-370px -347px}.contact-phone-ping{animation:none;opacity:1}.contact-method{transition:none}}
/* Fit the phone avatar within the combined contact-card height. */
@media(min-width:561px){
 .contact-character{height:auto;min-height:0;align-self:stretch}
 .contact-phone-sprite{top:-10px;transform:scale(.82);transform-origin:50% 0}
 .contact-character-ground{left:31px;right:25px;bottom:0;height:6px}
 .contact-phone-ping{top:0;right:0}
}
/* Hobbies uses the same typography and warm panels as Meet Emilio. */
.detail-dialog.hobbies-detail{width:min(1080px,calc(100vw - 40px));--hobby-ink:#293a2e;--hobby-muted:#6b786b;--hobby-accent:#6f4424;--hobby-panel:#f1efe4;--hobby-border:#e1e4d7}
.hobbies-content{color:var(--hobby-ink);font-family:Arial,sans-serif}
.hobby-eyebrow{display:block;font-size:10px;line-height:15px;text-transform:uppercase;letter-spacing:.05em;color:var(--hobby-accent)}
.hobbies-intro{max-width:660px;margin-bottom:30px}
.hobbies-content .hobbies-intro h2{font:400 38px/1.25 Georgia,serif;letter-spacing:0;margin:12px 0}
.hobbies-content .hobbies-intro p{font-size:17px;line-height:25px;margin:0;color:var(--hobby-muted)}
.hobby-grid{display:grid;grid-template-columns:1fr 1fr;gap:22px}
.hobby-card{display:grid;grid-template-columns:minmax(0,1fr) 165px;gap:8px;align-items:center;min-height:240px;padding:24px 16px 24px 24px;background:var(--hobby-panel);border:1px solid var(--hobby-border);border-radius:8px;transition:box-shadow .25s,border-color .25s}
.hobby-card:focus-visible{outline:2px solid var(--hobby-accent);outline-offset:4px}
.hobby-card:hover,.hobby-card:focus-visible{border-color:var(--hobby-accent);box-shadow:0 6px 16px #17241b12}
.hobby-card h3{font-size:19px;line-height:25px;margin:8px 0 10px;font-weight:700}
.hobbies-content .hobby-card p{font-size:13px;line-height:20px;margin:0;color:var(--hobby-muted)}
.hobby-scene{width:165px;height:165px;background-image:url('assets/emilio-hobby-scenes-v3.png');background-size:330px 330px;background-repeat:no-repeat;image-rendering:pixelated;transform-origin:50% 85%}
.hobby-soccer .hobby-scene{background-position:0 0}
.hobby-coaching .hobby-scene{background-position:100% 0}
.hobby-drawing .hobby-scene{background-position:0 100%}
.hobby-gaming .hobby-scene{background-position:100% 100%}
.hobby-card:is(:hover,:focus-visible) .hobby-scene{animation:hobby-idle 2.8s ease-in-out infinite}
.hobby-soccer:is(:hover,:focus-visible) .hobby-scene{animation:hobby-soccer 1.8s ease-in-out infinite}
.hobby-drawing:is(:hover,:focus-visible) .hobby-scene{animation:hobby-sketch 2.2s ease-in-out infinite}
@keyframes hobby-idle{0%,100%{transform:translateY(0)}50%{transform:translateY(-4px)}}
@keyframes hobby-soccer{0%,100%{transform:rotate(0)}35%{transform:rotate(-3deg) translateY(-4px)}65%{transform:rotate(2deg)}}
@keyframes hobby-sketch{0%,100%{transform:rotate(0)}40%,60%{transform:rotate(1.5deg) translateY(1px)}}
[data-theme="dark"] .hobbies-detail{--hobby-ink:#e5e9e2;--hobby-muted:#bbc6bb;--hobby-accent:#d9b18e;--hobby-panel:#2b3533;--hobby-border:#53645c}
.hobbies-standalone{max-width:1080px;margin:28px auto;padding:34px;border:1px solid #e1e4d7;border-radius:12px;background:#fffefb;--hobby-ink:#293a2e;--hobby-muted:#6b786b;--hobby-accent:#6f4424;--hobby-panel:#f1efe4;--hobby-border:#e1e4d7}
@media(max-width:900px){.hobby-grid{grid-template-columns:1fr}.hobby-card{grid-template-columns:minmax(0,1fr) 180px;min-height:200px}.hobby-copy{max-width:400px}.hobbies-standalone{margin:20px}}
@media(max-width:480px){.hobby-card{grid-template-columns:1fr;padding:22px}.hobby-scene{justify-self:center;grid-row:1}.hobby-copy{grid-row:2}.hobbies-content .hobbies-intro h2{font-size:32px}.hobbies-standalone{padding:22px}}
@media(prefers-reduced-motion:reduce){.hobby-card{transition:none}.hobby-card:is(:hover,:focus-visible) .hobby-scene{animation:none}}
/* A soft gray center gives the daytime scene the same depth as night. */
body::after{content:"";position:fixed;inset:0;z-index:-1;pointer-events:none;background:radial-gradient(ellipse 58vw 62vh at 50% 47%,#c9c2bb 0%,#d7d2cd 28%,#eeece9 53%,#faf9f6 80%);opacity:1}
[data-theme="dark"] body::after{opacity:0}
.theme-blending body::after{transition:opacity 1.5s ease}
@media(prefers-reduced-motion:reduce){.theme-blending body::after{transition:none}}

/* Project links share the existing project-card button layout. */
a.project-card{text-decoration:none}

/* Full case study uses the same closable dialog over the studio. */
.detail-dialog.washer-detail{width:min(1440px,calc(100vw - 80px));height:90svh;max-height:90svh;background:#0f0f0f;color:#e5e5e5;border-color:#596060;overflow:hidden}
.washer-detail .detail-top{background:#141717;color:#d7ddd7;border-bottom-color:#343a38}
.washer-detail .detail-body{padding:0;height:calc(100% - 70px);overflow:hidden}
.washer-detail .dialog-close{color:#d7ddd7}
.washer-project-frame{display:block;width:100%;height:100%;border:0;background:#0f0f0f}
.washer-detail::backdrop{background:#13201b66;backdrop-filter:blur(6px)}
.visually-hidden{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}
body:has(.washer-detail[open]){overflow:hidden}
@media(max-width:700px){.detail-dialog.washer-detail{width:calc(100vw - 24px);height:92svh;max-height:92svh}.washer-detail .detail-top{min-height:60px}.washer-detail .detail-body{height:calc(100% - 60px)}}

.detail-dialog.washer-detail[open]{display:flex;flex-direction:column}.washer-detail .detail-top{flex:none}.washer-detail .detail-body{flex:1;min-height:0;height:auto}

.detail-dialog.washer-detail{width:min(1400px,calc(100vw - 240px));height:86svh;max-height:86svh}
@media(max-width:700px){.detail-dialog.washer-detail{width:calc(100vw - 24px);height:92svh;max-height:92svh}}

.precision-detail .detail-top .menu-eyebrow{color:#d793be}

/* Selected Work grows by wrapping project tiles onto additional rows. */
.room-callout.project-menu{display:block;width:506px;max-width:100%;padding:28px 25px 25px}
.room-callout.project-menu[hidden]{display:none}
.project-menu .menu-heading{margin-bottom:18px}
.project-menu .project-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(96px,1fr));gap:16px}
.project-tile{position:relative;display:grid;place-items:center;aspect-ratio:1;border:3px solid var(--project-color);border-radius:5px;padding:8px;background:var(--project-color);color:#fffefb;font:700 13px/1.18 Arial,sans-serif;text-align:center;transition:background-color .18s ease,color .18s ease;cursor:pointer}
.project-tile>span{grid-area:1/1;transition:opacity .14s ease}
.project-name{text-transform:uppercase}
.project-types{opacity:0;color:var(--project-color)}
.project-tile:focus-visible{outline:2px solid var(--project-color);outline-offset:4px;background:transparent}
.project-tile:focus-visible .project-name{opacity:0}
.project-tile:focus-visible .project-types{opacity:1}
@media(hover:hover){.project-tile:hover{background:transparent;color:var(--project-color)}.project-tile:hover .project-name{opacity:0}.project-tile:hover .project-types{opacity:1}}
.project-tile:active{transform:scale(.97)}
[data-theme="dark"] .project-tile{background:var(--project-color);border-color:var(--project-color)}
[data-theme="dark"] .project-tile:focus-visible{background:transparent}
@media(hover:hover){[data-theme="dark"] .project-tile:hover{background:transparent}}
@media(max-width:700px){.room-callout.project-menu{width:100%;padding:29px 20px 22px}.project-menu .project-grid{grid-template-columns:repeat(auto-fit,minmax(96px,1fr));gap:14px}}
@media(prefers-reduced-motion:reduce){.project-tile,.project-tile>span{transition:none}.project-tile:active{transform:none}}
