/* V4.21: original brand marks, unclipped navigation, compact contact details. */
.portfolio-v4 .early-brand{display:flex;align-items:center;gap:12px}
.portfolio-v4 .early-brand img{width:40px;height:40px;background:transparent;border-radius:0;overflow:visible;object-fit:contain}
.portfolio-v4 .early-brand .likee-mark{background:transparent}

/* The shader includes a 72px transparent margin. Keep its soft shadow visible
   without allowing travelling particles to create horizontal page overflow. */
body header.nav.site-nav{overflow:visible!important}
body header.nav.site-nav nav.portfolio-gooey{overflow:visible!important}
header.site-nav .portfolio-gooey .gooey-nav__canvas{clip-path:inset(54px 64px 48px 64px)}

/* Neutral surfaces and clear columns; both QR codes stay visible. */
footer.site-footer.wrap.footer-google{position:relative;display:block!important;width:100%;max-width:none;margin:0!important;padding:40px 0 22px;background:#f8f9fa;border:0;border-top:1px solid #e8eaed;color:#202124;line-height:1.5;scroll-margin-top:100px;color-scheme:light}
.footer-google>.footer-shell{display:block;width:calc(100% - 96px);max-width:1160px;margin:auto}
.footer-google .footer-layout{display:grid;grid-template-columns:.75fr 1fr 304px;gap:clamp(24px,4vw,60px);align-items:start}
.footer-google .footer-identity{display:flex;align-items:center;gap:14px;font-size:14px;color:#3c4043;line-height:22px}
.footer-google .footer-vic{width:44px;height:16px;flex:0 0 44px;color:#3c4043}
.footer-google p.footer-motto{display:block;width:auto;margin:14px 0 0;font-size:13px;font-weight:400;color:#5f6368;line-height:1.8}
.footer-google h3{margin:0 0 14px;font-size:14px;font-weight:500;line-height:22px;letter-spacing:0;color:#202124}
.footer-google .footer-contact-list{min-width:0}
.footer-google .footer-contact-row+.footer-contact-row{margin-top:14px}
.footer-google .footer-field-label{display:block;font-size:12px;color:#80868b;line-height:18px}
.footer-google .footer-copy{display:flex;align-items:center;gap:10px;min-height:30px;max-width:100%;margin:0;padding:0;border:0;border-radius:0;background:none;color:#3c4043;font-family:inherit;font-size:14px;font-weight:400;line-height:1.5;text-align:left;cursor:pointer}
.footer-copy>span:first-child{min-width:0;overflow-wrap:anywhere}
.footer-google .footer-copy:hover{color:#1967d2}
.footer-google .contact-copy-icon{display:grid;place-items:center;flex:0 0 14px;width:14px;height:14px;color:#80868b;opacity:.7}
.contact-copy-icon svg{grid-area:1/1;width:14px;height:14px;stroke:currentColor;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round}
.contact-copy-icon .copied-glyph{display:none}
.footer-copy.is-copied .copy-glyph{display:none}
.footer-copy.is-copied .copied-glyph{display:block;color:#188038}
.footer-google .footer-qr-pair{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.footer-google .footer-qr-card{min-width:0}
.footer-google .footer-qr{display:block;width:128px;max-width:100%;padding:8px;margin:0 0 7px;border:0;border-radius:12px;background:#fff;cursor:zoom-in}
.footer-google .contact-qr-image{border-radius:0}
.footer-google .footer-account{gap:6px;min-height:28px;font-size:11px;white-space:nowrap}
.footer-google .footer-bottom{position:relative;display:flex;align-items:center;justify-content:space-between;gap:24px;margin-top:30px;padding-top:18px;border-top:1px solid #dadce0}
.footer-google .footer-sites{display:flex;align-items:center;gap:24px;flex-wrap:wrap;font-size:12px;color:#80868b}
.footer-google .footer-sites a{font-size:12px;line-height:1.5;color:#5f6368;gap:0;text-underline-offset:4px}
.footer-google .footer-sites a:hover{color:#1967d2;text-decoration:underline}
.footer-google .footer-top{display:flex;align-items:center;gap:10px;min-height:36px;flex-shrink:0;padding:0;border:0;background:none;font-family:inherit;font-size:12px;color:#5f6368;cursor:pointer}
.footer-google .footer-top:hover{color:#1967d2}
.footer-google a:focus-visible,.footer-google button:focus-visible{outline:2px solid #1a73e8;outline-offset:4px;border-radius:3px}
.footer-google #contactStatus{position:absolute;right:0;top:-23px;display:block;min-height:18px;margin:0;font-size:11px;line-height:1.5;color:#188038}
.footer-google #contactStatus:empty{visibility:hidden}
#floatingContact.is-at-contact,body.at-footer .site-top{opacity:0;visibility:hidden;pointer-events:none}
@media(max-width:850px){.footer-google .footer-layout{grid-template-columns:1fr 304px;gap:26px 32px}.footer-google .footer-brand{grid-column:1/-1;display:flex;align-items:center;gap:24px}.footer-google p.footer-motto{margin:0}}
@media(max-width:600px){footer.site-footer.wrap.footer-google{padding:28px 0 20px}.footer-google>.footer-shell{width:calc(100% - 48px)}.footer-google .footer-layout{grid-template-columns:1fr;gap:26px}.footer-google .footer-brand{display:block;grid-column:auto}.footer-google p.footer-motto{margin-top:8px}.footer-google .footer-contact-list{display:grid;grid-template-columns:1fr 1fr;gap:8px 16px}.footer-google .footer-contact-list h3{grid-column:1/-1;margin:0}.footer-google .footer-contact-row+.footer-contact-row{margin-top:0}.footer-google .footer-copy{font-size:12px;gap:6px}.footer-google .footer-email{font-size:11px}.footer-google .footer-qr-pair{grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.footer-google .footer-qr{width:136px}.footer-google .footer-account{font-size:11px}.footer-google h3{margin-bottom:10px}.footer-google .footer-bottom{margin-top:24px;padding-top:15px;gap:16px}.footer-google .footer-sites{gap:8px 16px}.footer-google .footer-sites>span{width:100%;font-size:11px}.footer-google .footer-top>span{display:none}.footer-google .footer-top{justify-content:center;min-width:28px}.portfolio-v4 .early-brand img{width:36px;height:36px}}

/* V4.22: one dark footer, with product links under the identity. */
footer.site-footer.wrap.footer-dark{padding:40px 0;background:#111113;border-top:0;color:#eeeef0;color-scheme:dark}
.footer-dark .footer-layout{grid-template-columns:minmax(210px,1fr) minmax(220px,1fr) 304px auto;gap:32px}
.footer-dark .footer-identity,.footer-dark .footer-vic,.footer-dark h3{color:#eeeef0}
.footer-dark p.footer-motto{color:#98989f}
.footer-dark .footer-field-label,.footer-dark .contact-copy-icon{color:#85858e}
.footer-dark .footer-copy{color:#c9c9d0}
.footer-dark .footer-copy:hover,.footer-dark .footer-sites a:hover,.footer-dark .footer-top:hover{color:#fff}
.footer-dark .footer-sites{display:flex;gap:10px 16px;margin-top:26px;color:#85858e;font-size:12px}
.footer-dark .footer-sites>span{width:100%}
.footer-dark .footer-sites a{color:#b0b0ba}
.footer-dark .footer-top{color:#a0a0aa;align-self:start;white-space:nowrap;min-height:22px}
.footer-dark #contactStatus{top:auto;bottom:12px;right:48px;color:#81c995}
@media(max-width:1100px){.footer-dark .footer-layout{grid-template-columns:minmax(180px,1fr) minmax(200px,1fr) 288px;gap:24px}.footer-dark .footer-top{grid-column:3;justify-self:end;margin-top:-12px}.footer-dark .footer-qr-pair{gap:8px}}
@media(max-width:850px){.footer-dark .footer-layout{grid-template-columns:1fr 288px}.footer-dark .footer-brand{display:block;grid-column:auto}.footer-dark p.footer-motto{margin-top:14px}.footer-dark .footer-contact-list{grid-column:1;grid-row:2}.footer-dark .footer-qr-pair{grid-column:2;grid-row:1/3}.footer-dark .footer-top{grid-column:2;margin-top:0}}
@media(max-width:600px){footer.site-footer.wrap.footer-dark{padding:28px 0}.footer-dark .footer-layout{grid-template-columns:1fr;gap:26px}.footer-dark .footer-brand,.footer-dark .footer-contact-list,.footer-dark .footer-qr-pair{grid-column:1;grid-row:auto}.footer-dark .footer-sites{margin-top:20px}.footer-dark .footer-qr-pair{gap:20px}.footer-dark .footer-top{grid-column:1;justify-self:end}.footer-dark .footer-top>span{display:block}.footer-dark #contactStatus{bottom:24px;left:24px;right:auto}}
/* The interactive badge floats above the resume cards. */
.badge-intro .badge-stage{z-index:4}
.badge-intro .intro-top,.badge-intro .intro-enter-cue{z-index:6}

/* V4.23: use a full-width WebGL viewport so swing is not clipped at the resume edge. */
@media(min-width:901px){.badge-intro .badge-stage{left:0;right:0;width:100%}}

/* V4.25 footer baseline and real project previews. */
.footer-dark .footer-brand,.footer-dark .footer-contact-list{min-height:164px;display:flex;flex-direction:column;align-self:start}
.footer-dark .footer-brand .footer-sites{margin-top:auto;padding-top:22px}
.footer-dark .footer-contact-list .footer-contact-row:last-child{margin-top:auto}
.footer-dark .footer-qr{margin-bottom:0}
.aurora-project-preview{display:block;position:relative;width:100%;padding:0;border:0;border-radius:22px;overflow:hidden;background:#111;cursor:pointer;aspect-ratio:16/9}
.aurora-project-preview img{width:100%;height:100%;object-fit:contain}.aurora-project-preview>span{position:absolute;left:20px;bottom:20px;padding:10px 16px;border-radius:24px;background:#17151ddd;color:#fff;font-size:13px}
.arc-card.has-media{background:#111}.arc-card.has-media>img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:-1}.arc-card.has-media:after{content:'';position:absolute;inset:0;z-index:-1;background:linear-gradient(transparent 20%,#000b)}.arc-card.has-media .arc-card-top,.arc-card.has-media .arc-card-title small{color:#eee}.arc-card.has-media .arc-card-title strong{color:#fff}
@media(max-width:850px){.footer-dark .footer-brand,.footer-dark .footer-contact-list{min-height:0}.footer-dark .footer-brand .footer-sites{margin-top:20px;padding-top:0}.footer-dark .footer-contact-list .footer-contact-row:last-child{margin-top:14px}}
@media(max-width:600px){.footer-dark .footer-contact-list{display:grid}.footer-dark .footer-contact-list .footer-contact-row:last-child{margin-top:0}}

.gallery-category-root{width:min(760px,100%);max-width:100%}.gallery-categories .gooey-nav__link{padding-inline:10px;font-size:12px}
@media(max-width:700px){.gallery-category-root{width:100%}.gallery-categories .gooey-nav__list{flex-wrap:wrap;justify-content:center;row-gap:4px}.gallery-categories .gooey-nav__link{font-size:10px;padding-inline:6px}.gallery-page .gallery-dock{max-width:calc(100% - 20px)}}
@media(max-width:700px){.gallery-categories .gooey-nav__item{flex:0 0 auto}.gallery-categories .gooey-nav__link{font-size:11px;padding:8px}.gallery-categories .gooey-nav__list{column-gap:4px;row-gap:4px}}

/* V4.26: moving recent covers, clean player controls, real AURORA demos, bounded homepage archive. */
.arc-card.has-media .arc-motion{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:-1;pointer-events:none}
.arc-card .arc-play{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);display:grid;place-items:center;width:54px;height:54px;border:1px solid #ffffff80;border-radius:50%;background:#29233055;backdrop-filter:blur(10px);color:#fff;box-shadow:0 4px 20px #0003;pointer-events:none}.arc-play svg{width:25px;height:25px}.arc-card.is-active .arc-play{background:linear-gradient(125deg,#ffe08add,#ffb7c8dd 35%,#cbb6ffdd 65%,#9be8ffdd);border-color:#ffffffa0;color:#292330}
.arc-card .arc-card-title strong{font-size:clamp(16px,1.6vw,23px);line-height:1.4;max-width:95%;text-wrap:balance}.arc-controls .arc-dots{gap:7px}.arc-controls{gap:15px}
body.gallery-page #siteLanguage,body:has(dialog[open]) #siteLanguage{display:none!important}
#filmDialog.vic-cinema .cinema-top{position:absolute;z-index:20;top:24px;left:28px;right:28px;opacity:1!important;visibility:visible!important;pointer-events:none}
#filmDialog.vic-cinema #closeFilm,.gallery-exit{display:flex;align-items:center;gap:9px;justify-content:center;min-height:42px;padding:10px 17px;border:1px solid #ffffff8c!important;border-radius:999px!important;background:linear-gradient(125deg,#ffe08a,#ffb7c8 35%,#cbb6ff 68%,#9be8ff)!important;color:#292330!important;font:500 12px/1.4 MiSans,sans-serif;box-shadow:0 4px 20px #0003,inset 0 1px 0 #ffffff80;pointer-events:auto;cursor:pointer;text-decoration:none}
#filmDialog.vic-cinema #closeFilm:hover,.gallery-exit:hover{filter:brightness(1.08)}
.gallery-exit{position:absolute;right:32px;top:30px;z-index:150}.gallery-page #stageCounter{position:static;margin-right:100px}.gallery-page .gallery-idle .gallery-exit{opacity:1}
.aurora-project-preview video,.aurora-login-preview video{display:block;width:100%;height:100%;object-fit:contain;background:#111}
.aurora-login{padding-top:42px;padding-bottom:64px}.aurora-login .platform-heading{margin-bottom:24px}.aurora-login .platform-heading h3{font-size:clamp(24px,3vw,42px);margin-top:12px}.aurora-login-preview{position:relative;display:block;aspect-ratio:16/9;overflow:hidden;border:1px solid #2221;border-radius:22px;background:#111}.aurora-login-cta{position:absolute;bottom:22px;right:22px;display:flex;align-items:center;gap:30px;padding:13px 20px;border-radius:999px;background:linear-gradient(125deg,#ffe08a,#ffb7c8 35%,#cbb6ff 68%,#9be8ff);color:#292330;font-size:13px;font-weight:500;box-shadow:0 5px 22px #0004}
.collection-more--manual{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:18px;padding:30px 0 12px}.collection-more--manual .collection-count{font-size:12px;color:#aaa2b6}.collection-more--manual button.collection-expand{display:inline-flex;align-items:center;gap:17px;padding:13px 20px;border:1px solid #ffffff80;border-radius:999px;background:linear-gradient(125deg,#ffe08a,#ffb7c8 35%,#cbb6ff 68%,#9be8ff);color:#292330;font:500 13px/1.5 MiSans,sans-serif;box-shadow:0 5px 23px #0003,inset 0 1px 0 #fff9;transition:transform .2s,box-shadow .2s}.collection-more--manual button.collection-expand:hover{transform:translateY(-2px);box-shadow:0 8px 28px #cbb6ff22}.expand-remaining{font-size:11px;padding-left:14px;border-left:1px solid #29233030;font-variant-numeric:tabular-nums}.expand-arrow{font-size:18px}.collection-more--manual button.collection-collapse{padding:10px 8px;border:0;background:transparent;color:#c8bfd5;font-size:12px;box-shadow:none}.collection-more--manual [hidden]{display:none!important}
@media(max-width:700px){.arc-card .arc-play{width:43px;height:43px}.arc-play svg{width:21px;height:21px}.arc-controls{gap:10px}.arc-controls .arc-dots{gap:5px}.arc-dots button{width:5px;height:5px}.arc-dots button[aria-current=true]{width:18px}.gallery-exit{right:20px;top:91px;min-height:36px;padding:8px 12px}.gallery-page #stageCounter{margin-right:82px;font-size:9px}#filmDialog.vic-cinema .cinema-top{top:18px;left:18px;right:18px}.aurora-login{padding-top:24px;padding-bottom:40px}.aurora-login-preview{border-radius:16px}.aurora-login-cta{bottom:12px;right:12px;padding:10px 15px;font-size:12px}.collection-more--manual{gap:12px}.arc-card .arc-card-title{left:18px;bottom:18px}}

.collection-more--manual button.collection-expand span{color:#292330;-webkit-text-fill-color:#292330;opacity:1}

/* V4.27: quieter typography on recent-work cards. */
.arc-card .arc-card-title{left:24px;right:24px;bottom:24px;gap:7px;max-width:none}
.arc-card .arc-card-title strong{max-width:100%;font-size:16px;font-weight:400;line-height:1.55;letter-spacing:.005em;text-wrap:pretty;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden}
.arc-card .arc-card-title small{font-size:10px;font-weight:400;line-height:1.5;letter-spacing:.035em;opacity:.7}
.arc-card .arc-card-top{font-size:9px;font-weight:400;letter-spacing:.05em;opacity:.7}
@media(max-width:700px){.arc-card .arc-card-title{left:18px;right:18px;bottom:18px;gap:5px}.arc-card .arc-card-title strong{font-size:14px;line-height:1.55}.arc-card .arc-card-title small,.arc-card .arc-card-top{font-size:9px}}

/* V4.28: translucent play controls keep the moving cover visible. */
.arc-card .arc-play{background:rgba(35,31,43,.16);border-color:rgba(255,255,255,.42);backdrop-filter:blur(5px);-webkit-backdrop-filter:blur(5px);box-shadow:0 3px 14px #0002;color:rgba(255,255,255,.9)}
.arc-card.is-active .arc-play{background:linear-gradient(125deg,#ffe08a42,#ffb7c842 35%,#cbb6ff42 65%,#9be8ff42);border-color:#ffffff66;color:#ffffffeb}

/* V4.29: compact editorial titles. */
.arc-card .arc-card-title strong{font-size:13px;line-height:1.5;font-weight:400;letter-spacing:.01em}
@media(max-width:700px){.arc-card .arc-card-title strong{font-size:12px;line-height:1.5}}

/* V4.30: calm, number-free progressive reveal. */
.collection-more--manual{gap:24px;padding:38px 0 18px}
.collection-more--manual button.collection-expand{gap:24px;padding:13px 25px;font-size:13px;box-shadow:0 4px 18px #0002,inset 0 1px 0 #ffffff70}
.collection-more--manual .expand-arrow{font-size:17px;opacity:.8}
.collection-more--manual button.collection-collapse{font-size:12px;opacity:.7}
.collection-more--manual button.collection-collapse:hover{opacity:1}
.collection-more--manual button:focus:not(:focus-visible){outline:none}
.collection-more--manual button:focus-visible{outline:1px solid #cbb6ff;outline-offset:4px}
@media(max-width:700px){.collection-more--manual{gap:18px}.collection-more--manual button.collection-expand{padding:12px 21px;font-size:12px}}

/* V4.31: one quiet total preserves the scale of the collection. */
.collection-more--manual .collection-count{flex-basis:100%;text-align:center;font-size:12px;line-height:1.5;letter-spacing:.06em;color:#bcb5ca;margin-bottom:-10px;font-variant-numeric:tabular-nums}

/* V4.32: a single split capsule for four more rows or the whole collection. */
.collection-more--manual .collection-split{display:inline-flex;align-items:stretch;border:1px solid #ffffff85;border-radius:999px;background:linear-gradient(125deg,#ffe08a,#ffb7c8 35%,#cbb6ff 68%,#9be8ff);box-shadow:0 4px 18px #0002,inset 0 1px 0 #ffffff70;overflow:hidden}
.collection-more--manual .collection-split button{display:block;margin:0;border:0;border-radius:0;background:transparent;color:#292330;font:400 13px/1.5 MiSans,sans-serif;padding:14px 24px;box-shadow:none;cursor:pointer;transform:none;white-space:nowrap}
.collection-more--manual .collection-split button+button{position:relative;padding-inline:22px}
.collection-more--manual .collection-split button+button:before{content:'';position:absolute;left:0;top:28%;height:44%;width:1px;background:#29233033}
.collection-more--manual .collection-split button:hover{background:#ffffff25;transform:none;box-shadow:none}
.collection-more--manual .collection-split button:focus-visible{outline:2px solid #65528b;outline-offset:-5px;border-radius:999px}
@media(max-width:700px){.collection-more--manual .collection-split button{font-size:12px;padding:12px 18px}.collection-more--manual .collection-split button+button{padding-inline:17px}}
