/* JOE STUDIO V5 — visually grounded nine-panel editorial site and professional CMS.
   Layout scales with viewport, no fixed-width mockup or screenshot backgrounds. */
:root{--v5-ink:#14171a;--v5-muted:#777d86;--v5-line:#dde0e5;--v5-card:#f6f7f8;--v5-shadow:0 7px 20px rgba(29,35,45,.075),0 1px 1px rgba(29,35,45,.03);--v5-curve:cubic-bezier(.22,1,.36,1)}
body{background:#e6e8eb}
a,button{ -webkit-tap-highlight-color:transparent }
button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{outline:3px solid #4578c1;outline-offset:3px}
.site-header{position:relative;min-height:62px;grid-template-columns:1fr auto 1fr; background:rgba(253,253,254,.9);backdrop-filter:blur(20px);-webkit-backdrop-filter:blur(20px);border-bottom:1px solid rgba(34,41,50,.085);padding:0 clamp(20px,2.5vw,46px);z-index:70}
.site-header .logo{font-size:22px}.nav-main{gap:clamp(10px,1.5vw,26px)}.site-header .nav-link{font-size:12px;font-weight:590}.site-header .header-orb{width:34px;height:34px;background:#101317}
.site-footer{background:#eef0f2}
.studio-landing{padding:8px clamp(8px,1vw,16px) 0;background:#e4e6e9;position:relative;isolation:isolate}
.studio-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));grid-auto-rows:clamp(258px,29vh,365px);gap:9px;max-width:1800px;margin:auto;}
.studio-tile{min-width:0;min-height:0;position:relative;overflow:hidden;border-radius:15px;background:radial-gradient(ellipse at 21% 2%,#fafafa 0%,#f5f6f7 54%,#e9edf2 100%);border:1px solid rgba(255,255,255,.76);box-shadow:var(--v5-shadow);color:var(--v5-ink);transition:transform .5s var(--v5-curve),box-shadow .5s var(--v5-curve)}
.studio-tile:hover{transform:translateY(-2px);box-shadow:0 16px 34px rgba(29,35,45,.115),0 1px 1px rgba(29,35,45,.03)}
.tile-hd{display:flex;justify-content:space-between;gap:11px;align-items:flex-start;margin:0 0 14px}.tile-hd h2{font-size:clamp(23px,2vw,34px);font-weight:610;letter-spacing:-.065em;line-height:1.07;margin:0 0 5px}.tile-hd p{font-size:clamp(10px,.82vw,13px);line-height:1.4;color:#69737d;margin:0}.tile-hd-column{display:block}.tile-eyebrow,.tile-number{font-size:9px;letter-spacing:.12em;color:#66727e;font-weight:650}.tile-topline{position:absolute;top:20px;left:24px;right:24px;display:flex;justify-content:space-between;z-index:5}
.tile-btn{display:grid;place-items:center;width:29px;height:29px;border-radius:50%;color:#1c2833;border:1px solid #d5dade;transition:transform .3s,background .3s;flex-shrink:0}.tile-btn svg{width:15px;height:15px}.tile-btn:hover{transform:rotate(-45deg);background:#dfe6ed}
.mini-capsule{display:inline-block;font-size:10px;border:1px solid #c4c9d0;border-radius:99px;padding:5px 11px;background:#f7f9fb9c;color:#2e3944;font-weight:580;letter-spacing:-.02em;margin-bottom:13px}
.tile-home .tile-diagonal{position:absolute;inset:-10%;pointer-events:none;background:conic-gradient(from 230deg at 75% 63%,transparent 0deg,rgba(126,145,166,.17) 47deg,transparent 88deg,rgba(112,132,153,.12) 135deg,transparent 198deg,rgba(156,179,195,.23) 270deg,transparent 335deg)}
.tile-intro{position:relative;z-index:3;padding:clamp(55px,6vw,91px) 18px 20px clamp(21px,2.1vw,37px);max-width:66%}.tile-intro h1{font-size:clamp(25px,2.22vw,40px);line-height:1.17;letter-spacing:-.075em;font-weight:680;margin:0 0 13px;white-space:normal}.tile-intro p{color:#59636e;font-size:clamp(10px,.86vw,14px);line-height:1.62;max-width:350px}.tile-action{display:flex;align-items:center;gap:14px;margin-top:18px}.pill-dark{display:inline-flex;align-items:center;gap:14px;justify-content:center;border-radius:99px;background:#15171a;color:white;padding:10px 18px;font-size:11px;font-weight:550;white-space:nowrap;transition:background .25s,transform .25s}.pill-dark:hover{background:#36424e;transform:translateY(-1px)}.pill-dark span{font-size:14px}.pill-compact{padding:8px 13px;font-size:10px}.circle-cta{display:grid;place-items:center;width:34px;height:34px;border-radius:50%;background:#f9fbfc;border:1px solid #dee3e8;font-size:13px;color:#151719}.inline-cta{font-size:11px;color:#2e3b48;white-space:nowrap}.tile-portrait{position:absolute;pointer-events:none;mix-blend-mode:multiply;object-fit:cover;filter:contrast(1.015);user-select:none}.tile-portrait-home{right:-4%;bottom:-10%;width:60%;height:117%;object-position:45% 30%;mask-image:linear-gradient(90deg,transparent 0%,#000 16%),linear-gradient(0deg,transparent 0%,#000 24%);mask-composite:intersect;-webkit-mask-image:linear-gradient(90deg,transparent 0%,#000 16%),linear-gradient(0deg,transparent 0%,#000 24%);-webkit-mask-composite:source-in}.tile-count{position:absolute;bottom:16px;right:20px;z-index:5;color:white;font-size:14px;text-shadow:0 1px 5px #0008}.tile-count small{color:#e3e5e8;font-size:10px}
.tile-now,.tile-career,.tile-works,.tile-notes,.tile-resume{padding:clamp(17px,1.65vw,27px)}.tile-now-main{display:grid;grid-template-columns:48% 1fr;gap:14px;height:49%;min-height:90px}.tile-now-main>img{width:100%;height:100%;object-fit:cover;filter:grayscale(.65);border-radius:8px}.tile-focus-list{min-width:0;display:flex;flex-direction:column;justify-content:space-between;gap:2px}.tile-focus-list a{display:flex;align-items:center;gap:6px;min-width:0;color:#111;text-decoration:none;padding:3px 1px;border-radius:5px;transition:background .2s}.tile-focus-list a:hover{background:#dfe4e8}.focus-icon{width:24px;height:24px;display:grid;place-items:center;border:1px solid #d7dce1;background:#f0f3f5;border-radius:50%;font-size:11px;flex-shrink:0}.tile-focus-list a>div{min-width:0;flex:1}.tile-focus-list strong{display:block;font-size:clamp(10px,.85vw,13px);font-weight:660;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.tile-focus-list small{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:clamp(9px,.69vw,11px);color:#73808b}.focus-go{color:#8d99a5;font-size:16px}.tile-updates{margin-top:12px;border-top:1px solid #e0e3e6;padding-top:8px}.tile-updates>strong{font-size:12px}.tile-updates>div{display:grid;grid-template-columns:repeat(3,1fr);margin-top:6px;gap:4px}.tile-updates a{display:flex;align-items:flex-start;gap:6px;border-right:1px solid #e0e3e6;min-width:0}.tile-updates a:last-child{border:0}.tile-updates span{font-size:9px;color:#888}.tile-updates b{font-size:9px;font-weight:540;white-space:normal;line-height:1.45;max-height:30px;overflow:hidden}
.tile-about{padding:clamp(20px,1.8vw,33px)}.tile-about .tile-hd{z-index:3;position:relative}.tile-about .tile-hd h2{font-size:clamp(28px,2.5vw,40px)}.tile-about-bio{z-index:3;position:relative;width:57%;font-size:clamp(10px,.95vw,14px);line-height:1.75;color:#565f69;margin-top:18px}.tile-about .tile-portrait-about{width:53%;height:113%;right:-2%;bottom:-20%;object-position:51% 34%;mask-image:linear-gradient(90deg,transparent 0%,#000 18%),linear-gradient(0deg,transparent 0%,#000 25%);mask-composite:intersect;-webkit-mask-image:linear-gradient(90deg,transparent 0%,#000 18%),linear-gradient(0deg,transparent 0%,#000 25%);-webkit-mask-composite:source-in}.tile-curve{position:absolute;z-index:0;width:72%;height:55%;border-radius:80% 0 0 0;background:linear-gradient(100deg,#d4dbe5,#b0bccb);bottom:-6%;right:-4%;opacity:.55}.tile-stats{display:flex;position:absolute;z-index:4;left:5%;right:39%;bottom:22px;gap:12px;border-top:1px solid #dbe0e4;padding-top:12px}.tile-stats>div{flex:1}.tile-stats strong{display:block;font-size:clamp(17px,1.62vw,25px);letter-spacing:-.065em}.tile-stats span{display:block;color:#6d7580;font-size:9px;white-space:nowrap}.tile-bottom-link{position:absolute;z-index:4;bottom:75px;left:5%}.tile-bottom-link .pill-dark{padding:9px 16px}
.tile-why{padding:clamp(18px,1.8vw,30px)}.tile-values{display:grid;grid-template-columns:1fr 1fr;gap:0 15px;height:70%;align-items:stretch}.tile-value{display:flex;align-items:center;gap:9px;padding:14px 5px;border-bottom:1px solid #dfe3e7;min-width:0}.tile-value:nth-last-child(-n+2){border-bottom:0}.tile-value>span{width:32px;height:32px;border-radius:50%;background:#eef1f5;border:1px solid #dce1e7;display:grid;place-items:center;flex-shrink:0;font-size:18px;color:#3e4956}.tile-value strong{font-size:clamp(11px,.98vw,15px);display:block;line-height:1.35}.tile-value small{font-size:clamp(9px,.7vw,11px);color:#74808a;display:block;margin-top:3px;line-height:1.38}
.tile-career-visual{display:grid;grid-template-columns:72% 1fr;gap:12px;height:58%;overflow:hidden}.tile-career-visual>img{width:100%;height:100%;object-fit:cover;border-radius:8px;object-position:50% 57%}.tile-career-summary{padding:10px 0;display:flex;flex-direction:column;position:relative}.tile-career-summary strong{font-size:12px}.tile-career-summary p{font-size:10px;color:#7a8792;line-height:1.65;margin-top:10px}.round-light{position:absolute;bottom:3px;right:2px;border-radius:100%;width:30px;height:30px;background:#111;display:grid;place-items:center;color:white}.round-light svg{width:16px;height:16px}.tile-career-stages{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;border-top:1px solid #dce1e5;padding-top:9px;margin-top:10px}.tile-career-stages a{min-width:0;color:inherit}.tile-career-stages b,.tile-career-stages strong,.tile-career-stages small{display:block}.tile-career-stages b{font-size:9px;color:#707b85}.tile-career-stages strong{font-size:10px;font-weight:620;line-height:1.4}.tile-career-stages small{font-size:9px;color:#8a949c;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.tile-works-tabs{display:flex;gap:4px;margin-top:6px;flex-wrap:wrap;justify-content:flex-end}.tile-works-tabs a{font-size:9px;color:#3d4956;border:1px solid #d8dce1;border-radius:99px;padding:5px 8px;white-space:nowrap}.tile-works-tabs a:first-child{background:#111;color:#fff}.tile-featured-projects{display:grid;grid-template-columns:1fr 1fr;gap:9px;height:calc(100% - 67px)}.tile-project{display:block;position:relative;overflow:hidden;border-radius:9px;min-height:0;color:white}.tile-project>img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;filter:brightness(.48);transition:transform .65s var(--v5-curve)}.tile-project:hover>img{transform:scale(1.06)}.tile-project>div{position:absolute;left:14px;right:12px;bottom:12px;z-index:2}.tile-project h3{font-size:clamp(19px,1.8vw,29px);line-height:1;font-weight:650;letter-spacing:-.055em;margin:0 0 7px}.tile-project strong{font-size:clamp(10px,.83vw,13px)}.tile-project p{font-size:9px;line-height:1.42;margin:5px 0 9px;color:#e6edf3;max-height:25px;overflow:hidden}.tile-project-light{color:#20242a}.tile-project-light>img{filter:brightness(.95)}.tile-project-light>div{text-shadow:0 1px 2px #ffffff99}.tile-project-light p{color:#53606e}.chips{display:flex;gap:4px;flex-wrap:wrap}.chips b{font-size:8px;font-weight:500;padding:4px 6px;border-radius:99px;background:#dbe3ee;color:#24303e;text-shadow:none}.project-go{position:absolute;right:13px;top:12px;width:26px;height:26px;background:#ffffff33;backdrop-filter:blur(10px);display:grid;place-items:center;border-radius:50%;font-size:13px}
.tile-notes-content{display:grid;grid-template-columns:54% 1fr;gap:10px;height:calc(100% - 61px)}.tile-note-featured{min-width:0;border-radius:9px;overflow:hidden;position:relative;color:white;background:#28333f;display:flex;flex-direction:column;justify-content:flex-end;padding:14px}.tile-note-featured:after{content:"";position:absolute;inset:0;background:linear-gradient(to top,rgba(0,0,0,.75),transparent 80%)}.tile-note-featured img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;filter:brightness(.75)}.tile-note-featured span,.tile-note-featured strong{position:relative;z-index:2}.tile-note-featured span{font-size:9px}.tile-note-featured strong{font-size:clamp(13px,1.13vw,19px);line-height:1.3;margin-top:9px;letter-spacing:-.04em;font-weight:580}.tile-note-list{min-width:0;display:flex;flex-direction:column;gap:7px}.tile-note-list a{display:flex;align-items:center;gap:8px;flex:1;min-height:0}.tile-note-list a img{height:100%;width:38%;object-fit:cover;border-radius:6px}.tile-note-list span{min-width:0}.tile-note-list small,.tile-note-list b{display:block}.tile-note-list small{color:#8793a0;font-size:9px;margin-bottom:4px}.tile-note-list b{font-size:clamp(10px,.82vw,12px);line-height:1.3;font-weight:600;max-height:38px;overflow:hidden}.tile-small-more{font-size:9px;color:#3e4c59;white-space:nowrap}
.tile-resume-main{display:grid;grid-template-columns:53% 1fr;align-items:center;gap:15px;height:calc(100% - 65px);overflow:hidden}.tile-paper{height:100%;max-height:250px;overflow:hidden;display:block;border-radius:5px;background:#e0e5e8;box-shadow:0 8px 19px #0002;text-align:center}.tile-paper img{height:100%;width:auto;max-width:95%;object-fit:cover;object-position:top center;box-shadow:0 7px 24px #0001}.tile-resume-list{display:flex;flex-direction:column;gap:9px;justify-content:center}.tile-resume-list>a{display:flex;align-items:center;gap:8px;border-bottom:1px solid #dce1e5;padding:8px 0}.tile-resume-list>a:last-child{border:0}.tile-resume-list>a>span{font-size:17px;color:#7e8994}.tile-resume-list>a>div{flex:1;min-width:0}.tile-resume-list strong{font-size:clamp(10px,.8vw,12px);display:block}.tile-resume-list small{font-size:9px;color:#929ca7}.tile-resume-list b{font-size:13px;font-weight:400}
.tile-contact>img{position:absolute;right:-2%;top:0;width:57%;height:100%;object-fit:cover;border-radius:0 0 0 130px;filter:grayscale(1);mask-image:linear-gradient(to right,transparent 0%,black 30%)}.tile-contact-copy{position:relative;z-index:2;padding:clamp(20px,1.8vw,30px);height:100%;display:flex;flex-direction:column;align-items:flex-start}.tile-contact-list{margin:9px 0 auto;display:flex;flex-direction:column;gap:9px;min-width:0}.tile-contact-list a{display:flex;align-items:center;gap:10px;color:#171b20;text-decoration:none;min-width:0}.tile-contact-list a>span{font-size:14px;width:22px}.tile-contact-list strong,.tile-contact-list small{display:block}.tile-contact-list strong{font-size:11px}.tile-contact-list small{font-size:10px;color:#697582;max-width:180px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.tile-contact-copy>.pill-dark{margin-top:14px}
.studio-scroll-hint{display:flex;justify-content:space-between;gap:20px;font-size:9px;letter-spacing:.12em;color:#79818b;max-width:1800px;margin:auto;padding:13px 4px}.studio-home>.content-section{scroll-margin-top:55px}
.studio-rich-published{padding:46px 0;border-top:1px solid #d2d6db;margin-top:55px;max-width:1000px}.studio-rich-published-label{font-size:11px;letter-spacing:.12em;margin-bottom:24px;color:#7f8d98}.studio-rich-published h2{font-size:clamp(28px,3vw,48px);margin:30px 0 15px;letter-spacing:-.05em}.studio-rich-published h3{font-size:clamp(21px,2vw,32px);margin:24px 0 13px}.studio-rich-published p,.studio-rich-published li{color:#596672;line-height:1.9;font-size:clamp(14px,1.2vw,18px)}.studio-rich-published blockquote{border-left:3px solid #8998a9;padding:12px 20px;background:#ecf0f2;margin:20px 0}.studio-rich-published a{text-decoration:underline;color:#274c72}
/* CMS: three-panel studio resembling approved screenshot. */
body:has(.admin-app){background:#f1f3f7;overflow-x:hidden}
.admin-app{padding:0;background:#f0f2f6;min-height:100svh;font-family:-apple-system,BlinkMacSystemFont,'Segoe UI','PingFang SC','Microsoft YaHei',sans-serif}
.admin-app>.studio-shell{display:grid;grid-template-columns:162px 194px minmax(0,1fr) 310px;min-height:100svh;max-width:none}
.admin-app .studio-primary{background:linear-gradient(150deg,#101a2b,#101826);color:#e5eaf2;min-height:100svh;position:sticky;top:0;height:100svh;padding:18px 12px;display:flex;flex-direction:column;gap:15px;border-right:1px solid #1b2940;z-index:2}
.studio-cms-logo{font-size:17px;font-weight:700;letter-spacing:-.06em;padding:0 5px}.studio-cms-logo span{display:inline-grid;place-items:center;border-radius:7px;background:#4c68d4;color:white;width:24px;height:24px;font-size:16px;vertical-align:middle;margin-right:7px}.studio-cms-logo small{display:block;font-size:9px;letter-spacing:0;font-weight:400;margin:7px 0 0 32px;color:#a9b3c5}.studio-account{display:flex;gap:8px;border-top:1px solid #273143;padding-top:18px;align-items:center}.studio-account img{width:35px;height:35px;border-radius:50%;object-fit:cover}.studio-account strong{font-size:11px;white-space:nowrap}.studio-account small{display:block;font-size:9px;color:#97a9bc}.studio-online{color:#5de9a4;font-size:10px;padding-left:7px}.studio-primary button,.studio-primary a{font:inherit;color:#b8c4d5;border:0;border-radius:7px;padding:11px 10px;cursor:pointer;text-align:left;background:transparent;font-size:12px;display:flex;gap:9px;align-items:center;transition:background .2s}.studio-primary button.active,.studio-primary button:hover{background:linear-gradient(100deg,#536fe4,#5b72ca);color:white}.studio-primary .studio-log-out{margin-top:auto;font-size:10px;color:#abbad1;justify-content:space-between;border-top:1px solid #2b384e;border-radius:0}.studio-primary .nav-symbol{width:16px;text-align:center;font-size:15px}
.admin-app .studio-sections{background:#f8faff;border-right:1px solid #e2e6ee;padding:25px 12px;min-height:100svh;position:sticky;top:0;height:100svh;overflow-y:auto}.studio-sections>h2{font-size:14px;margin:0 6px 23px;color:#171d2b;letter-spacing:-.03em}.studio-nav-caption{font-size:10px;color:#8993a5;padding:12px 7px 7px}.studio-sections button{width:100%;font-size:11px;text-align:left;background:none;border:0;color:#354153;padding:10px 11px;border-radius:7px;display:flex;justify-content:space-between;gap:8px;cursor:pointer;align-items:center}.studio-sections button.active,.studio-sections button:hover{background:#e4eafd;color:#3143a6}.studio-sections button .check{color:#58a17e}.studio-sections button.muted{color:#77849a}.studio-sections .nav-sub{padding-left:24px;font-size:10px}
.admin-app .studio-workspace{min-width:0;padding:17px clamp(15px,1.6vw,24px) 55px;min-height:100svh}.studio-workspace-top{display:flex;justify-content:space-between;align-items:center;gap:15px;margin-bottom:14px;border-bottom:1px solid #e2e6eb;padding-bottom:13px}.studio-workspace-title{font-size:clamp(16px,1.45vw,23px);font-weight:700;letter-spacing:-.05em;line-height:1.3}.studio-workspace-sub{font-size:10px;color:#8894a6;margin-top:6px}.studio-actions{display:flex;gap:7px;align-items:center;flex-wrap:wrap}.studio-actions button,.studio-actions a{border:1px solid #d7dfe9;border-radius:8px;padding:9px 12px;font-size:10px;color:#354359;cursor:pointer;background:white;white-space:nowrap}.studio-actions button.primary{background:#0b0d11;color:#fff;border-color:#0b0d11}.studio-actions button:hover{border-color:#8d9db0}
.admin-app .studio-body{min-width:0}.studio-body .admin-card{background:white;border-radius:12px;border:1px solid #e6e9ef;box-shadow:0 3px 14px #1d355008}.studio-body .admin-card:first-child{margin-top:0}.studio-body h2{font-size:18px;letter-spacing:-.035em}.studio-body .admin-tabs{display:none}.studio-body .admin-card>h2{margin-bottom:12px}.studio-body .admin-hero{display:none}.studio-body .admin-note{font-size:11px;line-height:1.65;color:#8a92a2}.studio-body .admin-fields{gap:11px}.studio-body label{font-size:11px;color:#455165}.studio-body input,.studio-body textarea,.studio-body select{border-radius:8px;border-color:#dbe2eb;background:white;font-size:12px}.studio-body .black-button{background:#111921;padding:11px 19px;border-radius:9px;font-size:11px}.studio-body .tag{background:#f3f5f8;border:1px solid #e1e6ed;border-radius:8px;color:#4b586b;cursor:pointer}.studio-body .tag.active{background:#e3e9ff;color:#364fa6}.studio-body .admin-list-item{border-color:#edf0f3}
.studio-inspector{background:#edf1f7;border-left:1px solid #dce2eb;min-width:0;padding:17px 12px;position:sticky;top:0;height:100svh;overflow:auto}.studio-inspector-header{display:flex;align-items:center;justify-content:space-between;font-size:13px;font-weight:690;padding:0 2px 14px}.studio-inspector-header button{font-size:10px;padding:7px;background:#fff;border:1px solid #dce1e9;border-radius:7px;cursor:pointer}.studio-inspector-preview{background:white;padding:10px;border-radius:10px;border:1px solid #e0e6ef;box-shadow:0 8px 30px #293b5212}.studio-inspector-preview iframe{border:0;display:block;width:100%;height:480px;background:#f8f8f8;border-radius:9px}.studio-inspector-preview .preview-modes{display:flex;justify-content:flex-end;gap:4px;margin-bottom:10px}.preview-modes button{padding:7px 8px;background:#f4f6f9;color:#46536b;border:0;border-radius:6px;font-size:11px;cursor:pointer}.preview-modes button.active{background:#e4e9f5;color:#273f86}.studio-inspector-caption{font-size:10px;line-height:1.7;color:#7b889a;padding:13px 3px}.studio-inspector-open{display:block;font-size:11px;color:#354a68;text-align:center;border:1px solid #dfe5ef;padding:10px;border-radius:9px;background:#fff}
.studio-edit-tabs{display:flex;flex-wrap:wrap;gap:5px;background:white;padding:7px 8px;margin-bottom:12px;border-radius:11px;border:1px solid #e2e7ed;position:sticky;top:0;z-index:6}.studio-edit-tabs a{font-size:10px;padding:9px 10px;color:#526072;border-radius:6px;white-space:nowrap}.studio-edit-tabs a:hover,.studio-edit-tabs a.active{color:#2c45a3;background:#e8edff}.studio-editor-layout{display:grid;grid-template-columns:minmax(0,1fr) 155px;gap:12px;align-items:start}.studio-editor-layout>.studio-editor-core{min-width:0}.studio-editor-layout>.studio-structure{position:sticky;top:62px;background:white;padding:12px 8px;border:1px solid #e1e6ee;border-radius:10px;max-height:75vh;overflow-y:auto}.studio-structure h3{font-size:11px;padding:6px;color:#172133}.studio-structure button{font-size:10px;border:1px solid #e0e6ee;background:#fbfcfe;border-radius:6px;padding:9px 7px;width:100%;text-align:left;margin:3px 0;color:#475468;cursor:pointer}.studio-structure button:hover{background:#eaf0fd}.studio-structure small{font-size:9px;color:#7d899a;padding:6px;display:block}.studio-structure .drag-hint{font-size:9px;color:#8793a1}
.studio-editor-core .admin-fields{grid-template-columns:repeat(2,minmax(0,1fr))}.studio-editor-core .field.full{grid-column:span 2}.studio-editor-core .field textarea{min-height:98px}.studio-rich-editor{background:#fff;margin:12px 0 20px;border:1px solid #dfe5ed;border-radius:11px;overflow:hidden}.studio-rich-toolbar{display:flex;gap:2px;align-items:center;border-bottom:1px solid #e4e8ef;padding:8px;flex-wrap:wrap;background:#fbfcfe;position:sticky;top:0;z-index:4}.studio-rich-toolbar button{border:0;background:none;color:#475772;min-width:32px;min-height:31px;border-radius:6px;cursor:pointer;padding:5px 7px;font-size:12px}.studio-rich-toolbar button:hover{background:#e4ebf5}.studio-rich-toolbar .toolbar-divider{height:17px;width:1px;background:#d7dfe8;margin:0 6px}.studio-rich-toolbar .editor-caption{font-size:11px;color:#7a8797;margin-left:auto;padding-right:8px}.studio-rich-content{min-height:280px;max-height:550px;overflow:auto;padding:23px 26px;color:#17202b;font-size:14px;line-height:1.85;outline:0}.studio-rich-content:empty:before{content:attr(data-placeholder);color:#99a5b5}.studio-rich-content h2{font-size:25px;margin:14px 0}.studio-rich-content h3{font-size:19px;margin:12px 0}.studio-rich-content ul,.studio-rich-content ol{padding-left:26px}.studio-rich-content blockquote{border-left:3px solid #7e8fad;padding:10px 15px;background:#f2f6fa;margin:15px 0}.studio-editor-label{font-size:11px;font-weight:600;color:#515f73;margin:14px 0 8px}.studio-rich-footnote{font-size:10px;color:#8592a3;padding:0 16px 12px}
.studio-body .admin-card.case-form-panel{padding:20px!important}.studio-body .rich-block-editor{border-radius:9px;background:#f8fafc}.rich-block-editor[draggable=true]{cursor:grab}.rich-block-editor.dragging{opacity:.35}.rich-block-editor.drop-target{outline:2px dashed #4b70c6;outline-offset:3px}.rich-block-editor .drag-handle{cursor:grab;user-select:none;font-size:13px;color:#576479;margin-right:7px}.studio-body #block-list{max-width:100%}
.studio-toast{position:fixed;bottom:20px;right:25px;z-index:10000;background:#1b293c;color:#fff;border-radius:9px;padding:12px 20px;box-shadow:0 12px 28px #0003;font-size:12px;max-width:min(400px,90vw)}.studio-toast[hidden]{display:none}
.studio-login{min-height:100vh;display:grid;place-items:center;background:radial-gradient(circle at 65% 10%,#d4dce7,#e7eaf0 60%,#d8dce4)}.studio-login .login-wrap{width:min(420px,92vw);margin:auto}.studio-login .admin-card{padding:35px;background:#fff;border:1px solid #e3e7eb;box-shadow:0 18px 55px #3547601e;border-radius:16px}.studio-login .admin-card h2{font-size:31px}.studio-login .field input{width:100%;min-height:50px}.studio-login .black-button{margin-top:12px;width:100%;justify-content:center}.studio-login .eyebrow{font-size:12px;color:#5e6b81}
/* Responsive: explicit 2-column tablet and stacked mobile rather than shrinking nine cards. */
@media(max-width:1270px){.studio-grid{grid-auto-rows:clamp(255px,27vh,335px)}.tile-intro{max-width:70%;padding-top:67px}.tile-portrait-home{width:58%}.tile-hd h2{font-size:26px}.tile-about .tile-portrait-about{width:55%}.tile-about-bio{font-size:11px}.tile-now-main{grid-template-columns:44% 1fr}.studio-editor-layout{grid-template-columns:1fr}.studio-editor-layout>.studio-structure{position:relative;top:auto;order:-1;max-height:240px}.studio-structure{display:flex;gap:6px;flex-wrap:wrap}.studio-structure h3{width:100%}.studio-structure button{width:auto!important;flex:1;min-width:100px}}
@media(max-width:1100px){.site-header{grid-template-columns:1fr auto}.studio-grid{grid-template-columns:repeat(2,minmax(0,1fr));grid-auto-rows:clamp(282px,32vh,365px)}.studio-tile.tile-home{grid-column:span 2}.tile-home .tile-intro{max-width:56%;padding-top:80px}.tile-home .tile-portrait-home{width:47%;right:3%}.tile-about .tile-portrait-about{width:55%}.admin-app>.studio-shell{grid-template-columns:72px 165px minmax(0,1fr)}.admin-app .studio-primary{padding:12px 6px}.studio-cms-logo{font-size:0}.studio-cms-logo span{font-size:14px;margin:0}.studio-cms-logo small,.studio-account div,.studio-online,.studio-primary button span:not(.nav-symbol),.studio-primary .studio-log-out{display:none}.studio-account img{width:39px;height:39px}.studio-primary button{justify-content:center;padding:12px 4px}.studio-primary .nav-symbol{font-size:17px}.studio-inspector{grid-column:3;position:relative;top:auto;height:auto;border-top:1px solid #dce1ec}.studio-inspector-preview iframe{height:400px}.studio-workspace{grid-column:3}.studio-workspace-top{flex-wrap:wrap}}
@media(max-width:760px){.site-header{min-height:62px}.studio-landing{padding:7px 7px 0}.studio-grid{display:flex;flex-direction:column;gap:9px}.studio-tile{flex:none;min-height:300px}.tile-home{min-height:490px}.tile-intro{max-width:86%;padding:45px 22px 0}.tile-intro h1{font-size:clamp(29px,7vw,42px)}.tile-intro p{font-size:12px;max-width:260px}.tile-home .tile-portrait-home{width:89%;height:74%;right:-20%;bottom:-11%;object-position:50% 21%}.tile-count{bottom:19px}.tile-about{min-height:350px}.tile-about-bio{font-size:12px;width:58%;max-width:260px}.tile-about .tile-portrait-about{width:58%;height:91%;bottom:-7%}.tile-works{min-height:340px}.tile-notes{min-height:350px}.tile-resume{min-height:325px}.tile-contact{min-height:340px}.tile-why{min-height:310px}.tile-career{min-height:330px}.tile-now{min-height:320px}.tile-now-main{height:50%;grid-template-columns:48% 1fr}.tile-focus-list strong{font-size:11px}.tile-focus-list small{font-size:9px}.tile-value strong{font-size:11px}.tile-value small{font-size:10px}.tile-career-visual{height:59%}.tile-project h3{font-size:25px}.tile-hd h2{font-size:27px}.tile-hd p{font-size:11px}.tile-resume-list strong{font-size:11px}.tile-paper{max-height:250px}.tile-stats strong{font-size:22px}.tile-home .tile-topline{top:18px}.studio-home>.content-section{padding-top:75px;padding-bottom:85px}.admin-app>.studio-shell{display:block;min-height:100vh}.admin-app .studio-primary{position:relative;height:auto;min-height:0;flex-direction:row;padding:9px 12px;align-items:center;gap:8px}.studio-account{border:0;padding:0;margin-left:auto}.studio-primary button{display:none!important}.studio-cms-logo{font-size:18px}.studio-cms-logo span{margin-right:6px}.admin-app .studio-sections{position:relative;height:auto;min-height:0;display:flex;align-items:center;overflow:auto;white-space:nowrap;padding:8px;border-bottom:1px solid #e1e7ef}.studio-sections>h2,.studio-sections>.studio-nav-caption{display:none}.studio-sections button{width:auto;flex:none;white-space:nowrap;font-size:11px;padding:8px}.studio-sections .nav-sub{display:none}.admin-app .studio-workspace{padding:15px 12px 25px}.studio-workspace-title{font-size:18px}.studio-workspace-top{align-items:flex-start}.studio-actions button{padding:8px}.studio-inspector{padding:12px;height:auto}.studio-inspector-preview iframe{height:500px}.studio-editor-layout{display:block}.studio-editor-core .admin-fields{grid-template-columns:1fr}.studio-editor-core .field.full{grid-column:auto}.studio-edit-tabs{position:relative;top:auto;overflow:auto;flex-wrap:nowrap}.studio-rich-content{min-height:230px;padding:18px}.studio-body .admin-card{padding:16px!important}}
@media(max-width:400px){.tile-home .tile-intro{max-width:95%}.tile-home .tile-portrait-home{opacity:.88;right:-31%;width:101%;bottom:-13%}.tile-intro h1{font-size:29px}.tile-contact-list small{max-width:165px}.tile-project p{font-size:8px}.tile-works-tabs a{font-size:8px;padding:4px 6px}.tile-hd h2{font-size:25px}}
@media(prefers-reduced-motion:reduce){.studio-tile,.tile-project img,.pill-dark{transition:none!important;transform:none!important}}

/* Final optical calibrations against the approved composition. */
@media(min-width:1101px){.tile-intro{max-width:81%;padding-top:clamp(51px,4.1vw,66px)}.tile-intro h1{font-size:clamp(24px,1.8vw,33px);line-height:1.13;margin-bottom:10px}.tile-intro p{font-size:clamp(10px,.74vw,12px);max-width:320px;line-height:1.5}.tile-action{margin-top:12px}.mini-capsule{margin-bottom:8px}.tile-portrait-home{width:55%;right:-7%}.tile-about-bio{position:absolute;top:32%;left:5%;font-size:clamp(10px,.83vw,12px);line-height:1.65;max-height:70px;overflow:hidden}.tile-bottom-link{bottom:64px}.tile-stats{bottom:15px}.tile-now-main{height:49%}.tile-works .tile-hd{margin-bottom:10px}.tile-works .tile-featured-projects{height:calc(100% - 59px)}}
@media(max-width:760px){.tile-home .tile-portrait-home{right:-2%;width:95%;height:75%}.tile-intro{padding-top:52px}.tile-about-bio{position:absolute;top:32%;left:6%;width:53%;font-size:12px;line-height:1.6;max-height:90px;overflow:hidden}.tile-bottom-link{bottom:80px}}
.studio-inspector-preview iframe{min-height:470px}
.studio-inspector-preview{overflow:hidden}.studio-inspector-preview[data-device="desktop"]{height:550px}.studio-inspector-preview[data-device="desktop"] iframe{width:1080px;height:1850px;max-width:none;transform:scale(.245);transform-origin:top left}
.studio-editor-core .studio-rich-editor{scroll-margin-top:90px}
.studio-editor-core #cms-base,.studio-editor-core #cms-assets,.studio-editor-core #cms-case,.studio-editor-core #cms-blocks{scroll-margin-top:90px}


/* V7 Editorial media library. Detached from public pages. */
.cms-cover-panel{grid-column:1/-1;display:grid;grid-template-columns:minmax(180px,260px) 1fr;gap:18px;align-items:center;padding:15px;border:1px solid #e4e8ed;border-radius:16px;background:#f6f7f8}
.cms-cover-frame{aspect-ratio:16/10;border-radius:12px;overflow:hidden;background:#dfe4e8;box-shadow:0 7px 20px rgba(15,23,36,.08)}
.cms-cover-frame img,.cms-library-thumb img{width:100%;height:100%;object-fit:cover;display:block}
.cms-cover-panel-copy{display:flex;align-items:flex-start;flex-direction:column;gap:12px}
.cms-cover-panel-copy strong{font-size:15px;color:#17212b}.cms-cover-panel-copy small{font-size:12px;color:#76818d;line-height:1.6}
.cms-media-btn,.cms-library-tile-actions button{font:inherit;border:1px solid #bbc7d3;background:#fff;color:#243444;border-radius:30px;padding:10px 18px;cursor:pointer;transition:all .18s ease}
.cms-media-btn{background:#1d2835;border-color:#1d2835;color:white}.cms-media-btn:hover{background:#38495d;transform:translateY(-1px)}
.cms-media-workspace{display:grid;gap:22px}.cms-media-intro{border-radius:22px;padding:32px;background:linear-gradient(130deg,#f9fafb,#ebedf0);border:1px solid #e1e5e9}
.cms-media-intro h2{font-size:clamp(29px,3.4vw,44px);margin:10px 0;letter-spacing:-.05em;color:#131b25}.cms-media-intro>p{max-width:700px;font-size:14px;line-height:1.9;color:#5b6775}
.cms-media-stats{display:flex;gap:clamp(16px,3vw,36px);margin-top:28px}.cms-media-stats strong{font-size:27px;line-height:1.05;color:#162331}.cms-media-stats small{display:block;margin-top:8px;color:#657283;font-size:11px;font-weight:400}
.cms-media-upload{background:white;padding:25px;border:1px solid #e5e8eb;border-radius:18px}.cms-media-upload h3,.cms-media-toolbar h3{font-size:20px;margin:0 0 8px}.cms-media-upload>p,.cms-media-toolbar p{color:#7a8693;font-size:12px;line-height:1.6;margin:0 0 15px}
.cms-media-upload-row{display:grid;grid-template-columns:minmax(160px,1fr) minmax(130px,165px) minmax(190px,1fr) auto;gap:10px;align-items:center}.cms-media-upload-row input,.cms-media-upload-row select,.cms-media-search input,.cms-media-search select,.cms-library-toolbar input,.cms-library-toolbar select{width:100%;min-width:0;border:1px solid #dfe4e8;background:#fbfcfd;border-radius:12px;min-height:42px;padding:8px 12px;font:inherit;color:#1b2b3c}
.cms-media-upload-row input[type=file]{font-size:11px;padding:8px}.cms-media-toolbar{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:15px}.cms-media-search{display:flex;gap:9px;width:min(100%,500px)}
.cms-library-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.cms-library-tile{border:1px solid #e1e6eb;border-radius:16px;overflow:hidden;background:#fff;box-shadow:0 3px 12px rgba(31,45,60,.03)}
.cms-library-thumb{aspect-ratio:16/10;display:block;overflow:hidden;background:#e0e6ed}.cms-library-thumb img{transition:transform .4s cubic-bezier(.21,.6,.3,1)}.cms-library-tile:hover .cms-library-thumb img,.cms-library-card:hover img{transform:scale(1.035)}
.cms-library-tile-info{padding:15px}.cms-library-tile-info strong,.cms-library-card strong{display:block;color:#1e2c3b;font-size:14px}.cms-library-tile-info small,.cms-library-card small{display:block;color:#758391;font-size:11px;margin-top:5px;line-height:1.4}.cms-library-tile-info p{margin:10px 0 14px;color:#697686;font-size:12px;min-height:34px;line-height:1.5}
.cms-library-tile-actions{display:flex;gap:8px;flex-wrap:wrap}.cms-library-tile-actions button{font-size:11px;padding:7px 12px}.cms-library-tile-actions .danger{color:#a34c4c;border-color:#f1dddd}
.cms-library-overlay{position:fixed;z-index:9999;inset:0;background:rgba(12,17,23,.69);backdrop-filter:blur(15px);display:grid;place-items:center;padding:22px}.cms-library-modal{width:min(1120px,100%);max-height:min(90vh,940px);display:flex;flex-direction:column;overflow:hidden;background:#f6f7f8;border-radius:22px;box-shadow:0 35px 100px rgba(0,0,0,.25)}
.cms-library-modal-head{padding:26px 30px 14px;display:flex;justify-content:space-between;align-items:flex-start;gap:20px}.cms-library-modal-head h2{font-size:27px;letter-spacing:-.05em;margin:6px 0;color:#182331}.cms-library-modal-head p{color:#6f7b86;font-size:12px;line-height:1.7}.cms-modal-close{background:white;border:1px solid #dfe5e9;border-radius:50%;width:40px;height:40px;font-size:28px;cursor:pointer}
.cms-library-toolbar{padding:12px 30px 22px;display:flex;gap:10px;align-items:center}.cms-library-toolbar input{flex:1}.cms-library-toolbar select{max-width:190px}.cms-library-toolbar span{font-size:12px;white-space:nowrap;color:#82909c}
.cms-library-picker-grid{padding:0 30px 30px;overflow:auto;grid-template-columns:repeat(4,minmax(0,1fr));align-items:start}.cms-library-card{text-align:left;display:block;width:100%;min-width:0;padding:0;border:1px solid #e0e5e9;background:white;border-radius:14px;overflow:hidden;cursor:pointer;transition:box-shadow .2s,border-color .2s}.cms-library-card:hover{border-color:#8ea0b3;box-shadow:0 9px 28px rgba(25,45,65,.10)}.cms-library-card-info{display:block;padding:12px}.cms-select-label{display:block;font-size:11px;color:#647b94;padding:0 12px 13px}
@media(max-width:1150px){.cms-media-upload-row{grid-template-columns:1fr 1fr}.cms-library-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.cms-library-picker-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:670px){.cms-media-intro,.cms-media-upload{padding:18px}.cms-media-upload-row{grid-template-columns:1fr}.cms-media-search{width:100%}.cms-library-grid{grid-template-columns:1fr}.cms-library-picker-grid{grid-template-columns:repeat(2,minmax(0,1fr));padding:0 14px 16px}.cms-library-modal-head{padding:18px 16px 8px}.cms-library-toolbar{padding:12px 16px;flex-wrap:wrap}.cms-library-toolbar input{flex-basis:100%}.cms-library-toolbar select{flex:1}.cms-cover-panel{grid-template-columns:1fr}.cms-cover-frame{max-width:360px}.cms-library-modal{max-height:94vh}.cms-media-stats{gap:20px}}
@media(prefers-reduced-motion:reduce){.cms-library-card img,.cms-library-thumb img,.cms-media-btn{transition:none!important}}
