/* Personal portfolio presentation. The existing archive and journal retain their content. */
:root{--signal-magenta:#e63e87;--magenta:#e63e87;--cinematic-pink:#fa87b8;--pink:#fa87b8;--lime:#fa87b8;--amber:#debaff;--muted-gray:#a6b0c9;--muted:#a6b0c9;--max:1240px;--radius:8px;--radius-lg:12px;--line:rgba(174,190,227,.15)}
body:not(.cv-page){background:radial-gradient(ellipse at 77% 5%,#20113680,transparent 33%),linear-gradient(180deg,#070b19,#090d1c 60%,#070b17);color:#f4f5fb}
body:not(.cv-page)::before{opacity:.16;background-size:64px 64px;mask-image:linear-gradient(black,transparent 900px)}
body:not(.cv-page) main{position:relative;z-index:3}
body:not(.cv-page) h1,body:not(.cv-page) h2,body:not(.cv-page) h3{font-family:var(--font-display);letter-spacing:-.045em}
body:not(.cv-page) h2 em{font-style:normal;color:#f58fb8}
body:not(.cv-page) .site-header{background:rgba(7,11,25,.92);border-bottom:1px solid var(--line);backdrop-filter:blur(16px)}
body:not(.cv-page) .site-header-inner{min-height:88px;width:min(var(--max),calc(100% - 64px));gap:26px}
body:not(.cv-page) .brand{gap:12px;flex-shrink:0}
body:not(.cv-page) .brand-copy{font-family:var(--font-display);font-size:17px;letter-spacing:-.02em;line-height:1.4}
body:not(.cv-page) .brand-copy em{font:10px var(--font-body);color:#9ca8c3;letter-spacing:.02em;text-transform:none}
body:not(.cv-page) .brand-avatar-mark{width:40px;height:40px;background:#17182b;border:1px solid #9a4e8a66;box-shadow:none}
body:not(.cv-page) .main-nav{gap:22px}
body:not(.cv-page) .main-nav a{font:500 12px var(--font-body);text-transform:none;letter-spacing:.01em;padding:14px 0;white-space:nowrap}
body:not(.cv-page) .main-nav .nav-cta{padding:11px 16px;border:1px solid #a4accb45;border-radius:5px;color:#f5f6fc;background:transparent}
body:not(.cv-page) .main-nav .is-current{color:#ff99c3}
body:not(.cv-page) .button{font:600 13px var(--font-body);text-transform:none;letter-spacing:.01em;border-radius:5px;min-height:48px;padding:14px 23px;gap:16px}
body:not(.cv-page) .button-primary{background:#c82365;color:#fff;border:1px solid #e84b8c;box-shadow:0 7px 30px #df216325}
body:not(.cv-page) .button-primary:hover{background:#ad1c57;transform:translateY(-2px)}
body:not(.cv-page) .button-ghost{background:#10162a80;color:#eeeef8;border:1px solid #9ca8c342}
body:not(.cv-page) .quiet-link{display:inline-flex;align-items:center;min-height:44px;gap:20px;font-size:13px;font-weight:600;color:#e2e6f2}
body:not(.cv-page) .quiet-link:hover,body:not(.cv-page) a:hover h3{color:#ffa7cd}
body:not(.cv-page) :focus-visible{outline:2px solid #ff99c3;outline-offset:5px}
[hidden]{display:none!important}
body:not(.cv-page) .micro-label{font:10px/1.6 var(--font-mono);letter-spacing:.15em;color:#b4bdd4;text-transform:uppercase;margin:0 0 18px;display:flex;align-items:center;gap:8px}
.availability-dot{display:inline-block;width:6px;height:6px;background:#8fddba;border-radius:50%;box-shadow:0 0 12px #88deb44a;flex-shrink:0}
.cinema-hero{display:grid;grid-template-columns:1.02fr 1fr;gap:64px;align-items:center;padding:74px 0 62px;position:relative;min-height:680px}
.cinema-hero::before{content:'';position:absolute;width:600px;height:600px;max-width:100%;background:radial-gradient(ellipse,#a3276f13,transparent 65%);right:-20px;top:-40px;pointer-events:none}
.cinema-intro{position:relative;min-width:0}
.cinema-intro h1{font-size:clamp(68px,7.8vw,108px);font-weight:700;line-height:.87;letter-spacing:-.065em!important;margin:30px 0 26px}
.cinema-intro h1>span{display:block}
.name-period{color:#e63e87}
.hero-role{font-size:12px;font-weight:600;letter-spacing:.01em;margin:0 0 30px;color:#c1c9df}
.hero-role>span{color:#e65c98;padding:0 6px}
.cinema-statement{font:500 23px/1.4 var(--font-display);letter-spacing:-.025em;margin:0 0 16px}
.cinema-statement em{font-style:normal;color:#ef97bf}
.cinema-summary{font-size:14px;color:#a8b4ce;line-height:1.85;max-width:440px;margin:0}
.cinema-actions{display:flex;gap:13px;flex-wrap:wrap;align-items:center;margin-top:28px}
.hero-specialties{display:flex;flex-wrap:wrap;gap:18px;margin-top:34px;color:#8693af;font:9px var(--font-mono);letter-spacing:.08em}
.cinema-stage{position:relative;min-width:0;padding:14px;background:linear-gradient(135deg,#a4aeca16,transparent 30%,#bb36751a);border:1px solid #a3afcc25;border-radius:10px;box-shadow:0 25px 100px #0000004a}
.cinema-stage::before,.cinema-stage::after{content:'';position:absolute;width:27px;height:27px;pointer-events:none;border-color:#f077ad;border-style:solid}
.cinema-stage::before{left:-1px;top:-1px;border-width:2px 0 0 2px;border-top-left-radius:10px}
.cinema-stage::after{right:-1px;bottom:-1px;border-width:0 2px 2px 0;border-bottom-right-radius:10px}
.stage-topline{display:flex;justify-content:space-between;gap:12px;font:8px var(--font-mono);letter-spacing:.13em;color:#a6b0ca;margin:1px 0 14px}
.stage-topline>span:first-child{color:#ee93bb}
.reel-frame{display:block;position:relative;aspect-ratio:1.5;background:#080915;overflow:hidden;border-radius:4px}
.reel-frame>img{width:100%;height:100%;object-fit:cover;object-position:50% 35%;transition:transform .5s}
.reel-frame:hover>img{transform:scale(1.035)}
.reel-frame::after{position:absolute;content:'';inset:35% 0 0;background:linear-gradient(transparent,#080a16f5);pointer-events:none}
.reel-footer{position:absolute;bottom:22px;left:22px;right:22px;z-index:1;display:flex;justify-content:space-between;align-items:center}
.reel-footer small{display:block;font:8px var(--font-mono);letter-spacing:.12em;color:#d2b6d5;margin-bottom:5px}
.reel-footer strong{font:500 27px var(--font-display);letter-spacing:-.04em}
.play-circle{display:grid;place-items:center;width:44px;height:44px;border:1px solid #ffd1e78a;border-radius:50%;color:#ffe3ef;background:#b32b6738;font-size:13px;backdrop-filter:blur(6px)}
.stage-projects{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:10px}
.stage-projects a{position:relative;border:1px solid #afb0da28;overflow:hidden;aspect-ratio:1.65;border-radius:3px}
.stage-projects img{width:100%;height:100%;object-fit:cover;transition:transform .4s}
.stage-projects a:hover img{transform:scale(1.05)}
.stage-projects a>span{position:absolute;inset:auto 0 0;padding:30px 12px 10px;background:linear-gradient(transparent,#060a17);font:500 14px var(--font-display)}
.stage-projects small{display:block;font:7px var(--font-mono);letter-spacing:.08em;margin-bottom:3px;color:#d0bad5}
.stage-projects b{float:right;color:#ff8bbb;font-weight:400}
.stage-caption{font:8px var(--font-mono);text-align:right;color:#8995b0;letter-spacing:.025em;margin:12px 0 0}
.chapter-nav{display:grid;grid-template-columns:repeat(4,1fr);border-block:1px solid var(--line);position:relative;z-index:3}
.chapter-nav a{min-height:76px;display:flex;align-items:center;gap:13px;padding:15px 20px;border-right:1px solid var(--line);font-size:12px;font-weight:500}
.chapter-nav a:first-child{padding-left:0}.chapter-nav a:last-child{border-right:0}.chapter-nav a>span{font:10px var(--font-mono);color:#b76b96}.chapter-nav b{margin-left:auto;font-size:15px;color:#8291ae;font-weight:400}.chapter-nav a:hover{color:#ffafd1}
.portfolio-section{padding-block:90px}
.section-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:30px;margin-bottom:24px}
.portfolio-home h2{font-size:clamp(32px,3.4vw,46px);font-weight:500;line-height:1.14;margin:0;letter-spacing:-.045em}
.section-heading .micro-label{color:#bb779d;margin-bottom:13px}
.section-deck{font-size:14px;color:#a6b0c9;line-height:1.8;max-width:690px;margin:0 0 30px}
.game-showcase{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}
.game-card{background:#0f1527;border:1px solid #9daed129;border-radius:7px;overflow:hidden;transition:border-color .25s,transform .25s;display:flex;flex-direction:column}
.game-card:hover{border-color:#f478b06b;transform:translateY(-4px)}
.game-art{display:block;aspect-ratio:16/10;position:relative;overflow:hidden;background:#0a0e1e}
.game-art img{width:100%;height:100%;object-fit:cover;transition:transform .45s}
.game-art:hover img{transform:scale(1.045)}
.game-art>span{position:absolute;bottom:9px;left:12px;font:7px var(--font-mono);letter-spacing:.08em;padding:4px 6px;background:#050815c9;border:1px solid #d9dff026;color:#d4d9e7}
.game-copy{padding:24px;display:flex;flex-direction:column;flex:1}
.project-meta{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:8px;font:9px var(--font-mono);color:#98a5c0;letter-spacing:.02em;margin-bottom:17px}
.maturity{display:inline-flex;align-items:center;gap:7px;color:#ddd0eb;border:1px solid #c6a8e735;background:#be94ee0b;border-radius:3px;padding:5px 8px;font:9px var(--font-mono)}
.game-copy h3{font-size:23px;line-height:1.2;font-weight:500;margin:0 0 12px}
.game-copy>p{font-size:12px;line-height:1.8;color:#a9b4ce;margin:0 0 18px}
.game-copy .project-role{font-size:10px;color:#ba9eb9;margin-top:auto;margin-bottom:18px}
.project-link{display:flex;justify-content:space-between;align-items:center;border-top:1px solid var(--line);padding-top:15px;min-height:44px;font-size:12px;font-weight:600;color:#e7d7e8}
.project-link:hover{color:#ffa7cd}.project-link>span{color:#f48cbb}
.scope-note{margin-top:20px;color:#9ba7c2;font-size:11px;line-height:1.7;display:flex;gap:10px}.scope-note>span{color:#f085b4}
.jam-section{background:linear-gradient(110deg,#21112855,#14192e60);border-block:1px solid var(--line)}
.jam-section .portfolio-section{padding-block:64px}
.section-aside{color:#a7b2cb;font-size:12px}
.jam-grid{display:grid;grid-template-columns:1fr 1fr;gap:28px;margin-top:32px}
.jam-entry{display:flex;gap:22px;padding:28px;border:1px solid #b45c8c4a;background:#101426b5;border-radius:6px}
.jam-entry.upcoming{border-color:#9daed129;background:#0b1020a1}
.jam-number{font:400 42px/1 var(--font-display);letter-spacing:-.07em;color:#ad507e55;padding-top:3px}.upcoming .jam-number{color:#69758e66}
.jam-content{flex:1;min-width:0}.jam-content h3{font-size:28px;font-weight:500;margin:0 0 12px;line-height:1.2}.jam-content>p{color:#a8b4cf;font-size:13px;line-height:1.85;margin:0 0 20px}.jam-content .project-meta{margin-bottom:20px}.in-progress{color:#bce3cf;border-color:#8cbea547;background:#85d5a90b}.jam-detail{display:flex;flex-direction:column;gap:6px;padding-top:17px;border-top:1px solid var(--line)}.jam-detail>span{font:8px var(--font-mono);letter-spacing:.1em;color:#a68da6}.jam-detail>strong{font-size:12px;font-weight:500;color:#dedfea}.jam-content .jam-footnote{font-size:10px;color:#8e9ab5;margin:20px 0 0}
.art-feature{display:grid;grid-template-columns:1.2fr 1fr;gap:48px;align-items:center;margin-top:34px}.art-reel{display:block;position:relative;border:1px solid #b1a8d62a;border-radius:7px;overflow:hidden;background:#060911}.art-reel>img{width:100%;display:block;height:auto}.art-reel-action{display:flex;justify-content:space-between;padding:17px 22px;background:#15182a;font-size:12px}.art-reel-action>span{color:#f99cc6}.art-summary h3{font-size:32px;line-height:1.2;font-weight:500;margin:0 0 16px}.art-summary>p{font-size:13px;color:#a7b3cc;line-height:1.8;margin:0 0 20px}.discipline-row{display:flex;align-items:center;gap:16px;border-top:1px solid var(--line);padding:16px 0}.discipline-row>span{font:9px var(--font-mono);color:#b57297}.discipline-row strong{display:block;font-size:13px;font-weight:500}.discipline-row small{display:block;color:#94a0bd;font-size:10px;margin-top:3px}.discipline-row b{margin-left:auto;font-weight:400;color:#cc8aaf}.discipline-row:hover strong{color:#f5a6cc}
#tools{border-top:1px solid var(--line)}.heading-description{font-size:13px;line-height:1.8;max-width:360px;color:#9eaac5;margin:0 0 5px}.tools-showcase{display:grid;grid-template-columns:1fr 1fr;gap:24px;margin-top:34px}.tool-card{background:#111728;border:1px solid var(--line);border-radius:7px;overflow:hidden;display:grid;grid-template-columns:40% 1fr;gap:0}.tool-image{display:block;overflow:hidden;background:#090d1a;min-width:0}.tool-image img{width:100%;height:100%;object-fit:cover;object-position:left top;opacity:.85;transition:opacity .25s}.tool-image:hover img{opacity:1}.tool-card>div{padding:24px}.tool-card h3{font-size:24px;margin:0 0 12px;font-weight:500}.tool-card p{font-size:12px;line-height:1.8;color:#a6b2cc;margin:0 0 20px}.tool-card .project-meta{font-size:8px}.tool-card .maturity{font-size:8px}.engine-feature{display:flex;align-items:center;justify-content:space-between;gap:25px;padding:28px 30px;margin-top:22px;border:1px solid var(--line);border-left:2px solid #a85f93;background:#101526}.engine-feature .micro-label{margin-bottom:6px;color:#a68db8;font-size:8px}.engine-feature h3{font-size:23px;margin:0;font-weight:500}.engine-feature>p{font:10px var(--font-mono);color:#9faac4}
.experience-section{border-top:1px solid var(--line);display:grid;grid-template-columns:1fr 1.1fr;gap:120px}.experience-section .section-deck{max-width:360px;margin-top:24px}.education-line{font-size:12px;color:#8e9cb7;line-height:1.9;margin-bottom:26px}.experience-list article{padding:22px 0;border-bottom:1px solid var(--line)}.experience-list article:first-child{padding-top:0}.experience-date{font:9px var(--font-mono);letter-spacing:.06em;color:#b880a7;margin-bottom:8px}.experience-list h3{font-size:24px;font-weight:500;margin:0 0 3px}.experience-list p{font-size:12px;color:#d6dcee;margin:0 0 5px}.experience-list small{font-size:11px;color:#929eb9}
.personal-section{display:grid;grid-template-columns:1.1fr 1fr;gap:90px;padding-block:55px;border-block:1px solid var(--line)}.journal-feature{border-right:1px solid var(--line);padding-right:80px}.journal-feature>p:not(.micro-label){font-size:16px;line-height:1.8;color:#bac3d9;max-width:430px;font-style:italic;margin:22px 0 15px}.founder-feature{align-self:center}.founder-feature .micro-label{color:#ad91b5}.founder-feature h3{font-size:31px;line-height:1.25;font-weight:500;margin:0 0 20px}.founder-feature>p:not(.micro-label){max-width:390px;color:#9fabc5;font-size:13px;line-height:1.9;margin:0 0 20px}
.contact-finale{text-align:center;padding-block:100px;background:radial-gradient(ellipse at 50% 65%,#74294c24,transparent 62%)}.contact-finale .micro-label{justify-content:center;color:#be8da8}.contact-finale h2{font-size:clamp(35px,4.5vw,58px)}.contact-finale .cinema-actions{justify-content:center;gap:25px}.contact-finale>p:last-child{font:9px var(--font-mono);color:#a190a7;margin:30px 0 0;letter-spacing:.08em}
body:not(.cv-page) .site-footer{background:#060a16;border-top:1px solid var(--line);position:relative;z-index:3}body:not(.cv-page) .site-footer-inner{padding-block:38px}body:not(.cv-page) .footer-brand{font:600 29px var(--font-display);letter-spacing:-.06em}body:not(.cv-page) .footer-brand>span{color:#f16fa8}body:not(.cv-page) .footer-links a{font-size:11px;text-transform:none;letter-spacing:0}body:not(.cv-page) .footer-meta{color:#8894ad}
/* Archive and long-form pages share the calmer presentation, preserving their layouts. */
body:not(.cv-page) .bento-card{background:linear-gradient(145deg,#141b30,#0c1121);box-shadow:none;border-radius:7px}
body:not(.cv-page) .bento-card:hover{box-shadow:0 16px 35px #0003}
body:not(.cv-page) .bento-title{letter-spacing:-.03em}
body:not(.cv-page) .bento-toolbar{background:#101628eb;border-color:var(--line);border-radius:6px}
body:not(.cv-page) .bento-tab{font-size:10px}
body:not(.cv-page) .bento-tab.is-active,body:not(.cv-page) .engine-filter-btn.is-active{color:#fff;background:#9e2358;border-color:#d86093}
body:not(.cv-page) .bento-badge{color:#f9f3fc}
body:not(.cv-page) .cs-tech-tag,body:not(.cv-page) .cs-block-kicker{color:#f295c0}
body:not(.cv-page) .cs-sidebar{min-width:0}
body:not(.cv-page) pre{max-width:100%;overflow:auto}
body:not(.cv-page) .page-intro{padding-top:64px}
body:not(.cv-page) .essay-container h1{line-height:1.08}
.cv-page{background:#080c1b}.cv-page .action-bar{background:#0c1224;color:#f4f5fa}.cv-page .action-bar .btn{border-radius:4px}.cv-page .action-bar .btn-primary{background:#b91f5e;border-color:#cf3e79}
@media(min-width:1101px){.mobile-nav{display:none!important}}
@media(max-width:1100px){body:not(.cv-page) .main-nav{display:none}body:not(.cv-page) .menu-toggle{display:flex;gap:10px;align-items:center;justify-content:center;min-width:64px;min-height:44px;border:1px solid #8994b842;border-radius:4px;font:12px var(--font-body)}body:not(.cv-page) .mobile-nav{display:grid;position:fixed;z-index:200;left:24px;right:24px;top:80px;background:#10172bf7;backdrop-filter:blur(20px);border:1px solid #a8b6d544;border-radius:6px;padding:14px;gap:2px;box-shadow:0 24px 60px #0008;max-height:calc(100dvh - 100px);overflow-y:auto;transform:translateY(-160%)}body:not(.cv-page) .mobile-nav.is-open{transform:none}body:not(.cv-page) .mobile-nav a{padding:13px 14px;min-height:44px;border-bottom:1px solid var(--line);font:12px var(--font-body);text-transform:none;letter-spacing:0}body:not(.cv-page) .site-header-inner{min-height:76px}.cinema-hero{gap:35px;padding-top:55px;min-height:610px}.cinema-intro h1{font-size:85px}.cinema-statement{font-size:21px}.cinema-summary{font-size:13px}.hero-role{font-size:10px}.cinema-actions .button{padding:12px 16px;font-size:11px}.hero-specialties{font-size:8px;gap:12px}.chapter-nav a{font-size:10px;padding:12px;gap:8px}.game-copy{padding:18px}.game-copy h3{font-size:21px}.tool-card{grid-template-columns:1fr}.tool-image{height:200px}.tool-image img{object-fit:contain;padding:15px}.experience-section{gap:65px}.personal-section{gap:50px}.journal-feature{padding-right:40px}}
@media(max-width:800px){.cinema-hero{gap:26px}.cinema-intro h1{font-size:68px}.cinema-intro .micro-label{font-size:8px}.cinema-statement{font-size:20px}.cinema-stage{padding:10px}.reel-footer{left:15px;right:15px;bottom:15px}.reel-footer strong{font-size:23px}.stage-topline{font-size:6px}.stage-projects a>span{font-size:11px;padding:20px 8px 8px}.stage-projects small{font-size:6px}.stage-caption{font-size:6px}.game-showcase{grid-template-columns:repeat(2,minmax(0,1fr))}.game-card:last-child{grid-column:1/-1;display:grid;grid-template-columns:1fr 1fr}.game-card:last-child .game-art{height:100%;aspect-ratio:auto}.jam-entry{padding:24px 20px;gap:12px}.jam-number{display:none}.jam-grid{gap:16px}.jam-content .project-meta{align-items:flex-start;flex-direction:column}.art-feature{gap:28px}.experience-section{gap:40px}.engine-feature{flex-wrap:wrap;gap:10px}.engine-feature>p{margin:0}.engine-feature .quiet-link{margin-left:auto}.personal-section{gap:35px}.journal-feature{padding-right:30px}}
@media(max-width:640px){body:not(.cv-page) .section-shell,body:not(.cv-page) .wrap,body:not(.cv-page) .site-header-inner,body:not(.cv-page) .site-footer-inner{width:calc(100% - 36px)}body:not(.cv-page) .site-header-inner{min-height:72px}body:not(.cv-page) .brand-copy{font-size:15px}body:not(.cv-page) .brand-copy em{font-size:8px}body:not(.cv-page) .mobile-nav{top:76px;left:18px;right:18px}.cinema-hero{grid-template-columns:1fr;padding:40px 0 34px;gap:32px;min-height:0}.cinema-intro h1{font-size:clamp(75px,19vw,110px);margin:27px 0 22px}.cinema-intro .micro-label{font-size:8px}.hero-role{font-size:10px;margin-bottom:22px}.cinema-statement{font-size:22px}.cinema-summary{font-size:13px;max-width:410px}.cinema-actions{margin-top:24px;gap:10px}.hero-specialties{margin-top:26px;gap:15px;font-size:7px}.cinema-stage{padding:12px}.stage-topline{font-size:7px}.reel-frame{aspect-ratio:1.65}.reel-footer strong{font-size:26px}.stage-projects{gap:9px}.stage-projects a>span{font-size:13px}.stage-projects small{font-size:6px}.stage-caption{font-size:7px}.chapter-nav{grid-template-columns:1fr 1fr}.chapter-nav a{min-height:60px;padding:12px!important;font-size:10px}.chapter-nav a:nth-child(2){border-right:0}.chapter-nav a:nth-child(-n+2){border-bottom:1px solid var(--line)}.portfolio-section{padding-block:54px}.section-heading{align-items:flex-start;flex-direction:column;gap:13px;margin-bottom:20px}.section-heading .quiet-link{min-height:30px}.portfolio-home h2{font-size:34px}.section-deck{font-size:13px;margin-bottom:26px}.game-showcase{grid-template-columns:1fr;gap:22px}.game-card:last-child{grid-column:auto;display:flex}.game-card:last-child .game-art{aspect-ratio:16/10;height:auto}.game-copy{padding:22px}.game-copy h3{font-size:24px}.game-copy>p{font-size:13px}.game-copy .project-role{font-size:10px}.game-art{aspect-ratio:16/9}.scope-note{font-size:10px}.jam-section .portfolio-section{padding-block:48px}.jam-grid{grid-template-columns:1fr;gap:16px;margin-top:24px}.jam-entry{padding:24px}.jam-content .project-meta{flex-direction:row;align-items:center}.jam-content h3{font-size:26px}.section-aside{display:none}.art-feature{grid-template-columns:1fr;gap:28px}.art-summary h3{font-size:29px}.art-summary>p{font-size:13px}.discipline-row{padding:18px 0}.heading-description{font-size:13px}.tools-showcase{grid-template-columns:1fr;margin-top:24px}.tool-card{grid-template-columns:1fr}.tool-image{height:190px}.tool-image img{padding:18px;object-fit:contain}.tool-card>div{padding:24px}.tool-card h3{font-size:25px}.tool-card p{font-size:13px}.engine-feature{padding:24px;gap:15px;display:block}.engine-feature h3{font-size:23px}.engine-feature>p{font-size:9px;margin:15px 0 5px}.experience-section{grid-template-columns:1fr;gap:35px}.experience-section .section-deck{margin-bottom:18px}.experience-list article{padding:22px 0}.personal-section{grid-template-columns:1fr;gap:0;padding-block:0}.journal-feature{padding:42px 0;border-right:0;border-bottom:1px solid var(--line)}.journal-feature>p:not(.micro-label){font-size:16px}.founder-feature{padding:42px 0}.founder-feature h3{font-size:30px}.contact-finale{padding-block:64px}.contact-finale h2{font-size:37px}.contact-finale .cinema-actions{gap:12px}.contact-finale>p:last-child{font-size:8px}body:not(.cv-page) .page-intro{padding-top:40px}body:not(.cv-page) .bento-tabs{flex-wrap:wrap}body:not(.cv-page) .bento-controls-right{min-width:0}body:not(.cv-page) .cs-top-switcher{overflow:hidden}body:not(.cv-page) .cs-switcher-pills{min-width:0;flex-wrap:wrap}body:not(.cv-page) .cs-architecture-flow{overflow:auto}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto!important}*,*::before,*::after{animation:none!important;transition:none!important}.game-card:hover,.button:hover,.reel-frame:hover>img,.game-art:hover img,.stage-projects a:hover img{transform:none!important}}

/* Reading and accessibility refinements after browser review. */
.cv-page{--muted:#4b5563}
.cv-page .action-bar-title{color:#f4f5fa}
body:not(.cv-page) .cs-top-switcher{display:block;padding:18px 22px}
.cs-top-switcher summary{cursor:pointer;min-height:30px;font:12px var(--font-body);color:#c7cfe4;padding-block:5px}
.cs-top-switcher[open] summary{margin-bottom:15px}
html.js-reveal [data-reveal]{opacity:1;transform:none}
@media(max-width:640px){body:not(.cv-page) .cs-top-switcher{padding:12px 16px}.cs-top-switcher .cs-switcher-pills{max-height:45vh;overflow:auto}}

body:not(.cv-page) .brand{min-width:0;flex-shrink:1}
body:not(.cv-page) .brand-copy{min-width:0}
body:not(.cv-page) .brand-copy em{display:block;max-width:225px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
body:not(.cv-page) .brand-copy br{display:none}
.journey-page .journey-layout{width:min(1240px,calc(100% - 64px));margin-inline:auto}
@media(max-width:640px){body:not(.cv-page) .site-header-inner{gap:12px}body:not(.cv-page) .brand-copy em{max-width:155px}.journey-page .journey-layout{width:calc(100% - 36px)}}
@media(max-width:360px){body:not(.cv-page) .brand-copy em{max-width:130px;font-size:7px}body:not(.cv-page) .brand-copy{font-size:13px}body:not(.cv-page) .brand{gap:8px}body:not(.cv-page) .brand-avatar-mark{width:34px;height:34px}body:not(.cv-page) .menu-toggle{min-width:58px;font-size:10px;padding:10px}}
/* Reference-led revision: illustrated panorama, compact cards and magenta trim. */
body:not(.cv-page){background:radial-gradient(ellipse at 90% 0,#31164099,transparent 45%),#080d1c}
body:not(.cv-page) .brand-avatar-img,body:not(.cv-page) .footer-avatar-img{object-fit:cover;object-position:50% 33%}
body:not(.cv-page) .brand-avatar-mark{width:48px;height:48px;border:2px solid #e83c8a}
body:not(.cv-page) .brand-copy{font-size:21px;text-transform:none}
.cinema-hero{width:100%!important;max-width:none;min-height:470px;padding:55px max(5vw,24px) 45px;grid-template-columns:1.05fr 1fr;gap:20px;overflow:hidden;background:linear-gradient(90deg,#070c1cf5 12%,#080d1cdb 38%,#080d1c35 80%),url('../assets/optimized/reframe.webp') center 40%/cover}
.cinema-hero::after{content:'';position:absolute;inset:0;pointer-events:none;background:linear-gradient(0deg,#080d1c,transparent 22%)}
.cinema-intro{z-index:2}.cinema-intro h1{font-family:Georgia,serif!important;font-style:italic;font-size:clamp(48px,5.3vw,82px);line-height:1.05;letter-spacing:-.035em!important;margin:18px 0}
.cinema-intro .micro-label{margin:0;color:#ccd2ea}.hero-role{font-size:12px;line-height:1.7;margin-bottom:18px}.cinema-statement{font-size:22px;border-left:4px solid #f33193;padding-left:16px;font-style:italic}.cinema-statement em{color:white}.cinema-summary{font-size:13px;max-width:490px}.cinema-actions{margin-top:22px}
body:not(.cv-page) .button{border-radius:999px}body:not(.cv-page) .button-primary{background:linear-gradient(#f52d9b,#ac0859);border-color:#ff70b9;box-shadow:0 0 24px #fc238c44}
.hero-specialties{gap:8px;margin-top:20px;max-width:500px}.hero-specialties span{padding:6px 13px;border:1px solid #e2b8e640;background:#242235c7;border-radius:999px;font:11px var(--font-body);letter-spacing:0}
.reference-montage{display:flex;gap:8px;transform:skew(-13deg);height:360px;padding:0;border:0;background:none;box-shadow:none;overflow:visible;border-radius:0;z-index:1}.reference-montage::before,.reference-montage::after{display:none}.reference-montage a{position:relative;flex:1;overflow:hidden;border:1px solid #ef4794a0;border-radius:9px;box-shadow:0 10px 30px #0008}.reference-montage a:nth-child(2){margin-top:-25px;margin-bottom:25px}.reference-montage a:nth-child(3){margin-top:25px;margin-bottom:-25px}.reference-montage img{width:100%;height:100%;object-fit:cover;transform:skew(13deg) scale(1.45)}.reference-montage span{position:absolute;bottom:0;left:0;right:0;padding:40px 12px 15px;background:linear-gradient(transparent,#080d1c);font-size:14px;font-weight:600}
.chapter-nav{margin-top:10px}.chapter-nav a{min-height:60px}.portfolio-section{padding-block:55px}.portfolio-home h2{font-size:34px}.game-showcase{gap:16px}.game-card{border-color:#df5c9780;border-radius:14px}.game-art{aspect-ratio:16/9}.game-copy{padding:20px}.game-copy h3{font-size:25px}.game-copy>p{font-size:13px}.game-copy .project-role{color:#d8b8ce}.section-heading .micro-label{font-size:9px}
body:not(.cv-page) .bento-card{border-radius:13px;border-color:#bb588063}body:not(.cv-page) .bento-title{font-size:24px}body:not(.cv-page) .bento-desc{font-size:13px;line-height:1.8}body:not(.cv-page) .bento-btn-primary{font-size:11px}body:not(.cv-page) .page-intro h1{font-family:Georgia,serif;font-style:italic;font-size:clamp(40px,5vw,68px)}
.personal-section{gap:40px}.founder-feature{padding:26px;border:1px solid #e663a280;background:linear-gradient(125deg,#29213988,#0b1225);border-radius:12px}.founder-feature h3{font-size:28px}.about-portrait{object-fit:cover;object-position:center 30%;border-radius:14px!important}
@media(max-width:1100px){.cinema-hero{padding-inline:28px}.cinema-intro h1{font-size:58px}.reference-montage{height:330px}.hero-role{font-size:10px}}
@media(max-width:700px){.cinema-hero{grid-template-columns:1fr;padding:35px 20px 40px;background-position:center;gap:32px}.cinema-intro h1{font-size:clamp(44px,10vw,65px)}.reference-montage{height:230px;width:88%;margin:0 auto;gap:8px}.reference-montage span{font-size:10px}.cinema-summary{font-size:13px}.hero-specialties span{font-size:10px}.hero-role{font-size:11px}.cinema-statement{font-size:20px}.portfolio-home h2{font-size:29px}.game-showcase{grid-template-columns:1fr}.game-card:last-child{display:flex;grid-column:auto}.game-card:last-child .game-art{height:auto;aspect-ratio:16/9}body:not(.cv-page) .brand-copy{font-size:16px}body:not(.cv-page) .brand-avatar-mark{width:38px;height:38px}}
@media(max-width:360px){body:not(.cv-page) .brand-copy{font-size:13px}.cinema-intro h1{font-size:42px}.reference-montage{height:190px}.hero-role{font-size:10px}}

.chapter-nav button{display:flex;align-items:center;gap:12px;min-height:64px;padding:15px 20px;text-align:left;font:500 12px var(--font-body);border-right:1px solid var(--line);position:relative}
.chapter-nav button>span{font:10px var(--font-mono);color:#c18da7}
.chapter-nav button[aria-pressed="true"]{background:#ad286322;color:#ffadd3;box-shadow:inset 0 -2px #fa4199}
.showcase-panels{min-height:760px;overflow-anchor:none}
.showcase-panel[hidden]{display:none!important}
.portfolio-switcher{overflow-anchor:none}
@media(max-width:640px){.chapter-nav button{font-size:10px;padding:12px;min-height:62px}.showcase-panels{min-height:0}}

.education-section{padding:32px 0 48px;border-bottom:1px solid var(--line)}
.education-section h2{font-size:30px;margin:0 0 25px}.education-grid{display:grid;grid-template-columns:1fr 1fr;gap:24px}.education-card{padding:30px;background:#111729;border:1px solid #bd6d9b55;border-radius:12px}.education-card h3{font-size:25px;line-height:1.4;margin:18px 0 12px}.education-card p{color:#b8c2d9;line-height:1.9}.education-note{font-size:12px;color:#a68ea5!important}.education-card [lang="ar"]{font-family:Tahoma,Arial,sans-serif;letter-spacing:0}.education-section:last-child{margin-bottom:50px}
@media(min-width:1101px){body:not(.cv-page) .main-nav{gap:16px}}
@media(max-width:640px){.education-grid{grid-template-columns:1fr}.education-card{padding:24px}.education-section h2{font-size:26px}}

/* Footer: the outer element is a full-width block, never a nested grid. */
body:not(.cv-page) footer.site-footer{display:block;width:100%;margin:0;padding:0;font-family:var(--font-body)}
body:not(.cv-page) .site-footer-inner{display:grid;width:min(1240px,calc(100% - 64px));grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:32px 70px;padding:48px 0 24px;margin-inline:auto;font:13px/1.65 var(--font-body)}
body:not(.cv-page) .footer-brand{display:inline-flex;align-items:center;justify-content:flex-start;gap:14px;width:auto;height:auto;border:0;border-radius:0;letter-spacing:0;font:600 21px/1.3 var(--font-display);color:#f4f5fb}
body:not(.cv-page) .footer-brand>span{position:static;font:inherit;color:inherit;letter-spacing:inherit}
body:not(.cv-page) .footer-avatar-img{display:block;width:48px;height:48px;border-radius:50%;border:1px solid #e8549a;object-fit:cover;object-position:50% 33%;flex-shrink:0}
body:not(.cv-page) .footer-identity p{max-width:400px;margin:12px 0 0;font-size:13px;line-height:1.7}
body:not(.cv-page) .footer-identity p+p{margin-top:5px;color:#9daac5}
body:not(.cv-page) .footer-links{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:4px 20px;align-content:start}
body:not(.cv-page) .footer-links a{display:flex;align-items:center;min-height:44px;font:13px/1.5 var(--font-body);letter-spacing:0;white-space:nowrap;color:#bdc7dc}
body:not(.cv-page) .footer-meta{grid-column:1/-1;display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px 24px;text-align:left;border-top:1px solid var(--line);padding-top:20px;font:12px/1.6 var(--font-body)}
body:not(.cv-page) .footer-meta span{white-space:nowrap}.footer-meta a{display:inline-flex;align-items:center;min-height:44px}
@media(max-width:850px){body:not(.cv-page) .site-footer-inner{grid-template-columns:1fr;gap:24px;width:calc(100% - 40px);padding-top:32px}body:not(.cv-page) .footer-links{grid-template-columns:repeat(3,minmax(0,1fr));gap:4px 12px}body:not(.cv-page) .footer-meta{grid-column:1}}
@media(max-width:380px){body:not(.cv-page) .footer-links{grid-template-columns:repeat(2,minmax(0,1fr))}body:not(.cv-page) .footer-brand{font-size:19px}}
/* Ahmed Osama brand palette — canonical, November 2026. */
:root{--brand-night:#050A15;--deep-ink:#000010;--navy-black:#01040F;--technical-blue:#081030;--cool-violet:#7028A0;--signal-magenta:#E81E62;--cinematic-pink:#D83080;--primary-white:#F8F8F8;--soft-white:#E0E5F0;--muted-gray:#A0AABF;--graphite-gray:#707078;--bg:var(--navy-black);--panel:var(--brand-night);--panel-2:var(--technical-blue);--text:var(--primary-white);--soft:var(--soft-white);--muted:var(--muted-gray);--magenta:var(--signal-magenta);--pink:var(--cinematic-pink);--violet:var(--cool-violet)}
body:not(.cv-page){background:radial-gradient(ellipse at 80% 0,rgba(112,40,160,.09),transparent 50%),var(--brand-night);color:var(--primary-white)}
body:not(.cv-page) .site-header,body:not(.cv-page) .site-footer{background:var(--navy-black)}
body:not(.cv-page) .button-primary{background:var(--signal-magenta);border-color:var(--cinematic-pink);color:var(--primary-white);box-shadow:0 4px 18px rgba(232,30,98,.14)}
body:not(.cv-page) .button-primary:hover{background:#bd1850}
body:not(.cv-page) h2 em,.cinema-statement em{color:var(--soft-white)}
body:not(.cv-page) .main-nav .is-current,.chapter-nav button[aria-pressed="true"]{color:var(--primary-white)}
.chapter-nav button[aria-pressed="true"]{background:var(--technical-blue);box-shadow:inset 0 -2px var(--signal-magenta)}
.cinema-hero{background:linear-gradient(90deg,rgba(0,0,16,.96),rgba(5,10,21,.83) 43%,rgba(1,4,15,.5)),url('../assets/supplied/arena.png') center/cover}
.hero-specialties span{background:var(--technical-blue)}
.game-card,body:not(.cv-page) .bento-card,.education-card{background:var(--brand-night);border-color:rgba(160,170,191,.25)}
.book-feature{display:grid;grid-template-columns:1fr 1.15fr;gap:45px;align-items:center;padding:20px 0 70px;border-bottom:1px solid var(--line)}
.book-copy h2{font-family:Tahoma,Arial,sans-serif!important;font-size:34px;line-height:1.7;letter-spacing:0!important;color:var(--primary-white)}
.book-copy h3{font-size:24px;line-height:1.4;font-weight:500}.book-copy p,.visual-book-secondary p{color:var(--soft-white);line-height:1.9;font-size:14px}
.book-copy [lang="ar"],.education-card [lang="ar"]{line-height:2}
.book-preview{margin:0;padding:12px;background:var(--navy-black);border:1px solid rgba(160,170,191,.24);border-radius:8px}
.book-preview img{display:block;width:100%;height:auto;border-radius:4px}.book-preview a{display:block}.book-preview figcaption{font-size:11px;line-height:1.7;color:var(--muted-gray);padding:14px 5px 4px}
.visual-book-secondary{display:grid;grid-template-columns:1fr 1fr;gap:60px;align-items:center}.visual-book-secondary .book-preview{max-width:480px;justify-self:end}
.learning-intro{max-width:850px}.learning-intro h1 em{font-style:normal;color:var(--soft-white)}
.studio-art-gallery{margin-top:38px}.studio-art-gallery>h3{font-size:25px}.studio-art-gallery>p{font-size:12px;color:var(--muted-gray)}.studio-art-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin-top:20px}.studio-art-grid a{overflow:hidden;border:1px solid var(--line);border-radius:8px;background:var(--brand-night)}.studio-art-grid img{display:block;width:100%;height:auto;aspect-ratio:16/9;object-fit:cover}.studio-art-grid strong,.studio-art-grid span{display:block;margin:12px 14px}.studio-art-grid strong{font:500 17px var(--font-display)}.studio-art-grid span{font-size:10px;color:var(--muted-gray)}
@media(max-width:850px){.book-feature,.visual-book-secondary{grid-template-columns:1fr;gap:28px}.visual-book-secondary .book-preview{max-width:100%;justify-self:stretch}.book-copy h2{font-size:28px}.studio-art-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:400px){.book-copy h2{font-size:25px}.book-copy h3{font-size:21px}.studio-art-grid{grid-template-columns:1fr}}

.study-placeholder{display:flex;flex-direction:column;justify-content:center;gap:16px;min-height:100%;padding:28px;background:linear-gradient(140deg,var(--technical-blue),var(--brand-night));color:var(--muted-gray);font:11px var(--font-mono)}.study-placeholder strong{font:500 24px/1.3 var(--font-display);color:var(--soft-white)}
