@font-face{font-family:'Instrument Serif';src:url('fonts/instrument-serif-normal-400.ttf') format('truetype');font-weight:400;font-display:swap}
@font-face{font-family:'Instrument Serif';src:url('fonts/instrument-serif-italic-400.ttf') format('truetype');font-weight:400;font-style:italic;font-display:swap}
@font-face{font-family:'DM Sans';src:url('fonts/dm-sans-normal-400.ttf') format('truetype');font-weight:400;font-display:swap}
@font-face{font-family:'DM Sans';src:url('fonts/dm-sans-normal-500.ttf') format('truetype');font-weight:500;font-display:swap}
@font-face{font-family:'DM Sans';src:url('fonts/dm-sans-normal-600.ttf') format('truetype');font-weight:600;font-display:swap}
@font-face{font-family:'DM Sans';src:url('fonts/dm-sans-normal-700.ttf') format('truetype');font-weight:700;font-display:swap}
:root{--ink:#202022;--muted:#69696e;--paper:#f7f7f6;--line:#e4e4e3;--serif:'Instrument Serif',Georgia,serif;--sans:'DM Sans',Arial,sans-serif;--ease:cubic-bezier(.22,.72,.24,1);color-scheme:light}
*{box-sizing:border-box}
html,body{margin:0;width:100%;height:100%;background:#68686b}
body{font-family:var(--sans);color:var(--ink);overflow:hidden;-webkit-font-smoothing:antialiased}
button,a{-webkit-tap-highlight-color:transparent}
button,input{font:inherit}
button{color:inherit;cursor:pointer}
a{color:inherit;text-decoration:none}
svg{display:block;width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round}
button:focus-visible,a:focus-visible{outline:3px solid #fff;outline-offset:5px}
.info-dialog button:focus-visible,.info-dialog a:focus-visible,.cv-page button:focus-visible,.cv-page a:focus-visible{outline-color:#505055;outline-offset:3px}
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.skip-link{position:fixed;left:20px;top:-100px;padding:14px 20px;background:#fff;z-index:100;border-radius:12px}
.skip-link:focus{top:12px}
.site-header{position:fixed;z-index:4;top:max(30px,env(safe-area-inset-top));left:3.5vw;right:3.5vw;display:flex;justify-content:space-between;align-items:center;gap:20px;color:#fff;transition:opacity .3s,transform .3s;text-shadow:0 1px 24px #0002}
.wordmark{white-space:nowrap;font-family:var(--serif);font-weight:700;font-synthesis:weight;font-size:clamp(29px,3.1vw,44px);letter-spacing:-.025em;line-height:1}
.wordmark-dot{padding-left:1px;color:#d6d6d6}
.cv-link{display:flex;align-items:center;gap:22px;font-size:12px;font-weight:500;letter-spacing:.025em;border:1px solid #ffffff50;padding:10px 13px 10px 17px;border-radius:999px;background:#ffffff08;transition:background .2s,border-color .2s}
.cv-link svg{width:15px;height:15px}
.cv-link:hover{background:#ffffff22;border-color:#ffffffa0}
.studio{position:relative;height:100vh;height:100svh;width:100%;isolation:isolate}
.scene-window{position:absolute;inset:0;overflow:hidden;background:#68686b;touch-action:pan-y}
.scene-window::after{content:'';position:absolute;inset:0;pointer-events:none;background:linear-gradient(180deg,#00000018 0%,transparent 20%,transparent 75%,#00000036 100%)}
.world{position:absolute;left:0;top:0;width:100%;height:100%;transform-origin:0 0;will-change:auto}
.room-photo{position:absolute;inset:0;width:100%;height:100%;object-fit:fill;user-select:none;pointer-events:none}


/* Los objetos conservan su área clicable; las etiquetas viven fuera de la fotografía. */
.object-hit{position:absolute;z-index:3;left:var(--x);top:var(--y);width:var(--hit-w);height:var(--hit-h);transform:translate(-50%,-50%);padding:0;border:0;background:transparent;cursor:pointer}
.callout-layer{position:absolute;z-index:3;inset:0;opacity:0;pointer-events:none;transition:opacity .28s ease}
.callout-layer[data-ready="true"]{opacity:1}
.callout-wires{position:absolute;inset:0;width:100%;height:100%;overflow:visible;fill:none;stroke:#f5f5f599;stroke-width:1;pointer-events:none}
.callout-wires circle{fill:#fafafad9;stroke:#ffffff55;stroke-width:1}
.scene-callout{position:absolute;width:max-content;max-width:180px;min-height:33px;padding:4px;border:1px solid #ffffff52;border-radius:999px;background:linear-gradient(135deg,#343438e6,#222225e6);color:#fafafa;box-shadow:0 4px 15px #0002,inset 0 1px #ffffff12;backdrop-filter:blur(14px);pointer-events:auto;transition:background .2s,border-color .2s,box-shadow .2s}
.scene-callout[hidden]{display:none!important}
.hotspot-marker{display:flex;align-items:center;gap:7px;white-space:nowrap}
.hotspot-plus{flex-shrink:0;width:24px;height:24px;display:grid;place-items:center;border:1px solid #ffffffb3;border-radius:50%;background:#f8f8f8;color:#2b2b2e;font-size:18px;font-weight:400;line-height:1;transition:transform .35s var(--ease)}
.hotspot-label{display:flex;align-items:center;gap:8px;padding:0 9px 0 0;color:#fafafa;font-size:10px;font-weight:500;line-height:1.2;letter-spacing:.005em}
.hotspot-label>span{font-size:10px;color:#ffffff80}
.scene-callout:hover,.scene-callout:focus-visible{background:#232327f5;border-color:#ffffffb3;box-shadow:0 6px 19px #0004}
.scene-callout:hover .hotspot-plus,.scene-callout:focus-visible .hotspot-plus{transform:rotate(90deg)}
.is-focusing .callout-layer,.is-zoomed .callout-layer,.is-panning .callout-layer{opacity:0;pointer-events:none}
.is-focusing .scene-callout,.is-zoomed .scene-callout,.is-panning .scene-callout,.is-focusing .object-hit,.is-zoomed .object-hit{pointer-events:none}
.clock-object{position:absolute;z-index:2;left:40.669856%;top:34.431456%;width:8.492823%;height:15.090329%;object-fit:fill;pointer-events:none;user-select:none}
.clock-shadow{position:absolute;z-index:1;left:40.669856%;top:48.990436%;width:8.492823%;height:1.275239%;background:radial-gradient(ellipse,#0005 8%,#0002 43%,transparent 73%);pointer-events:none}
.clock-shadow::before,.clock-shadow::after{content:'';position:absolute;top:18%;width:15.5%;height:32%;border-radius:50%;background:radial-gradient(ellipse,#000d 5%,#0009 35%,transparent 75%);filter:blur(.3px)}
.clock-shadow::before{left:13.5%}.clock-shadow::after{left:72.5%}
.detail-photo{position:absolute;z-index:1;object-fit:fill;opacity:0;pointer-events:none;user-select:none;transition:opacity .3s ease;mask-image:linear-gradient(90deg,transparent,#000 4%,#000 96%,transparent),linear-gradient(transparent,#000 4%,#000 96%,transparent);mask-composite:intersect;-webkit-mask-image:linear-gradient(90deg,transparent,#000 4%,#000 96%,transparent),linear-gradient(transparent,#000 4%,#000 96%,transparent);-webkit-mask-composite:source-in}
.detail-photo.is-active{opacity:1}
.welcome{position:absolute;left:60%;top:9.5%;z-index:2;color:#fff;pointer-events:none;transition:opacity .4s,transform .4s}
.eyebrow{font-size:10px;font-weight:500;letter-spacing:.12em;text-transform:uppercase;line-height:1.5}
.welcome .eyebrow{color:#fff9}
.welcome p{font-family:var(--serif);font-size:clamp(23px,2.25vw,34px);line-height:1.03;letter-spacing:-.015em;margin:11px 0 10px}
.welcome-note{font-size:11px;color:#ffffffb3}
.explore-nav{position:absolute;z-index:4;bottom:max(29px,env(safe-area-inset-bottom));left:50%;transform:translateX(-50%);display:flex;gap:5px;padding:7px;border:1px solid #ffffff3a;background:#242426b0;backdrop-filter:blur(24px);border-radius:23px;box-shadow:0 12px 40px #1112;transition:opacity .35s,transform .35s}
.explore-nav button{display:flex;gap:9px;align-items:center;padding:13px 17px;background:transparent;border:0;border-radius:16px;color:#fff;font-size:11px;white-space:nowrap;transition:background .25s}
.explore-nav button svg{width:17px;height:17px;opacity:.7;stroke-width:1.4}
.explore-nav button:hover,.explore-nav button:focus-visible{background:#ffffff17}
.scene-caption{position:absolute;bottom:47px;left:3.5vw;color:#ffffffa6;font-size:10px;letter-spacing:.015em;transition:opacity .3s}
.pan-toggle{display:none}
.contact-dock{position:fixed;z-index:5;right:max(3.5vw,env(safe-area-inset-right));bottom:max(32px,env(safe-area-inset-bottom));display:flex;align-items:center;gap:9px;transition:opacity .3s,transform .3s}
.contact-circle{width:48px;height:48px;display:grid;place-items:center;border-radius:50%;box-shadow:0 5px 24px #0002;transition:transform .25s,box-shadow .25s}
.contact-circle:hover{transform:translateY(-3px);box-shadow:0 8px 28px #0004}
.email-circle{background:#f3f3f2;color:#242426;border:1px solid #fff9}
.email-circle svg{width:20px;height:20px}
.whatsapp-circle{background:#25d366;color:#fff}
.whatsapp-circle svg{width:25px;height:25px;stroke:none}
.is-focusing .welcome,.is-zoomed .welcome,.is-focusing .site-header,.is-zoomed .site-header,.is-focusing .scene-caption,.is-zoomed .scene-caption,.is-focusing .pan-toggle,.is-zoomed .pan-toggle{opacity:0;pointer-events:none;transform:translateY(-6px)}
.is-focusing .explore-nav,.is-zoomed .explore-nav{opacity:0;pointer-events:none;transform:translate(-50%,10px)}
.is-focusing .contact-dock,.is-zoomed .contact-dock{opacity:0;pointer-events:none;transform:translateY(10px)}
.info-dialog{position:fixed;inset:36px 32px 36px auto;margin:0;width:min(540px,43vw);height:calc(100dvh - 72px);max-width:calc(100vw - 40px);max-height:calc(100dvh - 40px);padding:0;border:1px solid #fff9;border-radius:28px;background:var(--paper);color:var(--ink);box-shadow:0 24px 100px #1114;overflow:hidden}
.info-dialog.is-left{right:auto;left:32px}
.info-dialog::backdrop{background:linear-gradient(90deg,#12121512,#12121538);animation:backdrop-in .35s both}
.info-dialog[open]{animation:panel-in .5s var(--ease) both}
.info-dialog.is-leaving{animation:panel-out .2s ease both}
.info-dialog.is-left[open]{animation-name:panel-in-left}
.info-dialog.is-left.is-leaving{animation-name:panel-out-left}
.modal-shell{display:flex;flex-direction:column;height:100%;min-height:0}
.modal-top{padding:22px 23px 16px 30px;display:flex;align-items:center;justify-content:space-between;gap:20px;flex-shrink:0;border-bottom:1px solid var(--line)}
.modal-top>.eyebrow{color:#77777b;font-size:9px;letter-spacing:.11em}
.close-modal{width:36px;height:36px;display:grid;place-items:center;border:1px solid #ddd;background:#efefed;border-radius:50%;transition:background .2s,transform .25s}
.close-modal:hover{background:#e2e2df;transform:rotate(90deg)}
.close-modal svg{width:17px;height:17px}
.modal-scroll{flex:1;min-height:0;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#c7c7c4 transparent;padding:30px}
.modal-scroll h1,.modal-scroll h2{font-size:clamp(30px,3.3vw,43px);font-weight:500;line-height:1.05;letter-spacing:-.055em;margin:0 0 17px}
.modal-scroll h3{font-size:18px;line-height:1.25;letter-spacing:-.035em;font-weight:500;margin:0 0 10px}
.modal-scroll p{font-size:13px;line-height:1.8;color:#606064;margin:0 0 16px}
.modal-scroll .intro{font-size:16px;line-height:1.65;color:#454548;letter-spacing:-.02em}
.section-label{display:block;font-size:9px;letter-spacing:.1em;text-transform:uppercase;color:#8a8a8e;margin-bottom:9px}
.modal-footer{flex-shrink:0;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:17px 27px;border-top:1px solid var(--line);font-size:9px;color:#8b8b90}
.modal-footer button{border:0;background:transparent;font-size:10px;color:#353538;padding:6px 0}
.modal-footer button span{padding-left:12px}
.intro-portrait{width:72px;height:86px;object-fit:cover;object-position:50% 9%;float:right;margin:0 0 10px 18px;mask-image:linear-gradient(#000 80%,transparent);border-radius:10px}
.about-statement{border-bottom:1px solid var(--line);padding-bottom:17px;margin-bottom:24px}
.capability{padding:20px 0;border-bottom:1px solid var(--line)}
.capability h3{font-size:15px}
.capability p{font-size:12px;margin:0}
.tag-row{display:flex;flex-wrap:wrap;gap:6px;margin:14px 0}
.tag{padding:5px 9px;background:#eaeae8;border:1px solid #e3e3e1;border-radius:999px;font-size:9px;color:#66666b;line-height:1.4}
.project-list{display:grid;gap:12px;margin-top:24px}
.project-card{text-align:left;width:100%;border:1px solid #e3e3e1;border-radius:20px;padding:17px;background:#fff;display:grid;grid-template-columns:78px 1fr 18px;gap:15px;align-items:center;transition:box-shadow .25s,transform .25s,border-color .25s}
.project-card:hover{transform:translateY(-2px);border-color:#c6c6c2;box-shadow:0 7px 20px #1111}
.project-card img{width:78px;height:72px;object-fit:cover;border-radius:12px;filter:grayscale(1);background:#e8e8e6}
.project-card h3{font-size:15px;margin:0 0 5px;letter-spacing:-.035em}
.project-card p{font-size:10px;line-height:1.5;margin:0;color:#85858a}
.project-card .arrow{font-size:17px;color:#6a6a6e;align-self:start;margin-top:2px}
.project-cover{width:100%;aspect-ratio:1.65;object-fit:cover;filter:grayscale(1);border-radius:17px;margin:4px 0 24px;background:#e5e5e3}
.project-detail .detail-lead{font-size:16px;color:#333338}
.detail-section{margin-top:24px;padding-top:23px;border-top:1px solid var(--line)}
.detail-section h3{font-size:15px}
.detail-section ul{padding-left:17px;color:#66666b;font-size:12px;line-height:1.9}
.back-projects{display:inline-flex;align-items:center;gap:9px;font-size:10px;padding:0 0 18px;border:0;background:transparent;color:#717176}
.text-link{display:inline-flex;align-items:center;gap:15px;border-bottom:1px solid #555;font-size:11px;font-weight:500;padding:8px 0 6px;transition:opacity .2s}
.text-link:hover{opacity:.6}
.project-note{font-size:10px!important;color:#8a8a8e!important;margin-top:24px!important}
.timeline{margin-top:27px}
.timeline-item{position:relative;padding:0 0 26px 23px;border-left:1px solid #d8d8d5;margin-left:4px}
.timeline-item:last-child{padding-bottom:0}
.timeline-item::before{content:'';position:absolute;width:7px;height:7px;border-radius:50%;left:-4px;top:5px;background:#aaa;border:1px solid var(--paper)}
.timeline-item:first-child::before{background:#222;width:9px;height:9px;left:-5px;top:4px}
.timeline-period{font-size:9px;color:#85858a;letter-spacing:.03em;margin-bottom:8px;display:block}
.timeline-item h3{font-size:16px;margin-bottom:6px}
.timeline-org{font-size:11px;color:#747479;line-height:1.5;margin-bottom:11px}
.timeline-item p{font-size:11px;line-height:1.8;margin:0}
.contact-title{font-family:var(--serif);font-weight:400!important;font-size:clamp(38px,4.1vw,54px)!important;letter-spacing:-.025em!important}
.contact-options{display:grid;gap:10px;margin-top:28px}
.contact-option{display:flex;align-items:center;gap:16px;padding:19px;background:#fff;border:1px solid var(--line);border-radius:17px;transition:border-color .2s,transform .2s}
.contact-option:hover{border-color:#aaa;transform:translateX(2px)}
.contact-option>svg{width:21px;height:21px;flex-shrink:0;stroke-width:1.3}
.contact-option span{display:grid;gap:5px;min-width:0}
.contact-option small{font-size:9px;color:#949499}
.contact-option strong{font-size:12px;font-weight:500;overflow-wrap:anywhere}
.contact-option .option-arrow{margin-left:auto;font-size:17px;color:#aaa}
.contact-place{margin-top:30px!important;font-size:11px!important;color:#929298!important}
.contact-place::before{content:'';display:inline-block;width:5px;height:5px;border-radius:50%;background:#aaa;margin-right:9px;vertical-align:2px}
.noscript{position:fixed;z-index:7;bottom:125px;left:5%;width:90%;background:#fff;padding:20px;border-radius:16px;font-size:13px}
.noscript a{text-decoration:underline}
@keyframes panel-in{from{opacity:0;transform:translateX(24px)}to{opacity:1;transform:none}}
@keyframes panel-in-left{from{opacity:0;transform:translateX(-24px)}to{opacity:1;transform:none}}
@keyframes panel-out-left{to{opacity:0;transform:translateX(-15px)}}
@keyframes panel-out{to{opacity:0;transform:translateX(15px)}}
@keyframes backdrop-in{from{opacity:0}to{opacity:1}}
@media(min-width:1500px){.welcome{top:8.5%}.info-dialog{right:3vw;top:4vh;height:92dvh}.modal-scroll{padding:36px}.modal-top{padding-left:36px}}
@media(max-width:1100px) and (min-width:761px){.explore-nav button{padding:12px}.scene-caption{display:none}.contact-dock{right:22px}.explore-nav{left:45%}.info-dialog{width:49vw;right:20px;top:24px;height:calc(100dvh - 48px)}.welcome{left:58%;top:8%}}
@media(max-height:650px) and (min-width:761px){.welcome{top:16%}.welcome p{font-size:24px}.welcome-note{display:none}.site-header{top:20px}.wordmark{font-size:32px}.explore-nav{bottom:17px}.contact-dock{bottom:20px}.scene-caption{bottom:37px}.info-dialog{inset:16px 20px 16px auto;height:calc(100dvh - 32px)}}
@media(max-width:1000px){
  .site-header{top:max(26px,env(safe-area-inset-top));left:22px;right:22px;align-items:start;gap:12px}
  .wordmark{font-size:31px;max-width:220px;line-height:.95}
  .cv-link{padding:8px 11px 8px 13px;font-size:10px;gap:8px;flex-shrink:0;margin-top:1px}
  .cv-link svg{width:12px;height:12px}
  .welcome{left:23px;top:calc(73px + env(safe-area-inset-top));max-width:220px}
  .welcome .eyebrow{font-size:8px;letter-spacing:.08em}
  .welcome p,.welcome-note{display:none}
  
  .room-photo{mask-image:linear-gradient(transparent,#000 8%,#000 90%,transparent);-webkit-mask-image:linear-gradient(transparent,#000 8%,#000 90%,transparent)}
  
  .pan-toggle{position:absolute;display:flex;align-items:center;gap:22px;bottom:108px;left:23px;border:1px solid #ffffff70;background:#33333565;color:#fff;border-radius:999px;font-size:10px;backdrop-filter:blur(15px);padding:11px 15px;z-index:3;transition:opacity .3s,transform .3s}
  .pan-toggle span{font-size:15px;line-height:.7}
  .explore-nav{left:12px;right:12px;bottom:max(18px,env(safe-area-inset-bottom));transform:none;justify-content:space-around;gap:1px;padding:7px;border-radius:22px}
  .explore-nav button{flex:1;justify-content:center;flex-direction:column;gap:7px;padding:10px 4px;font-size:9px;border-radius:16px}
  .explore-nav button svg{width:18px;height:18px}
  .scene-caption{display:none}
  .contact-dock{right:17px;bottom:105px;gap:8px}
  .contact-circle{width:44px;height:44px}
  .email-circle svg{width:18px;height:18px}
  .whatsapp-circle svg{width:22px;height:22px}
  .is-focusing .explore-nav,.is-zoomed .explore-nav{transform:translateY(10px)}
  .info-dialog{inset:auto 12px max(12px,env(safe-area-inset-bottom)) 12px;width:auto;height:min(73dvh,720px);max-width:none;max-height:calc(100dvh - 100px);border-radius:24px}
  .info-dialog.is-left{left:12px;right:12px}
  .info-dialog::backdrop{background:linear-gradient(180deg,#1111110a,#11111150)}
  .info-dialog[open],.info-dialog.is-left[open]{animation:sheet-in .45s var(--ease) both}
  .info-dialog.is-leaving,.info-dialog.is-left.is-leaving{animation:sheet-out .18s ease both}
  .modal-top{padding:15px 17px 13px 24px}
  .modal-scroll{padding:24px}
  .modal-scroll h1,.modal-scroll h2{font-size:34px}
  .modal-scroll .intro{font-size:15px}
  .modal-top>.eyebrow{font-size:8px}
  .modal-footer{padding:13px 22px;font-size:8px}
  .modal-footer button{font-size:9px}
  .close-modal{width:33px;height:33px}
  .project-card{grid-template-columns:60px 1fr 14px;gap:11px;padding:13px}
  .project-card img{width:60px;height:62px;border-radius:10px}
  .project-card h3{font-size:14px}
  .project-card p{font-size:9px}
  .contact-option{padding:16px;gap:13px}
  .contact-option strong{font-size:11px}
  .contact-title{font-size:45px!important}
  @keyframes sheet-in{from{opacity:0;transform:translateY(30px)}to{opacity:1;transform:none}}
  @keyframes sheet-out{to{opacity:0;transform:translateY(20px)}}
}
@media(max-width:380px){.wordmark{font-size:28px;max-width:192px}.site-header{left:18px;right:18px}.welcome{left:19px}.cv-link{font-size:9px;gap:6px}.contact-circle{width:44px;height:44px}.modal-scroll{padding:22px}.modal-scroll h1,.modal-scroll h2{font-size:31px}.project-card{padding:11px;gap:9px}.contact-option{padding:14px;gap:10px}.contact-option strong{font-size:10px}}
@media(max-width:1000px) and (max-height:680px){.pan-toggle{bottom:103px}.contact-dock{bottom:99px}.info-dialog{height:76dvh}.site-header{top:20px}.welcome{top:63px}.wordmark{font-size:28px}.explore-nav{bottom:12px}.explore-nav button{padding:9px 4px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation-duration:.001ms!important;transition-duration:.001ms!important;scroll-behavior:auto!important}.world{will-change:auto}}

/* Hoja de CV: conserva la misma familia editorial y permite guardar como PDF. */
.cv-page{background:#ececeb;color:var(--ink);overflow:auto;height:auto;min-height:100%;padding:32px 20px 65px}
.cv-sheet{max-width:980px;margin:auto;padding:62px;background:#fff;border:1px solid #ddd;border-radius:24px}
.cv-actions{max-width:980px;margin:0 auto 20px;display:flex;justify-content:space-between;gap:15px;font-size:12px}
.cv-actions a,.cv-actions button{padding:10px 14px;border-radius:999px;border:1px solid #ccc;background:#f8f8f6}
.cv-head{border-bottom:1px solid #ddd;padding-bottom:25px;margin-bottom:32px}
.cv-head h1{font-family:var(--serif);font-size:58px;font-weight:700;font-synthesis:weight;line-height:1;letter-spacing:-.025em;margin:0 0 15px}
.cv-head p{font-size:13px;line-height:1.7;color:#666;max-width:670px}
.cv-contact{display:flex;flex-wrap:wrap;gap:10px 22px;font-size:11px;color:#666;margin-top:22px}
.cv-contact a{text-decoration:underline;text-underline-offset:3px}
.cv-layout{display:grid;grid-template-columns:1.6fr 1fr;gap:45px}
.cv-section{margin-bottom:30px}
.cv-section h2{font-size:18px;font-weight:500;letter-spacing:-.04em;margin:0 0 23px}
.cv-section h3{font-size:13px;font-weight:600;margin:0 0 6px;line-height:1.4}
.cv-entry{margin-bottom:22px;break-inside:avoid}
.cv-entry p{font-size:11px;color:#666;line-height:1.7;margin:7px 0}
.cv-entry small{font-size:10px;line-height:1.7;color:#777}
.cv-entry .cv-period{display:block;font-size:9px;color:#888;margin-bottom:7px}
@media(max-width:650px){.cv-sheet{padding:30px 24px}.cv-head h1{font-size:43px}.cv-layout{display:block}.cv-head p{font-size:12px}.cv-actions{font-size:10px}}
@media print{.cv-page{padding:0;background:#fff}.cv-actions{display:none}.cv-sheet{padding:0;border:0;border-radius:0;max-width:none}.cv-head h1{font-size:40px}.cv-head{margin-bottom:22px;padding-bottom:15px}.cv-layout{display:grid;grid-template-columns:1.6fr 1fr;gap:25px}.cv-section h2{font-size:16px;margin-bottom:16px}.cv-entry{margin-bottom:17px}.cv-entry p{font-size:9px}.cv-entry h3{font-size:11px}.cv-entry small{font-size:9px}a{text-decoration:none!important}@page{size:A4;margin:16mm}}

/* OFICINA 02 — fotografía integrada, switch y libreta abierta. */
.scene-v2 .wordmark{font-size:clamp(29px,2.6vw,38px)}
.scene-v2 .site-header{top:max(24px,env(safe-area-inset-top));text-shadow:0 1px 5px #0006,0 1px 24px #0004}
.scene-v2 .scene-window::after{background:linear-gradient(180deg,#0c0d104d,transparent 23%,transparent 76%,#0c0d102b)}
.scene-v2 .room-photo{mask-image:none;-webkit-mask-image:none}
.scene-v2 .welcome{left:60%;top:4.5%}
.scene-v2 .welcome p{font-size:24px;line-height:1.02;margin:8px 0}
.scene-v2 .welcome-note{font-size:10px}
.scene-v2 .welcome .eyebrow{font-size:9px}

.switch-track{--active-index:0;--switch-count:4;position:relative;display:grid;grid-template-columns:repeat(var(--switch-count),minmax(0,1fr));gap:0;padding:6px;border:1px solid #ffffffb3;border-radius:999px;background:linear-gradient(145deg,#fffffff2,#ececeae3);backdrop-filter:blur(24px) saturate(115%);box-shadow:0 10px 35px #10101424,inset 0 1px #fff;color:#67676c}
.switch-track .switch-indicator{position:absolute;top:6px;left:6px;bottom:6px;width:calc((100% - 12px)/var(--switch-count));border-radius:999px;background:linear-gradient(155deg,#353538,#171719);box-shadow:0 3px 9px #1113,inset 0 1px #ffffff30;transform:translateX(calc(var(--active-index)*100%));transition:transform .55s var(--ease),opacity .25s;pointer-events:none}
.switch-track button{position:relative;z-index:1;display:flex;align-items:center;justify-content:center;gap:8px;min-width:0;min-height:46px;padding:10px 6px;border:0;border-radius:999px;background:transparent;color:#67676c;font-size:10px;line-height:1.2;letter-spacing:-.01em;white-space:nowrap;transition:color .25s,background .25s}
.switch-track button span{padding:0}
.switch-track button svg{width:17px;height:17px;stroke-width:1.45;opacity:.85;flex-shrink:0}
.switch-track button[aria-pressed="true"]{color:#fff}
.switch-track button:hover{background:#00000006;color:#202025}
.switch-track button[aria-pressed="true"]:hover{background:transparent;color:#fff}
.switch-track button:focus-visible{outline:2px solid #56565b;outline-offset:-2px}
.switch-track button[aria-pressed="true"]:focus-visible{outline-color:#fff}
.scene-v2 .explore-nav{position:absolute;left:62%;right:auto;bottom:max(27px,env(safe-area-inset-bottom));width:min(470px,calc(100vw - 610px));transform:translateX(-50%);border-radius:999px}
.scene-v2.is-focusing .explore-nav,.scene-v2.is-zoomed .explore-nav{transform:translate(-50%,8px)}
.modal-footer{padding:12px 18px;justify-content:center}
.modal-switch.switch-track{width:100%;padding:5px;box-shadow:0 2px 10px #1111;border-color:#d9d9d7;background:#e8e8e6;backdrop-filter:none}
.modal-switch .switch-indicator{left:5px;top:5px;bottom:5px;width:calc((100% - 10px)/var(--switch-count))}
.modal-switch button{font-size:8px;gap:5px;min-height:38px;padding:8px 3px}
.modal-switch button svg{width:14px;height:14px}
.scene-v2 .email-circle{background:linear-gradient(#00b8ff,#0077f8);border:1px solid #54d9ff;border-radius:50%;overflow:hidden;box-shadow:0 5px 20px #0037752b}
.scene-v2 .email-circle .mail-app-icon>rect:first-of-type{display:none}
.scene-v2 .email-circle .mail-app-icon{width:48px;height:48px;stroke:none}

/* Las páginas son texto real sobre una fotografía del cuaderno. */
.info-dialog.notebook-mode{inset:24px 0;margin:0 auto;width:min(1180px,calc(100vw - 48px));height:calc(100dvh - 48px);max-height:calc(100dvh - 48px);max-width:none;padding:0;background:transparent;border:0;border-radius:0;box-shadow:none;overflow:visible}
.info-dialog.notebook-mode::backdrop{background:#101216ab;backdrop-filter:blur(5px)}
.info-dialog.notebook-mode[open]{animation:notebook-in .65s var(--ease) both}
.info-dialog.notebook-mode.is-leaving{animation:notebook-out .2s ease both}
.notebook-mode .modal-top{padding:4px 16px 12px 20px;border:0;min-height:52px;color:#fff}
.notebook-mode .modal-top .eyebrow{color:#ffffffb3;font-size:9px}
.notebook-mode .close-modal{width:37px;height:37px;background:#ffffff17;border-color:#ffffff4d;color:#fff;backdrop-filter:blur(15px)}
.notebook-mode .close-modal:focus-visible{outline-color:#fff}
.notebook-mode .modal-scroll{padding:0;overflow:hidden;display:grid;place-items:center;min-height:0}
.notebook-mode #modal-content{display:grid;place-items:center;width:100%;height:100%;min-height:0}
.notebook-mode .modal-footer{border:0;padding:12px 0 0;flex-shrink:0}
.notebook-mode .modal-switch{width:min(470px,100%);background:#f0f0edf0;border-color:#ffffff80;box-shadow:0 12px 40px #0003;backdrop-filter:blur(18px)}
.notebook-mode .modal-switch button{min-height:42px;font-size:9px}
.notebook-mode .modal-switch button svg{width:16px;height:16px}
.book-spread{position:relative;aspect-ratio:3/2;width:min(100%,calc((100dvh - 166px)*1.5));max-height:100%;isolation:isolate;filter:drop-shadow(0 15px 30px #0003);perspective:1400px}
.book-spread::before{content:'';position:absolute;inset:7% 6% 11%;z-index:-2;border-radius:9px;background:#f7f7f4;box-shadow:0 0 0 6px #30302e}
.book-paper{position:absolute;inset:0;width:100%;height:100%;object-fit:fill;pointer-events:none;user-select:none;z-index:-1}
.book-leaf{position:absolute;top:12%;bottom:15%;width:35%;padding-right:8px;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#c6c6c2 transparent}
.book-leaf-left{left:11%;transform-origin:right center;animation:leaf-left .9s var(--ease) both}
.book-leaf-right{left:55%;transform-origin:left center;animation:leaf-right 1s var(--ease) both}
.book-folio{display:block;font-size:8px;font-weight:500;letter-spacing:.14em;color:#92928f;text-transform:uppercase;margin-bottom:24px}
.book-leaf h2,.book-leaf h3.book-title{font-family:var(--serif);font-size:42px;font-weight:400;line-height:1;letter-spacing:-.025em;margin:0 0 20px;color:#262628}
.book-leaf h3.book-title{font-size:34px;margin-bottom:19px}
.book-leaf p{font-size:12px;line-height:1.85;color:#626261;margin-bottom:17px}
.book-leaf p.book-intro{font-size:14px;color:#333337;line-height:1.7;margin-bottom:21px}
.book-signature{font-family:var(--serif);font-style:italic;font-size:27px;letter-spacing:-.015em;margin-top:24px;color:#4c4c4c}
.book-page-number{display:block;font-size:8px;color:#aaa;margin:26px 0 2px;letter-spacing:.12em}
.book-capability{padding:14px 0;border-top:1px solid #d9d9d4}
.book-capability h4{font-size:11px;font-weight:600;margin:0 0 5px;letter-spacing:-.02em}
.book-capability p{font-size:11px;line-height:1.75;margin:0}
.book-controls{display:none}
@keyframes notebook-in{from{opacity:0;transform:translateY(25px) scale(.94)}to{opacity:1;transform:none}}
@keyframes notebook-out{to{opacity:0;transform:translateY(12px) scale(.985)}}
@keyframes leaf-left{from{opacity:.4;transform:rotateY(10deg)}to{opacity:1;transform:none}}
@keyframes leaf-right{from{opacity:.25;transform:rotateY(-18deg)}to{opacity:1;transform:none}}

@media(min-width:1500px){.scene-v2 .welcome{top:4.5%}}
@media(max-width:1100px){
  .scene-v2 .site-header{top:max(26px,env(safe-area-inset-top));left:22px;right:22px}
  .scene-v2 .wordmark{font-size:31px;max-width:220px}
  .scene-v2 .cv-link{padding:8px 11px 8px 13px;font-size:10px;gap:8px}
  .scene-v2 .cv-link svg{width:12px;height:12px}
  .scene-v2 .welcome{left:23px;top:calc(73px + env(safe-area-inset-top));max-width:240px}
  .scene-v2 .welcome .eyebrow{font-size:8px}
  .scene-v2 .welcome p,.scene-v2 .welcome-note{display:none}
  .scene-v2 .room-photo{mask-image:linear-gradient(transparent,#000 3%,#000 97%,transparent);-webkit-mask-image:linear-gradient(transparent,#000 3%,#000 97%,transparent)}
  .scene-v2 .explore-nav{left:12px;right:12px;bottom:max(18px,env(safe-area-inset-bottom));width:auto;transform:none;padding:6px;border-radius:999px}
  .scene-v2 .explore-nav button{flex-direction:column;gap:6px;min-height:49px;padding:8px 3px;font-size:8px}
  .scene-v2 .explore-nav button svg{width:17px;height:17px}
  .scene-v2.is-focusing .explore-nav,.scene-v2.is-zoomed .explore-nav{transform:translateY(8px)}
  .scene-v2 .contact-dock{right:17px;bottom:105px}
  .scene-v2 .contact-circle{width:44px;height:44px}
  .scene-v2 .email-circle .mail-app-icon{width:44px;height:44px}
  .scene-v2 .pan-toggle{position:absolute;display:flex;align-items:center;gap:22px;bottom:108px;left:23px;padding:11px 15px;border:1px solid #ffffff70;border-radius:999px;background:#33333565;backdrop-filter:blur(15px);color:#fff;font-size:10px;z-index:3}
  .modal-switch button{font-size:8px;gap:5px;flex-direction:column;min-height:43px;padding:6px 2px}
  .modal-switch button svg{width:15px;height:15px}
  .modal-footer{padding:11px 14px}
  .scene-v2 .scene-caption{display:none}
}
@media(max-width:900px){
  .info-dialog.notebook-mode{inset:auto 12px max(12px,env(safe-area-inset-bottom));width:auto;height:min(79dvh,790px);max-height:calc(100dvh - 70px);margin:0}
  .notebook-mode .modal-top{padding:0 2px 12px 8px;min-height:47px}
  .notebook-mode .modal-top .eyebrow{font-size:8px}
  .notebook-mode .modal-scroll{border:1px solid #454545;border-radius:9px;background:#242424;box-shadow:0 12px 40px #0003}
  .notebook-mode #modal-content{display:block;height:100%}
  .book-spread{width:100%;height:100%;max-height:none;aspect-ratio:auto;filter:none;background:linear-gradient(90deg,#d7d7d2,#f6f6f3 6%,#fafaf8 97%,#d9d9d4);border:7px solid #30302e;border-right-width:9px;border-radius:9px;perspective:none}
  .book-paper{display:none}
  .book-spread::before{display:none}
  .book-leaf{position:absolute;left:0;right:0;top:0;bottom:40px;width:auto;padding:25px 26px 8px;overflow-y:auto;animation:none}
  .book-leaf-right{display:none}
  .book-spread[data-page="2"] .book-leaf-left{display:none}
  .book-spread[data-page="2"] .book-leaf-right{display:block}
  .book-folio{margin-bottom:17px;font-size:8px}
  .book-leaf h2{font-size:36px}
  .book-leaf h3.book-title{font-size:31px}
  .book-leaf p{font-size:12px;line-height:1.85}
  .book-leaf p.book-intro{font-size:14px}
  .book-capability{padding:15px 0}
  .book-capability p{font-size:12px}
  .book-signature{font-size:25px}
  .book-page-number{display:none}
  .book-controls{position:absolute;left:0;right:0;bottom:0;height:40px;display:flex;justify-content:space-between;align-items:center;padding:0 20px;background:#f1f1ed;border-top:1px solid #ddddd6}
  .book-controls button{display:grid;place-items:center;width:31px;height:29px;border:0;border-radius:50%;background:#e3e3dc;font-size:17px}
  .book-controls button:disabled{opacity:.25;cursor:default}
  .book-controls span{font-size:8px;letter-spacing:.12em;color:#84847e}
  .notebook-mode .modal-footer{padding:12px 0 0}
  .notebook-mode .modal-switch button{min-height:43px;font-size:8px}
}
@media(max-width:380px){.scene-v2 .wordmark{font-size:28px;max-width:192px}.scene-v2 .site-header{left:18px;right:18px}.scene-v2 .welcome{left:19px}.scene-v2 .explore-nav button{font-size:7.5px}.book-leaf{padding:22px 22px 8px}}
@media(max-width:1100px) and (max-height:680px){.scene-v2 .site-header{top:20px}.scene-v2 .wordmark{font-size:28px}.scene-v2 .welcome{top:63px}.scene-v2 .contact-dock{bottom:99px}.scene-v2 .pan-toggle{bottom:103px}.scene-v2 .explore-nav{bottom:12px}}
@media(min-width:1101px) and (max-height:720px){.scene-v2 .welcome{display:none;top:8%}.scene-v2 .welcome p{font-size:22px}.scene-v2 .welcome-note{display:none}.scene-v2 .wordmark{font-size:32px}}
.pan-toggle[hidden]{display:none!important}

/* OFICINA 04 — nuevos apartados, sin atribuir experiencias no confirmadas. */
.switch-track.is-unlisted .switch-indicator{opacity:0}
.object-story{padding-top:8px}
.story-emblem{width:58px;height:58px;display:grid;place-items:center;margin-bottom:29px;border:1px solid #dededb;border-radius:18px;background:linear-gradient(145deg,#fff,#eaeae7);box-shadow:inset 0 1px #fff,0 4px 12px #11100006;color:#53535a}
.story-emblem svg{width:28px;height:28px;stroke-width:1.1}
.albion-story .story-emblem{color:#8a6b35;border-color:#ded4c2;background:linear-gradient(145deg,#fff,#eee9df)}
.object-story h2{font-family:var(--serif);font-weight:400;font-size:46px;letter-spacing:-.025em}
.object-story .story-frase{font-size:18px;line-height:1.5;color:#55555b;max-width:320px}
.story-status{display:inline-flex;align-items:center;gap:7px;padding:6px 10px;border:1px solid #dcdcd9;border-radius:999px;font-size:9px;letter-spacing:.04em;color:#78787c;margin:12px 0 0}
.story-status::before{content:'';width:4px;height:4px;border-radius:50%;background:#999}
.story-copy{margin-top:28px;padding-top:23px;border-top:1px solid var(--line)}

/* OFICINA 08 — Albion ocupa la mitad derecha; el reloj conserva su espacio. */
@media(min-width:1101px){
  .info-dialog.albion-mode{inset:24px 24px 24px 50vw;width:calc(50vw - 24px);height:calc(100dvh - 48px);max-width:none;max-height:calc(100dvh - 48px)}
  .albion-mode .modal-scroll{padding:clamp(26px,3vw,54px)}
}
.albion-heading{display:flex;align-items:center;gap:18px;margin-bottom:24px}
.albion-heading .story-emblem{margin:0;flex:none}
.albion-mode .modal-scroll h2{font-family:var(--serif);font-weight:700;font-synthesis:weight;font-size:clamp(38px,4vw,62px);letter-spacing:-.05em}
.albion-story .albion-lead{font-size:clamp(19px,1.7vw,25px);line-height:1.4;color:#333339;max-width:29em;margin-bottom:24px;letter-spacing:-.03em}
.albion-story .albion-origin,.albion-story p{font-size:14px;line-height:1.85}
.albion-story .albion-lead{font-size:clamp(19px,1.7vw,25px);line-height:1.4}
.albion-mission{margin:28px 0;padding:24px;border:1px solid #dedee0;border-radius:21px;background:linear-gradient(135deg,#fff,#f0f0f1);box-shadow:inset 0 1px #fff}
.albion-story .section-label{display:block;font-size:9px;letter-spacing:.13em;line-height:1.6;color:#75757a}
.albion-story h3{font-size:21px;line-height:1.3;margin:11px 0 14px;letter-spacing:-.035em}
.albion-mission p:last-child,.albion-proposal p:last-child{margin-bottom:0}
.albion-chapter{padding:6px 0 28px}
.albion-collaboration{padding-top:28px;border-top:1px solid var(--line)}
.albion-proposal{padding:23px;margin:20px 0;border:1px solid #dedee0;border-radius:21px;background:#ededee}
.albion-proposal-head{display:flex;align-items:center;gap:18px;flex-wrap:wrap;margin-bottom:15px}
.albion-proposal-head strong{font-size:46px;font-weight:500;letter-spacing:-.07em;line-height:1}
.albion-proposal .story-status{margin:0;color:#55555d;border-color:#c9c9cd;background:#fafafa}
.albion-story .text-link{margin-top:5px}
.albion-history{margin:30px 0 36px}
.albion-evolution-list{list-style:none;margin:23px 0 0;padding:0 0 0 25px;border-left:1px solid #d4d4d8}
.albion-evolution-step{position:relative;padding:0 0 23px}
.albion-evolution-step:last-child{padding-bottom:0}
.albion-evolution-step::before{content:'';position:absolute;left:-29px;top:5px;width:7px;height:7px;border-radius:50%;background:#57575f;box-shadow:0 0 0 4px var(--paper)}
.albion-evolution-step time{display:block;margin:0 0 10px;font-size:11px;line-height:1.5;letter-spacing:.09em;color:#6d6d76}
.albion-evolution-card{padding:18px 21px;border:1px solid #e0e0e3;border-radius:18px;background:#fff}
.albion-history-logo{display:block;width:min(200px,100%);height:105px;object-fit:contain;object-position:left center;margin:0 0 16px}
.albion-evolution-card h4{font-size:15px;font-weight:500;line-height:1.4;letter-spacing:-.025em;margin:0 0 7px}
.albion-evolution-card p{font-size:12px;line-height:1.7;margin:0;color:#74747b}
.albion-branch-logo{display:grid;place-items:center;margin:16px 0 23px;padding:20px;border:1px solid #e0e0e3;border-radius:18px;background:#fff}
.albion-branch-logo img{display:block;width:min(170px,100%);height:auto;max-height:160px;object-fit:contain}
.course-list{display:grid;gap:12px;margin-top:26px}
.course-card{display:grid;grid-template-columns:28px 1fr;gap:13px;padding:22px;border:1px solid #dedee0;border-radius:21px;background:linear-gradient(145deg,#fff,#f0f0f1);box-shadow:inset 0 1px #fff}
.course-number{font-size:10px;line-height:2;color:#8a8a90;letter-spacing:.06em}
.course-card h3{font-size:18px;line-height:1.35;overflow-wrap:anywhere}
.course-card p{font-size:12px;margin-bottom:12px}
.course-card .text-link{font-size:11px}
@media(max-width:1100px){
  .info-dialog.albion-mode,.info-dialog.courses-mode{inset:auto 12px max(12px,env(safe-area-inset-bottom)) 12px;width:auto;height:min(73dvh,720px);max-width:none;max-height:calc(100dvh - 100px);border-radius:24px}
  .info-dialog.albion-mode[open],.info-dialog.courses-mode[open]{animation:sheet-in .45s var(--ease) both}
  .info-dialog.albion-mode.is-leaving,.info-dialog.courses-mode.is-leaving{animation:sheet-out .18s ease both}
  .albion-mode .modal-scroll{padding:24px}
  .albion-heading{gap:13px;margin-bottom:21px}
  .albion-mode .modal-scroll h2{font-size:38px}
  .albion-mission,.albion-proposal{padding:20px}
  .albion-story p{font-size:13px}
  .albion-story .albion-lead{font-size:20px}
  .albion-evolution-list{padding-left:21px}
  .albion-evolution-step::before{left:-25px}
  .albion-evolution-card{padding:16px}
  .albion-history-logo{height:98px;margin-bottom:13px}
  .course-card{padding:18px;gap:8px}
}
@media(max-width:1100px) and (max-height:680px){.info-dialog.albion-mode,.info-dialog.courses-mode{height:76dvh}}
.places-gallery{display:grid;gap:20px;margin-top:25px}
.places-gallery figure{margin:0;overflow:hidden;border:1px solid var(--line);border-radius:18px;background:#fff}
.places-gallery img{width:100%;aspect-ratio:4/3;object-fit:cover;display:block}
.places-gallery figcaption{padding:18px}
.places-gallery figcaption h3{font-size:16px}
.places-gallery figcaption>span{display:block;font-size:10px;color:#888;margin-bottom:10px}
@media(max-width:1100px){
  .object-story h2{font-size:39px}
}

@media(max-width:600px){
  .scene-callout{padding:3px;min-height:31px}
  .hotspot-marker{gap:6px}
  .hotspot-plus{width:23px;height:23px;font-size:17px}
  .hotspot-label{font-size:9px;gap:6px;padding-right:7px}
}
