@import url('https://fonts.googleapis.com/css2?family=DM+Mono:wght@400;500&family=Manrope:wght@400;500;600;700;800&family=Noto+Sans+SC:wght@400;500;700;900&display=swap');
:root{font-family:Manrope,'Noto Sans SC',sans-serif;color:#1a202c;background:#edf3ff;line-height:1.5;font-synthesis:none;--ink:#162033;--muted:#66748b;--line:#cbd7ea;--blue:#2c6bff;--coral:#ff6766;--mint:#20d796}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:linear-gradient(120deg,#f4f7ff 0%,#edf3ff 55%,#eaf9fb 100%)}button,a{font:inherit}button{cursor:pointer}a{color:inherit;text-decoration:none}.site{overflow:hidden}.section-pad{padding:0 clamp(24px,7vw,112px)}.nav{height:78px;display:flex;align-items:center;justify-content:space-between;padding:0 clamp(24px,7vw,112px);position:relative;z-index:5}.brand{font-size:14px;font-weight:800;letter-spacing:.16em;display:flex;align-items:center;gap:9px}.brand-dot{width:13px;height:13px;background:var(--blue);border-radius:50%;box-shadow:13px 0 0 #79a3ff,-13px 0 0 #b9d4ff}.brand-sub{font-size:10px;font-weight:500;color:var(--muted);letter-spacing:.08em;margin-left:8px}.nav-links{display:flex;gap:36px;font-size:13px;color:#56657d}.nav-links a{transition:color .2s}.nav-links a:hover{color:var(--blue)}.menu-btn{display:none;border:0;background:none;color:var(--ink)}.hero{min-height:calc(100vh - 78px);display:flex;flex-direction:column;justify-content:center;padding-top:34px;padding-bottom:26px}.hero-grid{display:grid;grid-template-columns:1fr 1.05fr;gap:60px;align-items:center}.eyebrow,.section-kicker{font-family:'DM Mono',monospace;font-size:11px;letter-spacing:.12em;color:#6d7d95;display:flex;align-items:center;gap:10px}.eyebrow-line{display:inline-block;width:34px;height:1px;background:var(--blue)}h1,h2,h3,p{margin:0}h1{font-size:clamp(46px,6vw,89px);line-height:1.03;letter-spacing:-.075em;font-weight:800;margin:28px 0 26px;color:var(--ink)}h1 em,h2 em{font-style:normal;color:var(--blue)}.hero-intro{max-width:435px;color:#53637b;font-size:15px;line-height:1.9}.hero-stats{display:flex;gap:28px;margin-top:30px}.hero-stats div{display:flex;flex-direction:column}.hero-stats strong{font-size:23px;letter-spacing:-.04em;color:var(--ink)}.hero-stats span{font:10px 'DM Mono',monospace;color:#7d8ca1;margin-top:2px}.hero-actions{display:flex;align-items:center;gap:25px;margin-top:34px}.primary-btn{background:var(--ink);color:#fff;border:0;border-radius:99px;padding:14px 21px;display:flex;align-items:center;gap:12px;font-size:13px;transition:transform .2s,background .2s}.primary-btn:hover{transform:translateY(-2px);background:var(--blue)}.text-btn{background:none;border:0;color:var(--ink);display:flex;align-items:center;gap:8px;font-size:13px;padding:8px 0}.hero-art{position:relative;min-height:510px;display:flex;justify-content:center;align-items:center}.hero-image-wrap{width:min(100%,360px);aspect-ratio:.78;overflow:hidden;border-radius:28px;transform:rotate(2.6deg);box-shadow:0 28px 70px rgba(48,102,181,.2);position:relative;z-index:1}.hero-image-wrap img{width:100%;height:100%;object-fit:cover;object-position:center 22%}.orbit{position:absolute;border:1px solid rgba(44,107,255,.23);border-radius:50%;pointer-events:none}.orbit-one{width:560px;height:260px;transform:rotate(-22deg)}.orbit-two{width:630px;height:320px;transform:rotate(24deg);border-color:rgba(32,215,150,.23)}.art-note{position:absolute;z-index:2;font-family:'DM Mono',monospace;font-size:10px;letter-spacing:.1em;color:#6e7b91}.note-a{top:18%;right:0;background:#fff;border-radius:6px;padding:9px 12px;box-shadow:0 8px 20px rgba(20,50,90,.08)}.note-b{bottom:11%;left:2%;writing-mode:vertical-rl}.scroll-cue{position:absolute;right:3%;bottom:4%;display:flex;align-items:center;gap:8px;color:#6d7d95;font:10px 'DM Mono',monospace;letter-spacing:.1em;transform:rotate(-90deg);transform-origin:right bottom}.hero-meta{display:grid;grid-template-columns:repeat(3,1fr) auto;gap:18px;border-top:1px solid var(--line);margin-top:42px;padding-top:19px}.hero-meta>div:not(.hero-index){display:flex;gap:15px;align-items:baseline}.meta-label{font:10px 'DM Mono',monospace;color:#8794a9}.hero-meta strong{font-size:12px;font-weight:600}.status-dot{display:inline-block;width:7px;height:7px;border-radius:50%;background:var(--mint);margin-right:7px}.hero-index{font:700 22px 'DM Mono',monospace;color:var(--ink)}.hero-index span{font-size:11px;color:#93a0b4;margin-left:4px}.about{padding-top:150px;padding-bottom:150px}.about-grid{display:grid;grid-template-columns:1.05fr .8fr;gap:100px;align-items:start;margin-top:40px}.about h2,.section-heading h2{font-size:clamp(36px,4.5vw,66px);letter-spacing:-.06em;line-height:1.1;color:var(--ink);margin-bottom:25px}.about h2 span,.section-heading h2 span{color:#7688a5}.section-lead{max-width:520px;color:#607087;font-size:15px;line-height:1.9}.skill-list{margin-top:50px;border-top:1px solid var(--line)}.skill-list>div{display:grid;grid-template-columns:35px 1fr 1.3fr;gap:15px;align-items:center;border-bottom:1px solid var(--line);padding:18px 0}.skill-list b{font:11px 'DM Mono',monospace;color:var(--blue)}.skill-list span{font-size:15px;font-weight:700}.skill-list small{color:#8390a4;font-size:11px}.profile-card{position:relative;border-radius:22px;overflow:hidden;box-shadow:16px 20px 0 #d8e5ff}.profile-card img{width:100%;display:block;filter:saturate(.9)}.profile-overlay{position:absolute;inset:auto 0 0;display:flex;justify-content:space-between;padding:14px 17px;color:#fff;background:linear-gradient(transparent,rgba(15,32,58,.72));font:10px 'DM Mono',monospace;letter-spacing:.08em}.experience{margin-top:105px}.experience-title{font:11px 'DM Mono',monospace;color:#6d7d95;letter-spacing:.12em;margin-bottom:20px}.timeline{display:grid;grid-template-columns:repeat(3,1fr);gap:26px;border-top:1px solid var(--line);padding-top:20px}.timeline-item{position:relative}.timeline-item:before{content:'';width:7px;height:7px;border-radius:50%;background:var(--blue);position:absolute;top:-25px;left:0}.timeline-item span{font:11px 'DM Mono',monospace;color:#7787a1}.timeline-item strong{display:block;margin-top:12px;font-size:16px}.timeline-item p{font-size:12px;line-height:1.8;color:#78879d;margin-top:8px;max-width:255px}.work{background:#152033;color:#f0f4ff;padding-top:125px;padding-bottom:130px;position:relative}.work .section-kicker{color:#94a7c6}.section-heading{display:flex;justify-content:space-between;align-items:end;margin-bottom:58px}.section-heading h2{color:#f4f7ff;margin-top:20px}.section-heading h2 span{color:#8798b5}.section-heading>p{font-size:13px;line-height:1.8;color:#9dacbf;text-align:right}.project-list{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}.project-card{border-radius:18px;padding:16px;background:#1e2b41;cursor:pointer;transition:transform .3s,background .3s}.project-card:hover{transform:translateY(-8px);background:#263751}.project-card.coral{--accent:var(--coral)}.project-card.blue{--accent:#4d8aff}.project-card.mint{--accent:var(--mint)}.project-index{font:11px 'DM Mono',monospace;color:var(--accent);margin-bottom:13px}.project-index span{color:#7d8ca4}.project-image{aspect-ratio:1/1.22;border-radius:12px;overflow:hidden;position:relative;background:#ddd}.project-image img{width:100%;height:100%;object-fit:cover;transition:transform .5s}.project-card:hover .project-image img{transform:scale(1.04)}.image-sheen{position:absolute;inset:0;background:linear-gradient(120deg,transparent 45%,rgba(255,255,255,.35) 50%,transparent 55%);transform:translateX(-100%);transition:transform .7s}.project-card:hover .image-sheen{transform:translateX(100%)}.view-project{position:absolute;bottom:14px;right:14px;background:rgba(255,255,255,.91);color:var(--ink);border-radius:99px;padding:7px 11px;font:10px 'DM Mono',monospace;display:flex;gap:6px;align-items:center;opacity:0;transform:translateY(6px);transition:.3s}.project-card:hover .view-project{opacity:1;transform:translateY(0)}.project-info{display:flex;justify-content:space-between;gap:15px;padding:21px 3px 17px}.project-type{font:10px 'DM Mono',monospace;letter-spacing:.12em;color:var(--accent);margin-bottom:7px}.project-info h3{font-size:23px;letter-spacing:-.04em;color:#f7f9ff;margin-bottom:10px}.project-info p:not(.project-type){font-size:11px;line-height:1.7;color:#9dacbf;max-width:210px}.project-stat{text-align:right;display:flex;flex-direction:column;justify-content:end;white-space:nowrap}.project-stat strong{font-size:25px;color:var(--accent);letter-spacing:-.04em}.project-stat span{font-size:10px;color:#8796ad;margin-top:2px}.tag-row{display:flex;gap:6px;flex-wrap:wrap}.tag-row span{font:10px 'DM Mono',monospace;color:#97a8c1;border:1px solid #3c4a60;border-radius:99px;padding:5px 8px}.marquee{background:var(--blue);color:#fff;overflow:hidden;padding:22px 0}.marquee-track{display:flex;align-items:center;gap:28px;width:max-content;white-space:nowrap;animation:marquee 24s linear infinite;font-size:25px;font-weight:700;letter-spacing:-.04em}.marquee-track b{font-size:17px;color:#a7f2d6}@keyframes marquee{to{transform:translateX(-50%)}}.contact{min-height:620px;padding-top:130px;padding-bottom:110px;display:flex;justify-content:space-between;align-items:center;position:relative}.contact-inner{max-width:700px}.contact h2{font-size:clamp(52px,7vw,100px);line-height:1.02;letter-spacing:-.08em;margin:30px 0 20px}.contact p{font-size:15px;color:#6e7c92;max-width:380px;line-height:1.8}.contact-email{display:inline-flex;align-items:center;gap:10px;margin-top:36px;border-bottom:2px solid var(--ink);font-weight:700;padding-bottom:8px;font-size:15px}.contact-details{display:flex;gap:24px;margin-top:68px;color:#748299;font:11px 'DM Mono',monospace}.contact-details span{display:flex;align-items:center;gap:7px}.contact-orb{width:260px;height:260px;border-radius:50%;background:linear-gradient(145deg,#c6e5ff,#b0f4db);display:flex;justify-content:center;align-items:center;color:var(--ink);position:relative;transform:rotate(8deg);box-shadow:20px 25px 0 rgba(63,112,195,.1)}.contact-orb svg{position:absolute;top:25px;right:30px;color:#fff}.contact-orb span{font:11px 'DM Mono',monospace;line-height:1.5;letter-spacing:.1em;transform:rotate(-8deg)}.contact-orb b{color:var(--blue)}footer{border-top:1px solid var(--line);margin:0 clamp(24px,7vw,112px);padding:20px 0 27px;display:flex;justify-content:space-between;color:#8190a7;font:10px 'DM Mono',monospace}.modal-backdrop{position:fixed;inset:0;background:rgba(13,23,40,.72);z-index:20;display:flex;align-items:center;justify-content:center;padding:20px;backdrop-filter:blur(8px)}.modal{width:min(1080px,100%);max-height:92vh;overflow:auto;background:#f5f8ff;border-radius:20px;position:relative;padding:28px}.modal-close{position:absolute;right:18px;top:17px;width:37px;height:37px;border-radius:50%;border:0;background:rgba(20,32,51,.08);color:var(--ink);display:grid;place-items:center;z-index:2}.modal-head{display:flex;justify-content:space-between;align-items:end;border-radius:14px;padding:28px;margin-bottom:18px;color:var(--ink)}.modal-head.coral{background:#ffe6e1}.modal-head.blue{background:#deebff}.modal-head.mint{background:#dcfaed}.modal-head h2{font-size:40px;letter-spacing:-.06em;margin-bottom:8px}.modal-head p:last-child{font-size:13px;color:#63738b}.modal-stat{text-align:right}.modal-stat strong{display:block;font-size:36px;color:var(--blue)}.modal-stat span{font:11px 'DM Mono',monospace;color:#74839a}.modal-gallery{display:grid;grid-template-columns:repeat(2,1fr);gap:14px}.modal-gallery img{width:100%;display:block;border-radius:10px;background:#fff}.modal-gallery img:first-child{grid-column:span 2}
@media (max-width:900px){.hero-grid{grid-template-columns:1fr;gap:35px}.hero-art{min-height:430px}.hero-image-wrap{width:min(100%,360px)}.about-grid{grid-template-columns:1fr;gap:60px}.profile-card{max-width:460px}.project-list{grid-template-columns:1fr}.project-card{display:grid;grid-template-columns:35px 1fr;gap:15px}.project-index{grid-row:span 2}.project-image{aspect-ratio:1.5}.project-info{grid-column:2}.tag-row{grid-column:2}.contact-orb{width:190px;height:190px}.contact-details{flex-wrap:wrap}}
@media (max-width:640px){.nav{height:68px}.brand-sub{display:none}.nav-links{display:none;position:absolute;top:68px;left:0;right:0;background:#edf3ff;padding:22px 24px;flex-direction:column;gap:20px;border-bottom:1px solid var(--line)}.nav-links.open{display:flex}.menu-btn{display:block}.hero{padding-top:38px;min-height:auto}.hero-grid{gap:20px}h1{font-size:53px}.hero-art{min-height:340px}.orbit-one{width:340px;height:170px}.orbit-two{width:400px;height:210px}.note-b,.scroll-cue{display:none}.hero-meta{grid-template-columns:1fr 1fr;margin-top:35px}.hero-index{display:none}.about{padding-top:95px;padding-bottom:95px}.about-grid{margin-top:28px}.about h2,.section-heading h2{font-size:42px}.skill-list>div{grid-template-columns:28px 1fr}.skill-list small{grid-column:2}.experience{margin-top:75px}.timeline{grid-template-columns:1fr;gap:30px}.timeline-item p{max-width:none}.work{padding-top:90px;padding-bottom:90px}.section-heading{display:block}.section-heading>p{text-align:left;margin-top:20px}.project-card{display:block}.project-index{margin-bottom:12px}.project-image{aspect-ratio:1.15}.project-info{padding-top:17px}.contact{padding-top:95px;padding-bottom:85px;display:block;min-height:auto}.contact h2{font-size:58px}.contact-orb{margin:60px 0 0 auto}.contact-details{margin-top:48px;gap:13px;flex-direction:column}footer{margin:0 24px;gap:15px;flex-wrap:wrap}.modal{padding:15px}.modal-head{padding:22px 18px}.modal-head h2{font-size:30px}.modal-gallery{grid-template-columns:1fr}.modal-gallery img:first-child{grid-column:auto}}
/* Album interaction inspired by the reference's drag-to-explore browsing rhythm. */
.albums{padding-top:128px;padding-bottom:128px;background:#f8fbff}.album-heading{display:flex;justify-content:space-between;align-items:end;margin-bottom:46px}.album-heading h2{font-size:clamp(42px,5vw,72px);line-height:1.05;letter-spacing:-.07em;margin-top:20px}.album-heading h2 span{color:#8998ae}.album-instruction{display:flex;gap:13px;align-items:center;color:#74839a;font:11px 'DM Mono',monospace;line-height:1.55;text-align:right}.album-instruction small{font-size:9px;color:#a0adbe}.wheel-icon{width:35px;height:35px;border-radius:50%;border:1px solid #b9c8dc;display:grid;place-items:center;font-size:18px;color:var(--blue)}.album-viewport{overflow:hidden;border-radius:22px;cursor:grab;touch-action:pan-y;box-shadow:0 22px 50px rgba(45,85,145,.08)}.album-viewport:active{cursor:grabbing}.album-track{display:flex;transition:transform .55s cubic-bezier(.22,.61,.36,1)}.album-slide{min-width:100%;flex:0 0 100%;padding:26px 30px 22px;position:relative;overflow:hidden}.album-slide.coral{background:linear-gradient(120deg,#ffe3df,#fff3ef)}.album-slide.blue{background:linear-gradient(120deg,#dceaff,#eef5ff)}.album-slide.mint{background:linear-gradient(120deg,#dcfaec,#f0fff8)}.album-meta,.album-foot{display:flex;justify-content:space-between;align-items:center;font:10px 'DM Mono',monospace;color:#77869e;letter-spacing:.08em}.album-main{display:grid;grid-template-columns:.8fr 1.2fr;align-items:center;gap:30px;min-height:330px}.album-copy{padding-left:18px}.album-kicker{font:10px 'DM Mono',monospace;letter-spacing:.12em;color:var(--blue);margin-bottom:15px}.album-copy h3{font-size:clamp(42px,6vw,84px);letter-spacing:-.08em;color:var(--ink);line-height:1;margin-bottom:14px}.album-copy>p:not(.album-kicker){font-size:14px;color:#60708a;max-width:280px}.album-view{border:0;background:var(--ink);color:#fff;border-radius:999px;padding:12px 16px;font-size:12px;margin-top:26px}.album-visual{height:310px;display:flex;justify-content:center;align-items:center}.album-visual img{height:100%;max-width:100%;object-fit:cover;border-radius:15px;box-shadow:15px 18px 35px rgba(34,59,96,.15);transform:rotate(3deg)}.album-foot{border-top:1px solid rgba(69,93,126,.18);padding-top:14px}.album-foot strong{font-size:25px;letter-spacing:-.05em;color:var(--ink)}.album-nav{display:flex;justify-content:space-between;align-items:center;margin-top:18px}.album-dots{display:flex;gap:7px}.album-dots button{border:0;width:34px;height:4px;border-radius:99px;background:#c7d3e4;padding:0}.album-dots button.active{background:var(--blue)}.album-counter{font:11px 'DM Mono',monospace;color:#8b9ab0}.album-counter b{color:var(--ink);font-size:18px;margin-right:3px}@media(max-width:700px){.albums{padding-top:90px;padding-bottom:90px}.album-heading{align-items:start;display:block}.album-instruction{margin-top:24px;text-align:left}.album-main{grid-template-columns:1fr;min-height:auto;gap:22px;padding:20px 0 24px}.album-copy{padding-left:0}.album-copy h3{font-size:54px}.album-visual{height:240px;justify-content:flex-start;padding-left:10px}.album-visual img{width:86%;height:100%}.album-slide{padding:20px 18px 18px}}
/* Full-screen visual map mode */
.map-body{background:#f4f6f8;overflow:hidden;color:#111820}.map-app{height:100svh;position:relative;overflow:hidden;background:#f3f5f7;font-family:Manrope,'Noto Sans SC',sans-serif}.map-noise{position:absolute;inset:0;pointer-events:none;opacity:.07;z-index:2;background-image:url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.35'/%3E%3C/svg%3E")}.map-header{position:fixed;z-index:10;top:0;left:0;right:0;padding:20px 24px;display:flex;justify-content:space-between;align-items:center;pointer-events:none}.map-header>*{pointer-events:auto}.map-logo{font-size:15px;font-weight:800;letter-spacing:.13em;color:#111820}.map-logo span{font-size:11px;color:#707b88;font-weight:500;margin-left:9px;letter-spacing:.04em}.menu-trigger,.sound-toggle{border:1px solid rgba(24,34,45,.13);background:rgba(255,255,255,.5);backdrop-filter:blur(14px);border-radius:99px;padding:10px 14px;font-size:12px;color:#111820}.menu-trigger i{font-style:normal;margin-left:8px}.map-profile{position:fixed;z-index:8;left:24px;top:78px;width:300px;padding:14px;border-radius:20px;background:rgba(255,255,255,.45);backdrop-filter:blur(18px);border:1px solid rgba(255,255,255,.65);box-shadow:0 20px 50px rgba(56,73,91,.08)}.profile-photo{height:188px;border-radius:13px;overflow:hidden;background:#dce3e9}.profile-photo img{width:100%;height:100%;object-fit:cover;object-position:center 20%}.profile-name{display:flex;align-items:end;justify-content:space-between;margin-top:13px}.profile-name strong{font-size:22px;letter-spacing:-.06em}.profile-name span{font:10px 'DM Mono',monospace;color:#6d7884}.map-profile>p{font-size:12px;line-height:1.7;color:#697581;margin:12px 0 15px}.skill-groups{border-top:1px solid #d4dbe1}.skill-groups div{padding:10px 0;border-bottom:1px solid #d4dbe1;display:flex;flex-direction:column;gap:4px}.skill-groups small{font:9px 'DM Mono',monospace;color:#89949e}.skill-groups b{font-size:11px;font-weight:600}.map-contact{position:fixed;z-index:8;right:24px;top:78px;width:235px;padding:12px 14px;border-radius:15px;background:rgba(255,255,255,.48);backdrop-filter:blur(16px);border:1px solid rgba(255,255,255,.65);color:#111820;display:flex;flex-direction:column;gap:5px}.map-contact span{font-size:11px;color:#77838e}.map-contact b{font-size:13px}.sound-toggle{position:fixed;z-index:8;left:24px;bottom:22px}.sound-toggle span{color:#8a949d;margin-left:5px}.map-viewport{position:absolute;inset:0;overflow:hidden;cursor:grab}.map-viewport:active,.is-dragging .map-viewport{cursor:grabbing}.map-world{position:absolute;width:3000px;height:1900px;left:0;top:0;transition:transform .06s linear}.map-world:before{content:'';position:absolute;inset:0;background-image:linear-gradient(rgba(109,123,138,.08) 1px,transparent 1px),linear-gradient(90deg,rgba(109,123,138,.08) 1px,transparent 1px);background-size:60px 60px;mask-image:linear-gradient(to bottom,transparent 0,black 20%,black 80%,transparent)}.map-world-title{position:absolute;left:780px;top:690px;font-size:92px;line-height:.85;font-weight:800;letter-spacing:-.1em;color:#19232d}.map-world-title em{font-style:normal;color:#2f6bff}.map-world-label{position:absolute;left:780px;top:905px;font:10px 'DM Mono',monospace;letter-spacing:.15em;color:#75818d}.map-card{position:absolute;border:0;padding:0;overflow:hidden;border-radius:14px;background:#dfe5ea;box-shadow:0 16px 30px rgba(39,54,67,.14);cursor:pointer;transition:transform .3s,box-shadow .3s;text-align:left}.map-card:hover{transform:translateY(-8px) scale(1.015);box-shadow:0 28px 50px rgba(39,54,67,.22);z-index:3}.map-card img{width:100%;height:100%;object-fit:cover}.map-card.hero{border-radius:18px}.map-card-info{position:absolute;left:0;right:0;bottom:0;padding:40px 14px 14px;color:#fff;background:linear-gradient(transparent,rgba(11,19,28,.78));display:flex;flex-direction:column;gap:3px}.map-card-info b{font-size:16px}.map-card-info small{font-size:10px;color:rgba(255,255,255,.72)}.map-enter{position:fixed;z-index:9;bottom:20px;left:50%;transform:translateX(-50%);display:flex;align-items:center;gap:14px;font:10px 'DM Mono',monospace;letter-spacing:.12em;color:#6e7b86;transition:opacity .3s}.map-enter b{width:28px;height:28px;border-radius:50%;border:1px solid #afbac4;display:grid;place-items:center;font-size:17px}.map-enter.hidden{opacity:0;pointer-events:none}.map-hint{position:fixed;z-index:7;right:24px;bottom:22px;text-align:right;font:9px 'DM Mono',monospace;line-height:1.7;color:#8a959f}.menu-panel{position:fixed;z-index:30;inset:0;background:rgba(244,246,248,.96);backdrop-filter:blur(20px);padding:28px 24px;transform:translateY(-100%);transition:transform .6s cubic-bezier(.22,.61,.36,1);overflow:auto}.menu-panel.open{transform:translateY(0)}.menu-close{border:0;background:none;font:12px 'DM Mono',monospace;color:#60707d}.menu-title{font-size:clamp(56px,10vw,140px);letter-spacing:-.09em;font-weight:800;margin:50px 0 24px}.menu-list{max-width:1000px;border-top:1px solid #cad2da}.menu-list button{width:100%;display:grid;grid-template-columns:45px 1fr 1.3fr 30px;align-items:center;gap:20px;padding:20px 0;border:0;border-bottom:1px solid #cad2da;background:none;text-align:left;cursor:pointer}.menu-list button:hover b{color:#2f6bff}.menu-list span,.menu-list small{font:10px 'DM Mono',monospace;color:#89949e}.menu-list b{font-size:28px;letter-spacing:-.06em}.menu-list i{font-style:normal;font-size:20px}.menu-footer{margin-top:60px;font:10px 'DM Mono',monospace;line-height:1.7;color:#8b969f}.map-modal-backdrop{position:fixed;z-index:40;inset:0;background:rgba(16,24,33,.78);backdrop-filter:blur(10px);display:flex;align-items:center;justify-content:center;padding:22px}.map-modal{background:#f4f6f8;width:min(1000px,100%);max-height:92vh;overflow:auto;border-radius:22px;padding:28px;position:relative}.map-modal-close{position:absolute;right:18px;top:18px;border:0;border-radius:50%;width:36px;height:36px;background:#dfe5eb;font-size:22px}.map-modal header{padding:20px 0 26px}.map-modal header small{font:10px 'DM Mono',monospace;color:#7b8792}.map-modal h2{font-size:clamp(42px,7vw,82px);letter-spacing:-.09em;margin:15px 0 8px}.map-modal header p{font-size:13px;color:#71808c}.map-modal-gallery{display:grid;grid-template-columns:repeat(2,1fr);gap:12px}.map-modal-gallery img{width:100%;display:block;border-radius:10px}.map-modal-gallery img:first-child{grid-column:span 2}.modal-open{overflow:hidden}@media(max-width:720px){.map-profile{left:12px;top:72px;width:calc(100% - 24px);padding:10px;display:grid;grid-template-columns:105px 1fr;gap:10px}.profile-photo{height:125px;grid-row:span 3}.profile-name{display:block;margin-top:2px}.profile-name span{display:block;margin-top:4px}.map-profile>p{margin:0;font-size:11px}.skill-groups{grid-column:2;margin-top:0}.skill-groups div{padding:5px 0}.skill-groups div:nth-child(2),.skill-groups div:nth-child(3){display:none}.map-contact{top:auto;bottom:20px;right:12px;width:auto;padding:10px 12px}.map-hint{display:none}.sound-toggle{left:12px;bottom:20px}.map-world-title{font-size:58px;left:520px;top:520px}.map-world-label{left:520px;top:650px}.map-card.hero{width:300px!important;height:250px!important}.map-card:not(.hero){width:220px!important;height:180px!important}.map-modal-gallery{grid-template-columns:1fr}.map-modal-gallery img:first-child{grid-column:auto}.menu-list button{grid-template-columns:28px 1fr 25px}.menu-list small{display:none}.menu-list b{font-size:22px}}
.profile-trigger{position:fixed;z-index:9;left:24px;top:78px;display:flex;align-items:center;gap:9px;border:1px solid rgba(24,34,45,.13);background:rgba(255,255,255,.58);backdrop-filter:blur(16px);border-radius:99px;padding:6px 12px 6px 6px;color:#111820;cursor:pointer;font-size:12px;box-shadow:0 8px 24px rgba(56,73,91,.08)}.profile-trigger:hover{background:rgba(255,255,255,.82)}.profile-trigger i{font-style:normal;color:#64727e}.mini-avatar{width:28px;height:28px;overflow:hidden;border-radius:50%;display:block}.mini-avatar img{width:100%;height:100%;object-fit:cover;object-position:center 18%}.map-profile{opacity:0;transform:translateY(-12px) scale(.98);pointer-events:none;transition:opacity .28s ease,transform .28s ease}.map-profile.open{opacity:1;transform:translateY(0) scale(1);pointer-events:auto}.profile-close{position:absolute;z-index:2;right:13px;top:13px;width:29px;height:29px;border:0;border-radius:50%;background:rgba(255,255,255,.72);font-size:18px;line-height:1;color:#25313b;cursor:pointer}.profile-close:hover{background:#fff}@media(max-width:720px){.profile-trigger{left:12px;top:72px}.map-profile{top:72px}.profile-trigger + .map-profile{top:72px}}
/* Visual Map navigator */
.visual-map{position:fixed;z-index:11;right:24px;bottom:58px;width:300px;padding:14px;border:1px solid rgba(255,255,255,.88);border-radius:20px;background:rgba(255,255,255,.76);backdrop-filter:blur(18px);box-shadow:0 18px 44px rgba(51,67,83,.14);transition:width .25s ease,padding .25s ease,transform .25s ease}
.visual-map-head{display:flex;align-items:center;gap:10px;margin-bottom:10px;color:#111820}
.visual-map-head>.visual-map-icon{position:relative;flex:0 0 28px;width:28px;height:28px;perspective:90px}
.visual-map-icon svg{position:absolute;inset:0;width:100%;height:100%;display:block}
.visual-map-icon-pin{transform-origin:center;animation:visual-map-pin-spin 4s linear infinite}
@keyframes visual-map-pin-spin{from{transform:rotateY(0deg)}to{transform:rotateY(360deg)}}
.visual-map-head b{font-size:16px;font-weight:600;flex:1;letter-spacing:-.03em}
.visual-map-toggle{display:grid;place-items:center;flex:0 0 27px;width:27px;height:27px;padding:0;border:0;background:transparent;color:#111820;line-height:1;cursor:pointer}
.visual-map-toggle svg{display:block;width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:2.5;stroke-linecap:round;stroke-linejoin:round;transform:rotate(-90deg);transition:transform .25s ease}
.visual-map.collapsed .visual-map-toggle svg{transform:rotate(0deg)}
.visual-map.collapsed{width:auto;padding:10px 13px}
.visual-map.collapsed .mini-map{display:none}
.visual-map.collapsed .visual-map-head{margin:0}
.visual-map.collapsed .visual-map-toggle{transform:none}
.mini-map{height:150px;position:relative;overflow:hidden;border:1px solid rgba(193,200,207,.72);border-radius:14px;background:#eef0f2;cursor:crosshair}
.mini-map:before{content:"";position:absolute;inset:0;background-image:linear-gradient(rgba(132,142,151,.12) 1px,transparent 1px),linear-gradient(90deg,rgba(132,142,151,.12) 1px,transparent 1px);background-size:18px 18px}
.mini-card{position:absolute;z-index:1;display:block;min-width:7px;min-height:7px;border:0;border-radius:3px;background:#c2c4c6;opacity:.92;box-shadow:0 1px 0 rgba(255,255,255,.48) inset;cursor:pointer;transition:left .08s linear,top .08s linear,width .08s linear,height .08s linear,background .18s ease}
.mini-card:hover{background:#aeb1b4}
.mini-viewport{position:absolute;z-index:3;width:44px;height:34px;border:2px solid #fff;border-radius:8px;background:rgba(255,255,255,.12);box-shadow:0 0 0 1px rgba(22,31,41,.58),0 6px 14px rgba(35,48,61,.16);cursor:grab;touch-action:none;transition:left .08s linear,top .08s linear,width .08s linear,height .08s linear}
@media(max-width:720px){.visual-map{right:12px;bottom:58px;width:220px;padding:10px;border-radius:16px}.visual-map-head{margin-bottom:7px}.visual-map-head b{font-size:13px}.mini-map{height:110px}.mini-viewport{width:36px;height:28px}.visual-map.collapsed{width:auto;padding:9px 11px}}
/* Reference-style cards, neutral canvas and profile detail view */
.map-body,.map-app{background:#dedede}
.map-app{background-image:none}
.map-world:before{background-image:linear-gradient(rgba(92,100,108,.11) 1px,transparent 1px),linear-gradient(90deg,rgba(92,100,108,.11) 1px,transparent 1px);background-size:60px 60px}
.profile-trigger{width:264px;min-height:68px;padding:8px 12px 8px 8px;border-radius:20px;justify-content:flex-start;gap:11px}
.profile-trigger .mini-avatar{width:48px;height:48px;border-radius:14px;flex:none}
.profile-trigger-copy{display:flex;flex-direction:column;align-items:flex-start;gap:2px;flex:1;text-align:left}
.profile-trigger-copy b{font-size:15px;letter-spacing:-.03em}
.profile-trigger-copy small{font:10px 'DM Mono',monospace;color:#74808a;letter-spacing:.02em}
.map-card{display:flex;flex-direction:column;background:#f7f7f7}
.map-card img{height:calc(100% - 68px);flex:none;object-fit:cover}
.map-card-info{position:relative;left:auto;right:auto;bottom:auto;min-height:68px;flex:1;padding:11px 14px;background:rgba(250,250,250,.96);color:#111820;display:flex;justify-content:space-between;align-items:flex-end;gap:8px}
.map-card-info b{font-size:14px;line-height:1.2}
.map-card-info small{font-size:9px;color:#77838e;line-height:1.25}
.map-card:hover .map-card-info{background:#fff}
.map-profile{position:fixed;inset:0;z-index:28;width:auto;height:auto;max-width:none;padding:36px;overflow:auto;border-radius:0;background:rgba(222,222,222,.88);backdrop-filter:blur(16px);box-shadow:none}
.map-profile .profile-detail-panel{width:min(1260px,100%);min-height:min(760px,calc(100vh - 72px));margin:0 auto;border:1px solid rgba(255,255,255,.9);border-radius:28px;background:rgba(247,247,247,.82);box-shadow:0 22px 60px rgba(61,66,71,.16);overflow:hidden;display:flex;flex-direction:column;position:relative}
.profile-detail-head{margin:14px;padding:19px 24px;border:1px solid rgba(255,255,255,.8);border-radius:18px;background:rgba(255,255,255,.4);text-align:center;font-size:22px;letter-spacing:-.04em;color:#15181b}
.profile-detail-body{display:grid;grid-template-columns:280px minmax(0,1fr);flex:1;min-height:560px}
.profile-detail-nav{padding:18px 20px 28px;background:rgba(226,226,226,.58);border-right:1px solid rgba(255,255,255,.7)}
.profile-detail-nav button{width:100%;display:flex;justify-content:space-between;align-items:center;border:0;background:transparent;border-radius:16px;padding:16px 14px;margin-bottom:7px;text-align:left;font-size:16px;color:#34383c;cursor:pointer}
.profile-detail-nav button span{color:#85888c;font:12px 'DM Mono',monospace}
.profile-detail-nav button.active{background:#202020;color:#fff}
.profile-detail-nav button.active span{color:#c2c2c2}
.profile-detail-content{padding:58px clamp(28px,6vw,82px);overflow:auto;color:#202327}
.profile-tab{display:none;max-width:760px}.profile-tab.active{display:block}
.profile-tab-kicker{font:11px 'DM Mono',monospace;letter-spacing:.12em;color:#747b81;margin-bottom:24px}
.profile-tab h2{font-size:clamp(52px,7vw,100px);line-height:.94;letter-spacing:-.09em;margin:0 0 26px;color:#181b1e}
.profile-tab h2 em{font-style:normal;color:#2f6bff}
.profile-tab>p{max-width:560px;font-size:18px;line-height:1.75;color:#626970}
.profile-detail-stats{display:flex;gap:38px;margin-top:48px;padding-top:20px;border-top:1px solid #c9c9c9}.profile-detail-stats div{display:flex;flex-direction:column;gap:3px}.profile-detail-stats b{font-size:31px;letter-spacing:-.06em}.profile-detail-stats small{font:10px 'DM Mono',monospace;color:#80868c}
.profile-experience-item{display:grid;grid-template-columns:180px 1fr;gap:6px 24px;border-top:1px solid #c9c9c9;padding:22px 0}.profile-experience-item:first-of-type{border-top:0;padding-top:0}.profile-experience-item>span{font:11px 'DM Mono',monospace;color:#7d858b}.profile-experience-item>b{font-size:20px;letter-spacing:-.04em}.profile-experience-item p{grid-column:2;margin:4px 0 0;color:#70777d;font-size:13px;line-height:1.7}
.profile-project-row{display:grid;grid-template-columns:56px 1fr 1.5fr;align-items:center;gap:14px;border-top:1px solid #c9c9c9;padding:22px 0}.profile-project-row b{font:11px 'DM Mono',monospace;color:#7d858b}.profile-project-row span{font-size:21px;font-weight:600}.profile-project-row small{color:#70777d}
.map-profile .profile-close{right:28px;top:28px;width:38px;height:38px;background:#e0e0e0;border:1px solid #c9c9c9}
.visual-map{background:rgba(245,245,245,.82);border-color:rgba(255,255,255,.92)}
.mini-map{background:#e8e8e8}
@media(max-width:720px){.profile-trigger{width:224px;min-height:58px;top:72px}.profile-trigger .mini-avatar{width:38px;height:38px;border-radius:12px}.profile-trigger-copy b{font-size:13px}.profile-trigger-copy small{font-size:9px}.map-profile{padding:12px}.map-profile .profile-detail-panel{min-height:calc(100vh - 24px);border-radius:20px}.profile-detail-head{margin:10px;padding:15px 16px;font-size:17px}.profile-detail-body{grid-template-columns:1fr;min-height:0}.profile-detail-nav{display:flex;gap:6px;padding:10px;border-right:0;border-bottom:1px solid rgba(255,255,255,.7);overflow:auto}.profile-detail-nav button{white-space:nowrap;margin:0;padding:11px 12px;font-size:12px}.profile-detail-content{padding:30px 20px}.profile-tab h2{font-size:56px}.profile-tab>p{font-size:14px}.profile-experience-item{grid-template-columns:1fr;gap:6px}.profile-experience-item p{grid-column:auto}.profile-project-row{grid-template-columns:36px 1fr}.profile-project-row small{grid-column:2}.map-profile .profile-close{right:18px;top:14px;width:32px;height:32px}.map-card img{height:calc(100% - 58px)}.map-card-info{min-height:58px;padding:9px 10px}.map-card-info b{font-size:12px}}
.map-card.hero{height:300px!important;min-height:300px!important;max-height:300px!important}
.map-card:not(.hero){height:225px!important;min-height:225px!important;max-height:225px!important}
@media(max-width:720px){.map-card.hero{height:250px!important;min-height:250px!important;max-height:250px!important}.map-card:not(.hero){height:180px!important;min-height:180px!important;max-height:180px!important}}
/* Clean reference canvas: no grid and no central typography */
.map-world:before,.map-world-title,.map-world-label{display:none!important}
.map-enter{display:none!important}
/* Portfolio card proportions follow each selected asset */
.map-card.wide{width:420px!important;height:230px!important;min-height:230px!important;max-height:230px!important}
.map-card.tall{width:240px!important;height:360px!important;min-height:360px!important;max-height:360px!important}
.map-card.square{width:300px!important;height:290px!important;min-height:290px!important;max-height:290px!important}
@media(max-width:720px){.map-card.wide{width:280px!important;height:175px!important;min-height:175px!important;max-height:175px!important}.map-card.tall{width:180px!important;height:270px!important;min-height:270px!important;max-height:270px!important}.map-card.square{width:220px!important;height:220px!important;min-height:220px!important;max-height:220px!important}}

/* User-defined project card */
.map-card.feature{width:560px!important;height:350px!important;min-height:350px!important;max-height:350px!important;border-radius:18px!important}
.map-card.feature img{height:calc(100% - 74px);object-fit:cover}
.map-card.feature .map-card-info{min-height:74px;padding:14px 18px}
.map-card.feature .map-card-info b{font-size:18px}
.map-card.feature .map-card-info small{font-size:11px}
@media(max-width:720px){.map-card.feature{width:calc(100vw - 48px)!important;height:260px!important;min-height:260px!important;max-height:260px!important}.map-card.feature .map-card-info b{font-size:15px}}

/* Reference card system: frosted shell, inset artwork, centered typography */
.map-card.feature{
  box-sizing:border-box!important;
  padding:20px 20px 16px!important;
  display:flex!important;
  flex-direction:column!important;
  gap:0!important;
  background:rgba(236,238,240,.64)!important;
  border:1px solid rgba(255,255,255,.86)!important;
  border-radius:28px!important;
  backdrop-filter:blur(22px) saturate(112%)!important;
  -webkit-backdrop-filter:blur(22px) saturate(112%)!important;
  box-shadow:0 26px 60px rgba(62,69,76,.16), inset 0 1px 0 rgba(255,255,255,.9)!important;
}
.map-card.feature img{
  width:100%!important;
  height:230px!important;
  flex:none!important;
  border-radius:21px!important;
  object-fit:cover!important;
  background:rgba(248,249,250,.75)!important;
}
.map-card.feature .map-card-info{
  position:relative!important;
  inset:auto!important;
  flex:1!important;
  min-height:0!important;
  padding:15px 8px 2px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  text-align:center!important;
  gap:5px!important;
  color:#151a20!important;
  background:transparent!important;
}
.map-card.feature .map-card-info b{font-size:21px!important;line-height:1.15!important;font-weight:650!important;letter-spacing:-.04em!important}
.map-card.feature .map-card-info small{font-size:16px!important;line-height:1.2!important;color:#68727d!important}
@media(max-width:720px){
  .map-card.feature{padding:14px 14px 12px!important;border-radius:22px!important}
  .map-card.feature img{height:178px!important;border-radius:16px!important}
  .map-card.feature .map-card-info{padding-top:11px!important}
  .map-card.feature .map-card-info b{font-size:17px!important}
  .map-card.feature .map-card-info small{font-size:13px!important}
}

/* Match the provided frosted-glass project card reference */
.map-card.feature{
  box-sizing:border-box!important;
  padding:20px 20px 16px!important;
  display:flex!important;
  flex-direction:column!important;
  gap:0!important;
  background:rgba(236,238,240,.64)!important;
  border:1px solid rgba(255,255,255,.86)!important;
  border-radius:28px!important;
  backdrop-filter:blur(22px) saturate(112%)!important;
  -webkit-backdrop-filter:blur(22px) saturate(112%)!important;
  box-shadow:0 26px 60px rgba(62,69,76,.16),inset 0 1px 0 rgba(255,255,255,.9)!important;
}
.map-card.feature img{
  width:100%!important;
  height:230px!important;
  flex:none!important;
  border-radius:21px!important;
  object-fit:cover!important;
  background:rgba(248,249,250,.75)!important;
}
.map-card.feature .map-card-info{
  position:relative!important;
  inset:auto!important;
  flex:1!important;
  min-height:0!important;
  padding:15px 8px 2px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  text-align:center!important;
  gap:5px!important;
  color:#151a20!important;
  background:transparent!important;
}
.map-card.feature .map-card-info b{font-size:21px!important;line-height:1.15!important;font-weight:650!important;letter-spacing:-.04em!important}
.map-card.feature .map-card-info small{font-size:16px!important;line-height:1.2!important;color:#68727d!important}
@media(max-width:720px){
  .map-card.feature{padding:14px 14px 12px!important;border-radius:22px!important}
  .map-card.feature img{height:178px!important;border-radius:16px!important}
  .map-card.feature .map-card-info{padding-top:11px!important}
  .map-card.feature .map-card-info b{font-size:17px!important}
  .map-card.feature .map-card-info small{font-size:13px!important}
}

/* Match the reference proportions: inset artwork keeps its full landscape frame */
.map-card.feature{height:410px!important;min-height:410px!important;max-height:410px!important}
.map-card.feature img{height:286px!important}
@media(max-width:720px){.map-card.feature{height:260px!important;min-height:260px!important;max-height:260px!important}.map-card.feature img{height:178px!important}}

/* Reference layout: the frosted surface only frames the cover artwork;
   title and subtitle sit in the open space below it. */
.map-card.feature{
  box-sizing:border-box!important;
  display:flex!important;
  flex-direction:column!important;
  gap:12px!important;
  padding:0!important;
  overflow:visible!important;
  background:transparent!important;
  border:0!important;
  border-radius:0!important;
  box-shadow:none!important;
}
.map-card.feature:hover{
  box-shadow:none!important;
}
.map-card.feature .map-card-shell{
  box-sizing:border-box!important;
  display:block!important;
  width:100%!important;
  height:326px!important;
  flex:none!important;
  padding:20px!important;
  border:1px solid rgba(255,255,255,.88)!important;
  border-radius:28px!important;
  background:rgba(236,238,240,.64)!important;
  backdrop-filter:blur(22px) saturate(112%)!important;
  -webkit-backdrop-filter:blur(22px) saturate(112%)!important;
  box-shadow:0 26px 60px rgba(62,69,76,.16),inset 0 1px 0 rgba(255,255,255,.92)!important;
}
.map-card.feature .map-card-shell img{
  display:block!important;
  width:100%!important;
  height:284px!important;
  border-radius:21px!important;
  object-fit:cover!important;
  background:rgba(248,249,250,.75)!important;
}
.map-card.feature .map-card-info{
  position:relative!important;
  inset:auto!important;
  width:100%!important;
  min-height:0!important;
  flex:1!important;
  padding:0 8px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  text-align:center!important;
  gap:5px!important;
  color:#151a20!important;
  background:transparent!important;
}
.map-card.feature .map-card-info b{font-size:21px!important;line-height:1.15!important;font-weight:650!important;letter-spacing:-.04em!important}
.map-card.feature .map-card-info small{font-size:16px!important;line-height:1.2!important;color:#68727d!important}
@media(max-width:720px){
  .map-card.feature{gap:10px!important}
  .map-card.feature .map-card-shell{height:206px!important;padding:14px!important;border-radius:22px!important}
  .map-card.feature .map-card-shell img{height:176px!important;border-radius:16px!important}
  .map-card.feature .map-card-info{padding:0 4px!important}
  .map-card.feature .map-card-info b{font-size:17px!important}
  .map-card.feature .map-card-info small{font-size:13px!important}
}

/* One frosted base only: remove the extra inset plate beneath the cover. */
.map-card.feature{
  box-sizing:border-box!important;
  padding:20px 20px 16px!important;
  gap:0!important;
  background:rgba(236,238,240,.64)!important;
  border:1px solid rgba(255,255,255,.88)!important;
  border-radius:28px!important;
  backdrop-filter:blur(22px) saturate(112%)!important;
  -webkit-backdrop-filter:blur(22px) saturate(112%)!important;
  box-shadow:0 26px 60px rgba(62,69,76,.16),inset 0 1px 0 rgba(255,255,255,.92)!important;
}
.map-card.feature .map-card-shell{
  box-sizing:border-box!important;
  width:100%!important;
  height:286px!important;
  padding:0!important;
  background:transparent!important;
  border:0!important;
  border-radius:0!important;
  box-shadow:none!important;
}
.map-card.feature .map-card-shell img{
  width:100%!important;
  height:286px!important;
  border-radius:21px!important;
  object-fit:cover!important;
}
.map-card.feature .map-card-info{padding:15px 8px 2px!important}
@media(max-width:720px){
  .map-card.feature{padding:14px 14px 12px!important;border-radius:22px!important}
  .map-card.feature .map-card-shell{height:178px!important}
  .map-card.feature .map-card-shell img{height:178px!important;border-radius:16px!important}
  .map-card.feature .map-card-info{padding:11px 4px 0!important}
}

/* Final card composition: one glass layer behind the cover only; copy stays outside it. */
.map-card.feature{
  position:absolute!important;
  display:flex!important;
  flex-direction:column!important;
  gap:12px!important;
  padding:0!important;
  overflow:visible!important;
  background:transparent!important;
  border:0!important;
  border-radius:0!important;
  box-shadow:none!important;
}
.map-card.feature::before{
  content:"";
  position:absolute;
  z-index:0;
  inset:0 0 auto;
  height:314px;
  border:1px solid rgba(255,255,255,.88);
  border-radius:28px;
  background:rgba(236,238,240,.64);
  backdrop-filter:blur(22px) saturate(112%);
  -webkit-backdrop-filter:blur(22px) saturate(112%);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.92);
  pointer-events:none;
}
.map-card.feature .map-card-shell{
  position:relative!important;
  z-index:1!important;
  width:100%!important;
  height:314px!important;
  box-sizing:border-box!important;
  padding:14px!important;
  overflow:hidden!important;
  background:transparent!important;
  border:0!important;
  border-radius:0!important;
}
.map-card.feature .map-card-shell img{
  display:block!important;
  width:100%!important;
  height:286px!important;
  border-radius:21px!important;
  object-fit:cover!important;
  transform:scale(1.1)!important;
}
.map-card.feature .map-card-info{
  position:relative!important;
  z-index:1!important;
  flex:1!important;
  min-height:0!important;
  padding:0 8px!important;
  color:#151a20!important;
  background:transparent!important;
  align-items:center!important;
  justify-content:center!important;
}
@media(max-width:720px){
  .map-card.feature{gap:8px!important}
  .map-card.feature::before{height:202px;border-radius:22px}
  .map-card.feature .map-card-shell{height:202px;padding:12px!important}
  .map-card.feature .map-card-shell img{height:178px;border-radius:16px;transform:scale(1.1)!important}
  .map-card.feature .map-card-info{padding:0 4px!important}
}

/* Final reference proportions: a plain gray outer card, one glass cover frame,
   and typography kept on the gray area below the frame. */
.map-card.feature{
  box-sizing:border-box!important;
  padding:32px 32px 14px!important;
  gap:0!important;
  background:rgba(224,224,224,.94)!important;
  border:0!important;
  border-radius:28px!important;
  backdrop-filter:none!important;
  -webkit-backdrop-filter:none!important;
  box-shadow:0 24px 48px rgba(69,76,82,.16)!important;
}
.map-card.feature .map-card-shell{
  box-sizing:border-box!important;
  display:block!important;
  width:100%!important;
  height:288px!important;
  padding:14px!important;
  border:1px solid rgba(255,255,255,.9)!important;
  border-radius:26px!important;
  background:rgba(248,249,251,.56)!important;
  backdrop-filter:blur(20px) saturate(110%)!important;
  -webkit-backdrop-filter:blur(20px) saturate(110%)!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.88)!important;
}
.map-card.feature .map-card-shell img{
  display:block!important;
  width:100%!important;
  height:258px!important;
  border-radius:18px!important;
  object-fit:cover!important;
}
.map-card.feature .map-card-info{
  box-sizing:border-box!important;
  width:100%!important;
  height:auto!important;
  min-height:0!important;
  flex:1!important;
  padding:13px 4px 0!important;
  color:#111820!important;
  background:transparent!important;
}
.map-card.feature .map-card-info b{font-size:21px!important;line-height:1.15!important;font-weight:650!important;letter-spacing:-.04em!important}
.map-card.feature .map-card-info small{font-size:16px!important;line-height:1.2!important;color:#37414b!important}
@media(max-width:720px){
  .map-card.feature{padding:20px 20px 12px!important;border-radius:22px!important}
  .map-card.feature .map-card-shell{height:202px!important;padding:10px!important;border-radius:20px!important}
  .map-card.feature .map-card-shell img{height:180px!important;border-radius:14px!important}
  .map-card.feature .map-card-info{padding-top:10px!important}
  .map-card.feature .map-card-info b{font-size:17px!important}
  .map-card.feature .map-card-info small{font-size:13px!important}
}

/* Single source of truth for the current card treatment. */
.map-card.feature{
  padding:0!important;
  gap:12px!important;
  overflow:visible!important;
  background:transparent!important;
  border:0!important;
  border-radius:0!important;
  backdrop-filter:none!important;
  -webkit-backdrop-filter:none!important;
  box-shadow:none!important;
}
.map-card.feature .map-card-shell{
  width:100%!important;
  height:314px!important;
  padding:14px!important;
  overflow:hidden!important;
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
  backdrop-filter:none!important;
  -webkit-backdrop-filter:none!important;
  box-shadow:none!important;
}
.map-card.feature .map-card-shell img{
  width:100%!important;
  height:286px!important;
  border-radius:21px!important;
  object-fit:cover!important;
  transform:none!important;
}
.map-card.feature .map-card-info{
  width:100%!important;
  flex:1!important;
  min-height:0!important;
  padding:0 8px!important;
  background:transparent!important;
}
@media(max-width:720px){
  .map-card.feature{gap:8px!important}
  .map-card.feature .map-card-shell{height:202px!important;padding:12px!important}
  .map-card.feature .map-card-shell img{height:178px!important;border-radius:16px!important;transform:none!important}
  .map-card.feature .map-card-info{padding:0 4px!important}
}

/* Future cards: shape follows the cover, while the visual treatment stays consistent. */
.map-card.wide,.map-card.tall,.map-card.square{
  display:flex!important;
  flex-direction:column!important;
  gap:10px!important;
  padding:0!important;
  overflow:visible!important;
  background:transparent!important;
  border:0!important;
  border-radius:0!important;
  box-shadow:none!important;
}
.map-card.wide::before,.map-card.tall::before,.map-card.square::before{
  content:""!important;
  position:absolute!important;
  z-index:0!important;
  inset:0 0 auto!important;
  height:calc(100% - 58px)!important;
  border:1px solid rgba(255,255,255,.88)!important;
  border-radius:28px!important;
  background:rgba(236,238,240,.64)!important;
  backdrop-filter:blur(22px) saturate(112%)!important;
  -webkit-backdrop-filter:blur(22px) saturate(112%)!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.92)!important;
  pointer-events:none!important;
}
.map-card.wide .map-card-shell,.map-card.tall .map-card-shell,.map-card.square .map-card-shell{
  position:relative!important;
  z-index:1!important;
  box-sizing:border-box!important;
  width:100%!important;
  height:calc(100% - 58px)!important;
  padding:14px!important;
  overflow:hidden!important;
  background:transparent!important;
  border:0!important;
  border-radius:0!important;
}
.map-card.wide .map-card-shell img,.map-card.tall .map-card-shell img,.map-card.square .map-card-shell img{
  display:block!important;
  width:100%!important;
  height:100%!important;
  border-radius:20px!important;
  object-fit:cover!important;
  transform:none!important;
}
.map-card.wide .map-card-info,.map-card.tall .map-card-info,.map-card.square .map-card-info{
  position:relative!important;
  z-index:1!important;
  flex:1!important;
  min-height:0!important;
  width:100%!important;
  padding:0 8px!important;
  background:transparent!important;
  color:#151a20!important;
  align-items:center!important;
  justify-content:center!important;
}
.map-card.wide .map-card-info b,.map-card.tall .map-card-info b,.map-card.square .map-card-info b{font-size:18px!important;line-height:1.15!important;font-weight:650!important;letter-spacing:-.04em!important}
.map-card.wide .map-card-info small,.map-card.tall .map-card-info small,.map-card.square .map-card-info small{font-size:14px!important;line-height:1.2!important;color:#68727d!important}
@media(max-width:720px){
  .map-card.wide,.map-card.tall,.map-card.square{gap:8px!important}
  .map-card.wide::before,.map-card.tall::before,.map-card.square::before{height:calc(100% - 50px)!important;border-radius:22px!important}
  .map-card.wide .map-card-shell,.map-card.tall .map-card-shell,.map-card.square .map-card-shell{height:calc(100% - 50px)!important;padding:12px!important}
  .map-card.wide .map-card-shell img,.map-card.tall .map-card-shell img,.map-card.square .map-card-shell img{border-radius:16px!important}
  .map-card.wide .map-card-info,.map-card.tall .map-card-info,.map-card.square .map-card-info{padding:0 4px!important}
  .map-card.wide .map-card-info b,.map-card.tall .map-card-info b,.map-card.square .map-card-info b{font-size:15px!important}
  .map-card.wide .map-card-info small,.map-card.tall .map-card-info small,.map-card.square .map-card-info small{font-size:12px!important}
}

/* Project detail typography: a little more air improves reading after a card opens. */
.map-modal h2{letter-spacing:-.045em!important}
.map-modal header p{letter-spacing:.045em!important}
.map-modal header small{letter-spacing:.07em!important}

/* Profile self description: copy, software marks and portrait follow the supplied reference. */
.profile-self-layout{display:grid;grid-template-columns:minmax(0,1fr) 220px;gap:34px;align-items:start}
.profile-self-copy h2{font-size:clamp(42px,5vw,70px)!important;line-height:1.05!important;letter-spacing:-.07em!important;margin:0 0 20px!important;color:#181b1e}
.profile-self-lead{max-width:560px;font-size:18px;line-height:1.75;color:#626970;margin:0 0 24px}
.profile-facts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 18px;padding:18px 0;border-top:1px solid #c9c9c9;border-bottom:1px solid #c9c9c9;color:#353b40;font-size:13px;line-height:1.45}
.profile-facts span{display:block}
.profile-detail-stats{gap:28px;margin-top:25px;padding-top:0;border-top:0;flex-wrap:wrap}
.profile-detail-stats b{font-size:30px}
.profile-detail-stats small{font-family:inherit;font-size:10px;line-height:1.35}
.profile-tools{margin-top:28px}
.profile-tools>small{font:10px 'DM Mono',monospace;letter-spacing:.12em;color:#7e858b}
.software-icons{display:flex;flex-wrap:wrap;gap:8px;margin-top:10px}
.software-icons i{width:42px;height:42px;border-radius:9px;display:grid;place-items:center;font-style:normal;font-weight:800;font-size:18px;color:#fff;box-shadow:0 5px 12px rgba(30,38,48,.12)}
.software-icons .tool-ps{background:#071d35;color:#31a8ff}.software-icons .tool-ai{background:#3b1b08;color:#ff9a00}.software-icons .tool-id{background:#3b0b22;color:#f44b8b}.software-icons .tool-pr{background:#171249;color:#e890ff}.software-icons .tool-sketch{background:#f4b51b;color:#fff}.software-icons .tool-chat{background:#111;color:#fff}.software-icons .tool-figma{background:#fff;color:#2e2e2e;border:1px solid #d9dde1}.software-icons .tool-luma{background:#181818;color:#fff}
.profile-self-portrait{margin:0;border-radius:20px;overflow:hidden;background:#dfe3e6;box-shadow:0 18px 38px rgba(52,60,68,.16)}
.profile-self-portrait img{display:block;width:100%;height:300px;object-fit:cover;object-position:center 18%}
@media(max-width:720px){
  .profile-self-layout{grid-template-columns:1fr;gap:22px}
  .profile-self-portrait{order:-1;width:min(220px,100%)}
  .profile-self-portrait img{height:230px}
  .profile-self-copy h2{font-size:48px!important}
  .profile-self-lead{font-size:15px}
  .profile-facts{grid-template-columns:1fr;font-size:12px}
  .profile-detail-stats{gap:22px}
}

/* Keep exactly one glass frame around the cover. */
.map-card.feature::before{
  content:""!important;
  position:absolute!important;
  z-index:0!important;
  left:0!important;
  right:0!important;
  top:0!important;
  height:314px!important;
  border:1px solid rgba(255,255,255,.88)!important;
  border-radius:28px!important;
  background:rgba(236,238,240,.64)!important;
  backdrop-filter:blur(22px) saturate(112%)!important;
  -webkit-backdrop-filter:blur(22px) saturate(112%)!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.92)!important;
  pointer-events:none!important;
}
@media(max-width:720px){.map-card.feature::before{height:202px!important;border-radius:22px!important}}
/* Software order and labels: Ps, Ai, Id, Pr, Figma, ChatGPT, Gemini, 即梦, Lovart. */
.software-icons .tool-gemini{background:linear-gradient(135deg,#4285f4,#8ab4f8);color:#fff}
.software-icons .tool-jimeng{background:linear-gradient(135deg,#ff5c7a,#ff9d63);color:#fff;font-size:16px}
.software-icons .tool-image{background:#fff;overflow:hidden;padding:0}
.software-icons .tool-image img{display:block;width:100%;height:100%;object-fit:cover}
.software-icons .tool-image[title="Figma"] img{object-fit:contain;padding:7px}
.software-icons .tool-image[title="ChatGPT"] img{object-fit:contain;padding:6px}
.software-icons .tool-image[title="Gemini"] img{object-fit:contain;padding:7px}
.software-icons .tool-image[title="即梦"] img{object-fit:contain;padding:5px}
.software-icons .tool-image[title="Lovart"] img{object-fit:contain;padding:7px;background:#000}
/* Keep all nine software marks on one line; 即梦 uses a full black tile. */
.software-icons{flex-wrap:nowrap;gap:6px;white-space:nowrap}
.software-icons i{width:38px;height:38px;flex:0 0 38px}
.software-icons .tool-image[title="即梦"]{background:#000;border-color:#000}
.software-icons .tool-image[title="即梦"] img{background:#000;object-fit:contain;padding:3px}
@media(max-width:720px){.software-icons{overflow-x:auto;padding-bottom:4px}.software-icons i{width:36px;height:36px;flex-basis:36px}}
/* Profile bio: three concise editorial paragraphs for the expanded introduction. */
.profile-self-copy h2{font-size:clamp(38px,4.5vw,62px)!important;line-height:1.08!important;margin-bottom:18px!important}
.profile-bio{max-width:640px;margin:0 0 22px;color:#596168}
.profile-bio p{margin:0 0 12px;font-size:15px;line-height:1.72;letter-spacing:.015em}
.profile-bio p:last-child{margin-bottom:0}
.profile-facts{margin-top:18px;padding:15px 0;gap:10px 18px;font-size:12px}
.profile-detail-stats{margin-top:20px;gap:24px}
.profile-detail-stats b{font-size:28px}
.profile-tools{margin-top:22px}
@media(max-width:720px){.profile-bio p{font-size:14px;line-height:1.65}.profile-self-copy h2{font-size:44px!important}}
/* Refined profile proportions for the longer bio. */
.profile-self-layout{grid-template-columns:minmax(0,1fr) 250px;gap:38px}
.profile-self-copy h2{font-size:clamp(36px,4.1vw,56px)!important;margin-bottom:16px!important}
.profile-bio{max-width:650px;margin-bottom:18px}
.profile-bio p{font-size:13.5px;line-height:1.58;letter-spacing:.01em;margin-bottom:10px}
.profile-facts{font-size:15px;line-height:1.65;gap:14px 26px;padding:17px 0;margin-top:14px}
.profile-detail-stats{margin-top:18px;gap:28px}
.profile-detail-stats b{font-size:29px}
.profile-tools{margin-top:20px}
.profile-self-portrait img{height:360px}
@media(max-width:720px){.profile-self-layout{grid-template-columns:1fr;gap:22px}.profile-self-portrait img{height:230px}.profile-bio p{font-size:14px;line-height:1.62}.profile-facts{font-size:14px}}
/* Keep project detail titles on one clean line. */
.map-modal h2{white-space:nowrap!important;font-size:clamp(24px,4.8vw,58px)!important;letter-spacing:-.075em!important;line-height:1.1!important}
@media(max-width:720px){.map-modal h2{font-size:clamp(20px,7vw,34px)!important}}
/* Locked cover rule for all subsequent cards: cover fills the glass frame. */
.map-card.feature .map-card-shell,.map-card.wide .map-card-shell,.map-card.tall .map-card-shell,.map-card.square .map-card-shell{padding:14px!important;overflow:hidden!important;border-radius:26px!important}
.map-card.feature .map-card-shell img,.map-card.wide .map-card-shell img,.map-card.tall .map-card-shell img,.map-card.square .map-card-shell img{width:100%!important;height:100%!important;display:block!important;object-fit:cover!important;border-radius:21px!important;transform:none!important}
.map-modal h2{white-space:nowrap!important;overflow:hidden;text-overflow:ellipsis!important}
/* Marketing operations case study: lead with the two primary long-form pages, then keep the remaining assets in a balanced grid. */
.project-marketing-operations-design .map-modal-gallery img:nth-child(-n+2){grid-column:span 2}
@media(max-width:720px){.project-marketing-operations-design .map-modal-gallery img:nth-child(-n+2){grid-column:auto}}
/* Flatten transparent cover edges so no dark pixels appear around the third card. */
.map-card.square .map-card-shell{background:#eef0f2!important}
.map-card.square .map-card-shell img{background:#eef0f2!important}
/* Keep transparent cover edges on the same light glass surface as the other cards. */
.map-card.square .map-card-shell{background:rgba(248,249,251,.86)!important}
.map-card.square .map-card-shell img{background:transparent!important}

/* Universal cover contract: every glass card image reaches the inner frame edge. */
.map-card.wide .map-card-shell,
.map-card.tall .map-card-shell,
.map-card.square .map-card-shell{
  padding:0!important;
  border-radius:28px!important;
}
.map-card.wide .map-card-shell img,
.map-card.tall .map-card-shell img,
.map-card.square .map-card-shell img{
  width:100%!important;
  height:100%!important;
  border-radius:27px!important;
  object-fit:cover!important;
  transform:none!important;
}
@media(max-width:720px){
  .map-card.wide .map-card-shell,
  .map-card.tall .map-card-shell,
  .map-card.square .map-card-shell{border-radius:22px!important}
  .map-card.wide .map-card-shell img,
  .map-card.tall .map-card-shell img,
  .map-card.square .map-card-shell img{border-radius:21px!important}
}

/* Match the reference card: preserve a consistent four-sided inset inside every glass frame. */
.map-card.wide .map-card-shell,
.map-card.tall .map-card-shell,
.map-card.square .map-card-shell{
  padding:14px!important;
  border-radius:28px!important;
}
.map-card.wide .map-card-shell img,
.map-card.tall .map-card-shell img,
.map-card.square .map-card-shell img{
  width:100%!important;
  height:100%!important;
  border-radius:21px!important;
  object-fit:cover!important;
  transform:none!important;
}
@media(max-width:720px){
  .map-card.wide .map-card-shell,
  .map-card.tall .map-card-shell,
  .map-card.square .map-card-shell{padding:12px!important;border-radius:22px!important}
  .map-card.wide .map-card-shell img,
  .map-card.tall .map-card-shell img,
  .map-card.square .map-card-shell img{border-radius:16px!important}
}

/* Marketing operations gallery: lead pages stay large; remaining assets are grouped by orientation. */
.project-marketing-operations-design .map-modal-gallery{
  grid-template-columns:repeat(4,minmax(0,1fr));
  align-items:start;
}
.project-marketing-operations-design .map-modal-gallery .gallery-image-1,
.project-marketing-operations-design .map-modal-gallery .gallery-image-2{
  grid-column:span 4;
}
.project-marketing-operations-design .map-modal-gallery .is-landscape{grid-column:span 2}
.project-marketing-operations-design .map-modal-gallery .is-portrait{grid-column:span 1}
@media(max-width:720px){
  .project-marketing-operations-design .map-modal-gallery{grid-template-columns:1fr}
  .project-marketing-operations-design .map-modal-gallery .gallery-image-1,
  .project-marketing-operations-design .map-modal-gallery .gallery-image-2,
  .project-marketing-operations-design .map-modal-gallery .is-landscape,
  .project-marketing-operations-design .map-modal-gallery .is-portrait{grid-column:auto}
}

/* The third case study uses the same vertical reading flow as the first two projects. */
.project-marketing-operations-design .map-modal-gallery{
  display:grid!important;
  grid-template-columns:1fr!important;
  gap:18px!important;
}
.project-marketing-operations-design .map-modal-gallery .gallery-image-1,
.project-marketing-operations-design .map-modal-gallery .gallery-image-2,
.project-marketing-operations-design .map-modal-gallery .is-landscape,
.project-marketing-operations-design .map-modal-gallery .is-portrait{
  grid-column:auto!important;
  width:100%!important;
}

/* Third case study: full-width hero pages followed by a compact material gallery. */
.project-marketing-operations-design .map-modal-gallery{
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  gap:16px!important;
}
.project-marketing-operations-design .map-modal-gallery .gallery-image-1,
.project-marketing-operations-design .map-modal-gallery .gallery-image-2{
  grid-column:span 3!important;
}
.project-marketing-operations-design .map-modal-gallery img:nth-child(n+3){
  grid-column:auto!important;
  width:100%!important;
  height:auto!important;
  object-fit:contain!important;
  background:#fff!important;
  border-radius:10px!important;
}
@media(max-width:720px){
  .project-marketing-operations-design .map-modal-gallery{grid-template-columns:1fr!important;gap:12px!important}
  .project-marketing-operations-design .map-modal-gallery .gallery-image-1,
  .project-marketing-operations-design .map-modal-gallery .gallery-image-2,
  .project-marketing-operations-design .map-modal-gallery img:nth-child(n+3){grid-column:auto!important}
}

/* Qichacha visual identity case study: both specification pages use the same full-width scale. */
.project-qichacha-visual-identity .map-modal-gallery{
  grid-template-columns:1fr!important;
}
.project-qichacha-visual-identity .map-modal-gallery img{
  grid-column:auto!important;
  width:100%!important;
}

/* Brand advertising cover uses a taller source ratio, so its glass frame follows the artwork. */
.map-card[data-project="brand-ad-offline"]{
  height:465px!important;
  min-height:465px!important;
  max-height:465px!important;
}
.map-card[data-project="brand-ad-offline"]::before{
  height:395px!important;
}
.map-card[data-project="brand-ad-offline"] .map-card-shell{
  height:395px!important;
}
.map-card[data-project="brand-ad-offline"] .map-card-shell img{
  height:367px!important;
}
@media(max-width:720px){
  .map-card[data-project="brand-ad-offline"]{
    height:260px!important;
    min-height:260px!important;
    max-height:260px!important;
  }
  .map-card[data-project="brand-ad-offline"]::before,
  .map-card[data-project="brand-ad-offline"] .map-card-shell{
    height:202px!important;
  }
  .map-card[data-project="brand-ad-offline"] .map-card-shell img{height:178px!important}
}

/* Cover-shape contract: a square cover gets a square glass frame while spacing and radii stay shared. */
.map-card[data-cover-shape="square"]{
  height:630px!important;
  min-height:630px!important;
  max-height:630px!important;
}
.map-card[data-cover-shape="square"]::before{height:560px!important}
.map-card[data-cover-shape="square"] .map-card-shell{height:560px!important}
.map-card[data-cover-shape="square"] .map-card-shell img{height:532px!important}
@media(max-width:720px){
  .map-card[data-cover-shape="square"]{
    height:300px!important;
    min-height:300px!important;
    max-height:300px!important;
  }
  .map-card[data-cover-shape="square"]::before,
  .map-card[data-cover-shape="square"] .map-card-shell{height:242px!important}
  .map-card[data-cover-shape="square"] .map-card-shell img{height:218px!important}
}

/* Wide cover shape keeps the original feature-card proportions. */
.map-card[data-cover-shape="wide"]{
  height:410px!important;
  min-height:410px!important;
  max-height:410px!important;
}
.map-card[data-cover-shape="wide"]::before{height:314px!important}
.map-card[data-cover-shape="wide"] .map-card-shell{height:314px!important}
.map-card[data-cover-shape="wide"] .map-card-shell img{height:286px!important}
@media(max-width:720px){
  .map-card[data-cover-shape="wide"]{
    height:260px!important;
    min-height:260px!important;
    max-height:260px!important;
  }
  .map-card[data-cover-shape="wide"]::before,
  .map-card[data-cover-shape="wide"] .map-card-shell{height:202px!important}
  .map-card[data-cover-shape="wide"] .map-card-shell img{height:178px!important}
}

/* Visual-map rhythm: slightly smaller cards with varied placement to match the reference collage. */
.map-card{
  transform:scale(.80);
  transform-origin:center top;
}
.map-card:hover{
  transform:translateY(-8px) scale(.815);
}
@media(max-width:720px){
  .map-card{transform:scale(.94);transform-origin:center top}
  .map-card:hover{transform:translateY(-6px) scale(.955)}
}


/* Personal practice square cover follows the asset shape while keeping the shared card rhythm. */
.map-card[data-project="personal-practice"]{
  width:360px!important;
  height:430px!important;
  min-height:430px!important;
  max-height:430px!important;
}
.map-card[data-project="personal-practice"]::before{height:360px!important;border-radius:28px!important}
.map-card[data-project="personal-practice"] .map-card-shell{height:360px!important;border-radius:28px!important}
.map-card[data-project="personal-practice"] .map-card-shell img{height:332px!important;border-radius:21px!important;object-fit:cover!important}
@media(max-width:720px){
  .map-card[data-project="personal-practice"]{width:calc(100vw - 48px)!important;height:338px!important;min-height:338px!important;max-height:338px!important}
  .map-card[data-project="personal-practice"]::before,.map-card[data-project="personal-practice"] .map-card-shell{height:280px!important}
  .map-card[data-project="personal-practice"] .map-card-shell img{height:252px!important;border-radius:16px!important}
}


/* Storybook cover uses its near-square portrait ratio for the glass frame. */
.map-card[data-project="storybook"]{
  width:350px!important;
  height:425px!important;
  min-height:425px!important;
  max-height:425px!important;
}
.map-card[data-project="storybook"]::before{height:367px!important;border-radius:28px!important}
.map-card[data-project="storybook"] .map-card-shell{height:367px!important;border-radius:28px!important}
.map-card[data-project="storybook"] .map-card-shell img{height:339px!important;border-radius:21px!important;object-fit:cover!important}
@media(max-width:720px){
  .map-card[data-project="storybook"]{width:calc(100vw - 48px)!important;height:338px!important;min-height:338px!important;max-height:338px!important}
  .map-card[data-project="storybook"]::before,.map-card[data-project="storybook"] .map-card-shell{height:280px!important}
  .map-card[data-project="storybook"] .map-card-shell img{height:252px!important;border-radius:16px!important}
}

/* Card 11: the supplied near-square cover defines its frosted frame geometry. */
.map-card[data-project="other-works"]{
  width:430px!important;
  height:488px!important;
  min-height:488px!important;
  max-height:488px!important;
}
.map-card[data-project="other-works"]::before{height:430px!important;border-radius:28px!important}
.map-card[data-project="other-works"] .map-card-shell{height:430px!important;border-radius:28px!important}
.map-card[data-project="other-works"] .map-card-shell img{height:402px!important;border-radius:21px!important;object-fit:cover!important}
@media(max-width:720px){
  .map-card[data-project="other-works"]{width:calc(100vw - 48px)!important;height:338px!important;min-height:338px!important;max-height:338px!important}
  .map-card[data-project="other-works"]::before,.map-card[data-project="other-works"] .map-card-shell{height:280px!important}
  .map-card[data-project="other-works"] .map-card-shell img{height:252px!important;border-radius:16px!important}
}

/* Map exploration should drag without selecting card labels. */
.map-viewport,.map-viewport .map-card,.map-viewport .map-card-info{user-select:none;-webkit-user-select:none}
.map-viewport img{user-select:none;-webkit-user-select:none;-webkit-user-drag:none}

/* Contact icon and two-line text share one centered row. */
.map-contact{flex-direction:row;align-items:center;gap:12px;padding:9px 12px;border-radius:20px}
.map-contact .map-contact-icon{display:block;flex:0 0 32px;width:32px;height:32px;object-fit:cover;border-radius:8px}
.map-contact .map-contact-copy{display:flex;flex-direction:column;gap:2px;min-width:0}
.map-contact-copy>span{font-size:11px;line-height:16px;font-weight:400;color:#77838e}
.map-contact-copy b{font-size:13px;line-height:18px;font-weight:500;color:#111820;white-space:nowrap}

/* The eye follows the pointer across the page; only hover reserves arrow space. */
.menu-trigger{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:50px;padding:6px 14px 6px 8px;white-space:nowrap;user-select:none;-webkit-user-select:none;transition:background .2s ease,border-color .2s ease}
.menu-trigger:hover,.menu-trigger:focus-visible{background:rgba(255,255,255,.82);border-color:rgba(255,255,255,.95)}
.menu-trigger:focus-visible{outline:2px solid #77838e;outline-offset:3px}
.projects-trigger-label{font-size:18px;line-height:24px;font-weight:400;letter-spacing:0}
.projects-eye{--eye-x:0px;--eye-y:4px;position:relative;display:block;flex:0 0 36px;width:36px;height:36px;border-radius:50%;overflow:hidden;background:radial-gradient(ellipse at 35% 28%,#fff 28%,#f2f3ef 82%);box-shadow:0 1px 2px rgba(20,30,20,.05) inset}
.projects-eye-iris{position:absolute;left:7px;top:7px;width:22px;height:22px;border-radius:50%;background:#d2ff4b;transform:translate(var(--eye-x),var(--eye-y));transition:transform 70ms ease-out}
.projects-eye-pupil{position:absolute;left:4.5px;top:4.5px;width:13px;height:13px;border-radius:50%;background:#050604}
.projects-trigger-arrow{display:block;flex:0 0 auto;width:0;min-width:0;height:20px;margin-left:-8px;overflow:hidden;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;opacity:0;transform:translateX(-6px);transition:width .22s ease,margin-left .22s ease,opacity .18s ease,transform .22s ease}
.menu-trigger:hover .projects-trigger-arrow,.menu-trigger:focus-visible .projects-trigger-arrow{width:20px;margin-left:2px;opacity:1;transform:translateX(0)}
@media(max-width:540px){.projects-trigger-label{font-size:16px;line-height:22px}.menu-trigger{min-height:46px}.projects-eye{flex-basis:32px;width:32px;height:32px}.projects-eye-iris{left:5px;top:5px}}
@media(prefers-reduced-motion:reduce){.projects-eye-iris,.projects-trigger-arrow{transition:none}}

/* Project navigation anchors the upper-left information stack. */
.map-header{flex-direction:column;align-items:flex-start;justify-content:flex-start;gap:12px}
.map-header .menu-trigger{order:-1}
.profile-trigger{top:120px}
.map-profile{top:120px}
@media(max-width:720px){.map-header{padding:14px 12px;gap:10px}.profile-trigger,.map-profile,.profile-trigger + .map-profile{top:108px}}
@media(max-width:540px){.map-logo span{display:inline}}

/* Keep project actions available while the long case-study gallery scrolls. */
.map-modal{padding-bottom:106px}
.map-modal-dock{
  position:fixed;
  z-index:42;
  left:50%;
  bottom:max(20px,env(safe-area-inset-bottom));
  transform:translateX(-50%);
  display:flex;
  align-items:center;
  gap:4px;
  padding:6px;
  border:1px solid rgba(255,255,255,.9);
  border-radius:999px;
  background:rgba(246,248,250,.87);
  box-shadow:0 12px 40px rgba(10,18,28,.22),0 1px 2px rgba(10,18,28,.08);
  backdrop-filter:blur(20px);
  -webkit-backdrop-filter:blur(20px);
}
.map-modal-dock .map-modal-close,.map-modal-dock .map-modal-contact{
  position:static;
  min-width:112px;
  height:46px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:9px;
  padding:0 18px;
  border:1px solid rgba(255,255,255,.72);
  border-radius:999px;
  color:#17202a;
  background:rgba(255,255,255,.42);
  font-size:14px;
  font-weight:500;
  white-space:nowrap;
  cursor:pointer;
  transition:background .22s ease,box-shadow .22s ease,transform .22s ease,color .22s ease;
}
.map-modal-dock .map-modal-close:hover,.map-modal-dock .map-modal-contact:hover{
  background:#fff;
  box-shadow:0 3px 12px rgba(20,31,43,.12);
  transform:translateY(-2px);
}
.map-modal-dock .map-modal-close:active,.map-modal-dock .map-modal-contact:active{
  transform:translateY(1px) scale(.96);
  box-shadow:0 1px 4px rgba(20,31,43,.1);
}
.map-modal-dock .map-modal-close:focus-visible,.map-modal-dock .map-modal-contact:focus-visible{outline:2px solid #2f6bff;outline-offset:2px}
.map-modal-dock .dock-close-icon{font-size:24px;font-weight:400;line-height:1}
.map-modal-dock .dock-contact-icon{width:19px;height:19px;flex:none}
.map-modal-dock-divider{height:24px;width:1px;background:#c9d0d6;margin:0 2px}
@media(max-width:540px){.map-modal{padding-bottom:98px}.map-modal-dock{bottom:max(12px,env(safe-area-inset-bottom))}.map-modal-dock .map-modal-close,.map-modal-dock .map-modal-contact{height:42px;min-width:98px;padding:0 14px;font-size:13px}}
@media(prefers-reduced-motion:reduce){.map-modal-dock .map-modal-close,.map-modal-dock .map-modal-contact{transition:none}}

/* Profile project rows navigate to their matching card on the visual map. */
.profile-project-row{width:100%;background:transparent;color:inherit;font:inherit;text-align:left;border-right:0;border-bottom:0;border-left:0;cursor:pointer;transition:background .2s ease,padding-left .2s ease}
.profile-project-row:hover,.profile-project-row:focus-visible{background:rgba(255,255,255,.6);padding-left:12px}
.profile-project-row:hover span,.profile-project-row:focus-visible span{color:#2468c8}
.profile-project-row:active{background:rgba(205,215,224,.7)}
.profile-project-row:focus-visible{outline:2px solid #2f6bff;outline-offset:-2px}
.map-world.is-navigating{transition:transform .8s cubic-bezier(.16,1,.3,1)!important}
.map-world{height:2200px}
@media(prefers-reduced-motion:reduce){.map-world.is-navigating{transition:none!important}.profile-project-row{transition:none}}

/* Keep the project-list exit reachable on long lists. */
.menu-close{position:sticky;top:0;z-index:2;min-height:32px;padding:7px 10px;border:1px solid rgba(255,255,255,.8);border-radius:99px;background:rgba(244,246,248,.9);backdrop-filter:blur(16px)}
@media(max-width:720px){
 .map-contact{width:220px;max-width:calc(100vw - 24px)}
 .visual-map{bottom:128px}
}

.map-viewport,.mini-map{touch-action:none}

/* Mobile overlays must not inherit the compact profile card's grid. */
@media(max-width:720px){
 .map-profile,.profile-trigger + .map-profile{inset:0;top:0;display:block;width:100%;height:100dvh;padding:12px;overflow-y:auto;overflow-x:hidden;z-index:28}
 .map-profile .profile-detail-panel{width:100%;min-width:0;min-height:calc(100dvh - 24px);height:auto;margin:0}
 .profile-detail-body{display:block;min-width:0}
 .profile-detail-content{overflow:visible;min-width:0;overflow-wrap:anywhere}
 .profile-detail-nav{display:flex;flex-wrap:wrap;overflow:visible}
 .profile-detail-nav button{flex:1 1 auto;width:auto;gap:8px}
 .profile-project-row{min-width:0}
 .profile-detail-head{padding-right:48px}
 .visual-map{left:12px;right:auto;bottom:max(20px,env(safe-area-inset-bottom))}
 .map-contact{left:12px;right:auto;top:178px;bottom:auto;width:220px}
 .map-header .menu-trigger{max-width:calc(100vw - 118px);gap:5px;padding-right:10px;padding-left:8px}
 .projects-trigger-label{font-size:clamp(12px,3.6vw,16px)}
}

@media(max-width:720px){
 .profile-detail-content,.profile-tab,.profile-self-layout,.profile-self-copy{width:100%;min-width:0;max-width:100%}
 .profile-detail-nav button{flex:1 1 0;min-width:0;font-size:11px;padding:10px 6px;justify-content:center;white-space:normal}
 .profile-detail-nav button span{display:none}
 .visual-map.collapsed .visual-map-toggle svg{transform:rotate(180deg)}
}


/* Keep the mobile canvas staggered while protecting the profile dialog. */
@media(max-width:720px){
 .map-header{padding-top:52px}
 .profile-trigger{top:146px}
 .map-contact{top:216px}
 .map-profile,.profile-trigger + .map-profile{top:0;transform:none!important}
 .map-profile .profile-close{position:fixed;top:24px;right:24px;width:44px;height:44px;z-index:3}
 .visual-map-toggle{width:40px;height:36px;flex-basis:40px}
}

/* Mobile controls are balanced across the canvas. Keep artwork crisp in motion. */
@media(max-width:720px){
 .visual-map{left:auto;right:12px}
 .map-card,.map-card .map-card-shell,.map-card img{filter:none!important;-webkit-filter:none!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important}
 .map-card:before{backdrop-filter:none!important;-webkit-backdrop-filter:none!important;background:rgba(236,238,240,.8)!important}
 .map-card,.map-card:hover{transform:none!important}
}

@media(max-width:720px){.map-world{transition:none}}

/* Give the project launcher balanced breathing room without reserving an arrow slot. */
.map-header .menu-trigger{padding:8px 24px 8px 14px;gap:10px;justify-content:center;max-width:calc(100vw - 24px)}
.projects-trigger-label{text-align:center}
@media(max-width:720px){.map-header .menu-trigger{padding:8px 24px 8px 14px;gap:10px;max-width:calc(100vw - 24px)}.projects-trigger-label{font-size:16px}}

/* These supplied PNGs contain a transparent drop-shadow around their artwork. */
.map-card .map-cover-crop{display:block;width:100%;height:100%;overflow:hidden;border-radius:21px}
.map-card[data-project="personal-practice"] .map-cover-crop img,.map-card[data-project="other-works"] .map-cover-crop img{display:block;width:100%!important;height:100%!important;border-radius:0!important;transform:scale(1.065)!important;transform-origin:center;box-shadow:none!important}
@media(max-width:720px){.map-card .map-cover-crop{border-radius:16px}}
