@font-face{font-family:Manrope;src:url('/assets/manrope-variable.ttf') format('truetype');font-style:normal;font-weight:200 800;font-display:swap}
:root{--ink:#182c32;--blue-ink:#294a52;--paper:#f1f3f2;--cloud:#fcfcfb;--lake:#2d6871;--muted:#53656a;--line:#d1dcda;--font:Manrope,"Segoe UI",sans-serif;--radius:4px;--button-radius:4px}
body{line-height:1.65}
h1,h2,h3{font-weight:650;letter-spacing:-.025em;line-height:1.14}
h1{font-size:clamp(2.4rem,4.7vw,3.5rem)}
h2{font-size:clamp(1.8rem,3vw,2.2rem)}
h3{font-size:1.7rem}
.container,.header-inner{width:min(1120px,calc(100% - 96px))}
.header-inner{min-height:76px;gap:24px}
.brand{font-size:16px;gap:10px;letter-spacing:-.01em}
.brand-mark{width:28px;height:32px;border:0;border-radius:0;font-size:24px;color:var(--lake)}
.site-header nav{gap:24px}
.site-header nav a{font-size:14px}
.site-header nav a.nav-contact{padding:10px 16px;border-color:var(--ink)}
.site-header nav a[aria-current]{text-underline-offset:.4em}
.hero{background:var(--cloud);color:var(--ink);padding:52px 0 56px;border-bottom:1px solid var(--line)}
.hero-grid{grid-template-columns:1.15fr 1fr;gap:64px;align-items:center}
.hero h1{font-size:clamp(2.4rem,4.3vw,3.4rem);margin-bottom:24px}
.role-line{color:var(--muted);font-size:14px;line-height:1.6;margin-bottom:24px}
.hero-description{color:var(--muted);font-size:18px;max-width:42ch}
.hero-context{color:var(--muted);font-size:13px;margin-top:22px}
.hero-actions{gap:12px;margin-top:28px}
.hero .button-light{background:var(--ink);color:var(--cloud)}
.hero .button-light:hover{background:var(--blue-ink)}
.hero .button-quiet{color:var(--ink);border-color:var(--line)}
.hero .button-quiet:hover{background:var(--paper)}
.hero a:focus-visible{outline-color:var(--lake)}
.hero-art.hero-plan{width:100%;max-width:430px;justify-self:end}
.hero-art.hero-plan figcaption{color:var(--muted);font-size:12px;line-height:1.7;margin-top:14px}
.hero-art.hero-plan figcaption span:first-child{color:var(--ink);font-size:14px;font-weight:600}
.hero-plan figcaption a{color:var(--ink);font-size:13px}
.hero-plan>a{border-radius:var(--radius)}
.section{padding-block:76px}
.section-heading{margin-bottom:30px}
.section-heading p{font-size:17px;margin-top:10px}
.work-grid,.work-index .work-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:44px 32px}
.work-image img,.work-feature .work-image img{height:auto;aspect-ratio:16/10;object-fit:cover}
.work-image[href='/work/revenant/'] img{object-fit:contain;background:#040e0d}
.work-meta{display:flex;flex-wrap:wrap;align-items:baseline;gap:4px 14px;margin-bottom:10px}
.work-meta .project-category{margin:0;font-size:13px}
.work-status{font-size:13px;color:var(--muted)}
.work-body{padding-top:18px}
.work-body h3{font-size:26px;margin-bottom:12px}
.work-body p:not(.project-category){font-size:16px;line-height:1.65}
.work-body .text-link{font-size:14px}
.library-preview{background:var(--paper)}
.library-preview-grid,.about-grid{gap:64px}
.publication-row{padding:22px 0}
.publication-row strong{font-size:18px;line-height:1.5}
.contact-section{background:var(--paper);color:var(--ink);padding-block:64px}
.contact-section h2{font-size:clamp(1.9rem,3.3vw,2.5rem)}
.contact-section p{color:var(--muted)}
.contact-section .button-light{border-color:var(--line);background:var(--cloud)}
.contact-section a:focus-visible{outline-color:var(--lake)}
.contact-links{gap:18px}
.tabletop-strip{margin-top:38px;padding-top:28px}
.site-footer{border-top:1px solid var(--line);padding:28px 0 24px}
.footer-inner{font-size:13px}
.rights-notice{max-width:none;margin-top:20px;padding-top:18px;border-top:1px solid var(--line);font-size:12px;line-height:1.8;color:var(--muted)}
.project-head,.library-head{padding-top:34px}
.breadcrumb{margin-bottom:24px;font-size:13px}
.page-intro{font-size:19px;max-width:60ch}
.project-subtitle{font-size:clamp(1.2rem,2.5vw,1.55rem)}
.status-tag{background:transparent;border:0;padding:0;color:var(--muted);font-size:13px}
.project-facts{gap:40px;margin:30px 0 28px;padding-top:22px}
.project-cover img{max-height:560px}
.project-cover:has(img[src='/assets/revenant-menu-lantern.webp']) img{object-fit:contain;background:#040e0d;aspect-ratio:16/9}
.project-cover figcaption{font-size:13px;line-height:1.7;max-width:90ch}
.case-layout{grid-template-columns:200px minmax(0,1fr);gap:60px;padding-block:56px 76px}
.case-content{max-width:740px}
.case-content h2{font-size:26px;margin-bottom:18px}
.case-content .case-lead{font-size:20px}
.case-content section+section{margin-top:44px}
.case-aside{top:110px}
.evidence-list a{border:0;border-block:1px solid var(--line);padding:20px 0;border-radius:0}
.evidence-list strong{font-size:18px}
.evidence-list span{font-size:15px}
.loop li{background:var(--paper);border-radius:var(--radius);padding:18px}
.filter-bar{gap:8px;padding-bottom:20px}
.filter{font-size:14px;padding:9px 16px;min-height:44px;border-color:transparent}
.filter:hover{border-color:var(--line)}
.material{grid-template-columns:160px minmax(0,1fr) auto;gap:28px;padding:30px 0}
.material-main h2{font-size:23px}
.material .button{min-width:156px}
.reading-page,.manuscript{max-width:800px}
.reading-page{padding-block:34px 76px}
.reading-page h1{font-size:clamp(2.15rem,4.5vw,3.25rem)}
.reading-page section{margin-top:44px}
.reading-page section h2{font-size:26px;margin-bottom:18px}
.reading-page section:not(.source-prose)>p,.reading-page section:not(.source-prose)>ul{font-family:var(--font);font-size:17px;line-height:1.75;color:var(--muted)}
.profile-header{grid-template-columns:96px minmax(0,1fr);gap:28px;align-items:start}
.profile-portrait img{width:96px;max-width:100%;border-radius:var(--radius)}
.profile-page .profile-heading h1{font-size:clamp(1.8rem,3.5vw,2.6rem);margin-bottom:16px}
.profile-page .profile-heading .project-category{font-size:13px;margin-bottom:10px}
.profile-page .page-intro{font-size:16px;line-height:1.6}
.profile-contact{font-size:14px;gap:8px 22px;margin-top:18px}
.profile-contact a{overflow-wrap:anywhere}
.profile-page section>p,.profile-project p{font-family:var(--font);font-size:17px;line-height:1.75;color:var(--muted)}
.profile-project h3{font-size:22px}
.publication-credit{font-size:14px;color:var(--muted);line-height:1.7;margin-top:20px}
.edition-details{font-size:13px;margin-top:12px}
.book-toc{padding:22px;border-radius:var(--radius)}
.book-toc h2{font-size:1.4rem}
.manuscript-body blockquote{border-left:0;padding:20px 24px}
.contact-page{gap:64px;padding-block:25px 76px}
.contact-page h2{font-size:26px}
.button{min-height:46px;font-size:14px;padding:11px 19px}
@media(max-width:1000px){
 .container,.header-inner{width:calc(100% - 64px)}
 .hero-grid{gap:32px;grid-template-columns:1.1fr 1fr}
 .hero h1{font-size:40px}
 .site-header nav{gap:16px}
 .case-layout{gap:36px;grid-template-columns:180px minmax(0,1fr)}
 .material{grid-template-columns:130px minmax(0,1fr);gap:20px}
 .material .button{grid-column:2}
 .library-preview-grid,.about-grid{gap:40px}
}
@media(max-width:800px){
 .header-inner{min-height:72px}
 .brand{font-size:14px}
 .site-header nav{gap:14px}
 .site-header nav a{font-size:13px}
 .site-header nav a.nav-contact{padding:9px 12px}
 .hero h1{font-size:34px}
 .hero-description{font-size:16px}
 .hero{padding-block:38px 42px}
 .work-grid{gap:34px 26px}
 .case-layout{grid-template-columns:1fr;gap:32px}
 .case-aside{position:static}
}
@media(max-width:700px){
 .menu-toggle{display:block;min-height:44px;padding:9px 14px}
 .site-header nav{display:none;position:absolute;left:0;right:0;top:100%;padding:16px 24px 22px;background:var(--cloud);border-bottom:1px solid var(--line)}
 .site-header nav.is-open{display:flex;flex-direction:column;align-items:stretch;gap:4px}
 .site-header nav a,.site-header nav a.nav-contact{font-size:15px;padding:12px 14px;border:0;display:block}
}
@media(max-width:640px){
 .container,.header-inner{width:calc(100% - 48px)}
 .header-inner{min-height:68px}
 .brand{font-size:15px}
 .brand-mark{width:24px;height:28px;font-size:22px}
 .hero-grid{grid-template-columns:1fr;gap:30px}
 .hero h1{font-size:clamp(2rem,8.3vw,2.5rem)}
 .hero-description{font-size:17px}
 .role-line{font-size:13px;margin-bottom:18px}
 .hero-art.hero-plan{max-width:430px;justify-self:center}
 .hero-art.hero-plan figcaption{font-size:12px;line-height:1.75}
 .hero-art.hero-plan figcaption span:first-child{font-size:14px}
 .hero-art.hero-plan img{height:auto;aspect-ratio:1}
 .section{padding-block:54px}
 .work-grid,.work-index .work-grid{grid-template-columns:1fr;gap:34px}
 .work-body h3{font-size:25px}
 .work-meta{gap:4px 12px}
 .library-preview-grid,.about-grid,.contact-grid{grid-template-columns:1fr;gap:30px}
 .contact-section{padding-block:52px}
 .contact-section h2{font-size:30px}
 .footer-inner{gap:18px}
 .rights-notice{font-size:12px;line-height:1.75}
 .material{grid-template-columns:1fr;gap:14px;padding:26px 0}
 .material .button{grid-column:1}
 .material-main h2{font-size:22px}
 .material-meta{gap:6px 16px;font-size:13px}
 .reading-page h1{font-size:32px}
 .reading-page section h2,.case-content h2{font-size:24px}
 .project-head,.library-head,.reading-page{padding-top:24px}
 .profile-header{grid-template-columns:80px minmax(0,1fr);gap:20px}
 .profile-portrait img{width:80px}
 .profile-page .profile-heading h1{font-size:26px;margin-bottom:12px}
 .profile-page .page-intro{font-size:14px;line-height:1.65}
 .profile-contact{grid-column:1/-1;font-size:13px;gap:6px 14px;margin-top:14px}
 .profile-page .profile-heading .project-category{margin-bottom:8px}
 .reading-page section>p,.reading-page section>ul{font-size:17px}
 .project-facts{grid-template-columns:1fr;gap:20px}
 .case-layout{padding-block:36px 60px}
 .project-cover img{aspect-ratio:4/3}
 .contact-page{grid-template-columns:1fr;gap:42px}
 .page-intro{font-size:17px}
 .contact-address{font-size:19px}
 .book-toc li{font-size:15px}
 .book-tools{gap:10px}
 .publication-credit{font-size:13px}
}
@media print{
 .profile-header{display:block}
 .profile-page section>p,.profile-project p,.reading-page section:not(.source-prose)>p{font-size:11pt;color:black;line-height:1.6}
 .publication-credit{color:black;font-size:10pt}
}

/* Browser playtest entry: retain the existing portfolio frame. */
.playtest-card-links{display:flex;gap:18px;flex-wrap:wrap}
.playtest-actions{margin:0 0 34px}
.project-cover:has(img[src="/assets/my-perfect-internship-opening.png"]) img{height:auto;aspect-ratio:16/10;object-fit:contain}

.playtest-feature{display:grid;grid-template-columns:1fr 1fr;align-items:center;gap:48px;padding-block:44px;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}
.playtest-feature h2{font-size:34px;line-height:1.15;margin-bottom:18px;letter-spacing:-.03em}
.playtest-feature p:not(.project-category){color:var(--muted);line-height:1.65;margin-bottom:14px}
.playtest-feature .playtest-intro{font-size:20px;color:var(--ink)}
.playtest-feature .reading-actions{margin:24px 0 0;gap:14px}
.playtest-feature img{display:block;width:100%;height:auto;aspect-ratio:16/10;border-radius:4px}
@media(max-width:800px){.playtest-feature{grid-template-columns:1fr;gap:28px;padding-block:32px}.playtest-feature h2{font-size:30px}}
