@import url('https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/dist/web/variable/pretendardvariable.css');
:root{--paper:#fafaf8;--ink:#202421;--muted:#6a716c;--accent:#396a51;--line:#e1e5df;--bs-body-font-family:"Pretendard Variable",-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;--bs-body-color:var(--ink)}

*{box-sizing:border-box}
html{scroll-behavior:smooth;scroll-padding-top:96px}
body{margin:0;background:var(--paper);color:var(--ink);font-family:var(--bs-body-font-family);line-height:1.7}
a{color:inherit;text-decoration:none}
img,video{max-width:100%}
button,a{-webkit-tap-highlight-color:transparent}
a:focus-visible,button:focus-visible,video:focus-visible{outline:3px solid var(--accent);outline-offset:5px}
.ui-icon{width:20px;height:20px;flex-shrink:0}
h1,h2,h3{font-weight:650;letter-spacing:-.045em;line-height:1.3}
h2{font-size:clamp(28px,3.4vw,44px)}
.container{max-width:1120px;padding-inline:24px}
.skip-link{position:fixed;top:8px;left:8px;z-index:200;background:#fff;padding:10px;transform:translateY(-150%)}
.skip-link:focus{transform:none}
.site-header{position:sticky;top:0;z-index:100;border-bottom:1px solid var(--line);background:rgba(250,250,248,.96)}
.header-inner{height:82px;display:flex;align-items:center;justify-content:space-between}
.brand{font-size:23px;font-weight:800;letter-spacing:-1.2px}
.brand span:not(.brand-dot){font-weight:400;margin-left:4px}
.brand-dot{color:var(--accent)}
.site-nav{display:flex;gap:30px;font-size:14px}
.site-nav a{padding:12px 0}
.site-nav a:hover{color:var(--accent)}
.menu-button{display:none;width:44px;height:44px;border:1px solid var(--line);border-radius:12px;background:white;align-items:center;justify-content:center}
.hero{padding-top:88px;padding-bottom:0}
.eyebrow{font-size:12px;letter-spacing:.13em;font-weight:650;color:var(--accent);margin-bottom:24px}
h1{font-size:clamp(36px,4.7vw,62px);margin-bottom:26px}
h1>span{color:var(--muted)}
.hero-description{font-size:17px;color:var(--muted);margin-bottom:30px}
.identity{display:flex;align-items:center;gap:14px}
.identity strong{font-size:17px}
.identity strong span{margin-left:9px;color:var(--muted);font-size:12px;letter-spacing:.025em;font-weight:400}
.identity p{margin:0;font-size:14px;color:var(--muted)}

.section-space{padding-block:88px}
.project-section{background:#eef1eb}
.section-heading{display:flex;justify-content:space-between;align-items:center;gap:24px;margin-bottom:40px}
.section-heading .eyebrow{margin-bottom:14px}
.section-heading> .eyebrow{margin:0}
.section-heading h2{margin:0}
.status-badge{font-size:14px;padding:5px 12px;border:1px solid #cad4c8;border-radius:100px;color:var(--accent)}
.project-description{font-size:17px;color:#535e55}
.feature-pills{display:flex;gap:8px;flex-wrap:wrap;margin-top:22px}
.feature-pills span{font-size:12px;padding:5px 11px;background:#fff9;border-radius:6px}
.project-meta{display:flex;gap:40px;margin:28px 0 0}
.project-meta dt{color:var(--muted);font-size:12px;font-weight:400}
.project-meta dd{margin:4px 0 0;font-size:14px}


.video-card{margin:0;text-align:center}
.gameplay-video{display:block;width:min(100%,280px);height:auto;aspect-ratio:17/30;margin-inline:auto;border-radius:12px;background:#18201c;object-fit:cover}
.video-card figcaption{font-size:12px;color:var(--muted);margin-top:14px;letter-spacing:.05em}
.game-gallery{margin-top:54px;max-width:840px;margin-inline:auto}
.gallery-card{margin:0}
.gallery-card>img{width:100%;aspect-ratio:1284/2778;object-fit:contain;border-radius:12px;background:#d7e4e8;border:1px solid #ccd5c9}
.gallery-card figcaption{display:grid;gap:5px;margin-top:15px}
.gallery-card figcaption>span{font-size:12px;color:var(--muted)}
.gallery-card strong{font-size:14px;font-weight:600}
.gallery-card small{font-size:14px;color:var(--muted)}
.section-note{font-size:14px;color:var(--muted);margin:0}
.work-card{border:1px solid var(--line);border-radius:16px;overflow:hidden;background:#fff}
.work-media{position:relative;height:240px;background:#e9ede7;overflow:hidden}
.work-media>img:first-child{width:100%;height:100%;object-fit:cover;object-position:top}
.work-icon{position:absolute;bottom:14px;right:14px;width:54px;height:54px;border-radius:12px;border:2px solid white;object-fit:cover}
.work-copy{padding:24px}
.work-copy h3{font-size:21px;margin-bottom:16px}
.role{font-size:14px;color:var(--accent)}
.about-section{border-top:1px solid var(--line)}
.about-lead{font-size:24px;letter-spacing:-.035em;line-height:1.6;margin-bottom:22px}
.expertise{display:flex;gap:22px;flex-wrap:wrap;margin-top:26px;font-size:14px}
.expertise span{display:flex;align-items:center;gap:9px}
.contact-section{background:var(--ink);color:#fff}
.contact-section .eyebrow{color:#b8d2bf}
.contact-section h2{font-size:clamp(34px,4vw,52px);margin-bottom:30px}
.contact-email{display:inline-flex;align-items:center;gap:16px;font-size:clamp(17px,3vw,30px);border-bottom:1px solid #738179;padding-bottom:10px}
.contact-email .ui-icon{filter:invert(1)}
.contact-section p:last-child{color:#c4cdc6;font-size:14px;margin:22px 0 0}
.site-footer{display:flex;align-items:center;justify-content:space-between;gap:16px;padding-block:30px;font-size:12px;color:var(--muted)}
.site-footer p{margin:0}

@media(max-width:991px){.hero{padding-top:52px}

.section-space{padding-block:64px}

.section-heading{align-items:flex-start}
.section-note{max-width:180px}
.work-media{height:200px}
}

@media(max-width:767px){.header-inner{height:68px}
.menu-button{display:flex}
.site-nav{display:none;position:absolute;top:68px;left:0;right:0;padding:16px 24px;border-bottom:1px solid var(--line);background:var(--paper);box-shadow:0 8px 20px #20242110;gap:0;flex-direction:column}
.site-nav.open{display:flex}
.site-nav a{padding:12px}
.hero h1{font-size:clamp(30px,7.8vw,44px);line-height:1.4}
.hero-description{font-size:16px}

.section-heading{display:block;margin-bottom:28px}
.project-section .section-heading{display:flex}
.section-note{margin-top:16px;max-width:none}
.desktop-break{display:none}
.game-gallery{--bs-gutter-x:12px;margin-top:38px}
.gallery-card>img{border-radius:7px}
.gallery-card strong{font-size:12px;overflow-wrap:anywhere}
.gallery-card small{font-size:12px}
.work-media{height:260px}
.work-copy{padding:22px}
.site-footer{flex-wrap:wrap}
.site-footer .brand{width:100%}
.contact-email{gap:9px}
}

@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}
*,*::before,*::after{transition:none!important}
}


@media(max-width:767px){.game-gallery{flex-wrap:nowrap;overflow-x:auto;scroll-snap-type:x proximity;padding-bottom:16px;margin-right:-12px}
.game-gallery>.col-4{flex:0 0 60%;width:60%;scroll-snap-align:start}
.gallery-card strong,.gallery-card small{font-size:14px}
.gallery-card>img{border-radius:12px}
}








.hero .identity{margin-top:36px}

.project-logo{display:block;width:min(100%,410px);height:auto;margin:0 0 20px}





.contact-purpose{font-size:16px;color:#c4cdc6;margin-bottom:30px}

.contact-details{margin:0}

.contact-details>div{display:grid;grid-template-columns:80px minmax(0,1fr);gap:16px;margin-top:16px;align-items:baseline}

.contact-details dt{font-size:14px;font-weight:400;color:#c4cdc6}

.contact-details dd{font-size:17px;margin:0}

.contact-email{font-size:clamp(16px,2vw,24px);overflow-wrap:anywhere}

@media(max-width:991px){

.project-logo{width:min(100%,350px)}
}

@media(max-width:767px){.hero .row{--bs-gutter-y:32px}
.hero h1{font-size:clamp(28px,7.4vw,44px)}
.identity strong span{display:block;margin:4px 0}
.identity p{font-size:13px}



.gameplay-video{width:min(100%,260px)}
.contact-details>div{grid-template-columns:1fr;gap:6px}
.contact-email{font-size:17px}

}

.hero{padding-top:60px;padding-bottom:64px}
.hero-cast{display:flex;justify-content:center;align-items:center}
.hero-cast img{display:block;width:100%;max-width:440px;height:auto;max-height:460px;object-fit:contain}
.experience-section{margin-top:52px;padding-top:30px;border-top:1px solid var(--line)}
.experience-heading{display:flex;align-items:baseline;justify-content:space-between;gap:16px;margin-bottom:24px}
.experience-heading h2{font-size:24px;letter-spacing:-.02em;margin:0}
.experience-heading p{font-size:14px;color:var(--muted);margin:0}
.capability-list{list-style:none;display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:16px;padding:0;margin:0}
.capability-list li{grid-column:span 2;padding:22px;background:#fff;border:1px solid var(--line);border-radius:12px}
.capability-list li:nth-last-child(-n+2){grid-column:span 3}
.capability-list h3{font-size:16px;letter-spacing:-.025em;margin:0 0 10px;line-height:1.45}
.capability-list p{font-size:14px;line-height:1.75;color:var(--muted);margin:0;word-break:keep-all;overflow-wrap:anywhere}
.contact-phone{font-size:clamp(20px,2vw,26px);border-bottom:1px solid #738179;padding-bottom:5px}
.contact-country{display:inline-block;margin-left:16px;font-size:14px;color:#c4cdc6}
.closing-message{padding-top:52px;padding-bottom:24px}
.closing-message p{font-size:clamp(32px,5vw,64px);font-weight:650;letter-spacing:-.055em;line-height:1.2;color:var(--ink);margin:0}
.mobile-break{display:none}
.site-footer{border-top:1px solid var(--line);margin-top:16px}
@media(min-width:768px) and (max-width:991px){.hero-intro>.col-lg-7{width:62%}.hero-intro>.col-lg-5{width:38%}.hero h1{font-size:42px}.hero-cast img{max-height:350px}}
@media(max-width:767px){.hero{padding-top:40px;padding-bottom:48px}.hero-cast img{width:100%;max-width:340px;max-height:350px}.hero .identity{margin-top:24px}.experience-section{margin-top:30px;padding-top:24px}.experience-heading{display:block;margin-bottom:20px}.experience-heading p{margin-top:6px}.capability-list{grid-template-columns:1fr;gap:0}.capability-list li,.capability-list li:nth-last-child(-n+2){grid-column:auto;background:none;border:0;border-top:1px solid var(--line);border-radius:0;padding:18px 0;display:grid;grid-template-columns:110px minmax(0,1fr);gap:14px;align-items:start}.capability-list h3{font-size:14px;margin:0;line-height:1.7;word-break:keep-all}.capability-list p{font-size:14px}.contact-country{display:block;margin:10px 0 0}.closing-message{padding-top:36px}.mobile-break{display:block}}
@media(max-width:359px){.capability-list li,.capability-list li:nth-last-child(-n+2){grid-template-columns:90px minmax(0,1fr);gap:12px}.hero-cast img{max-height:310px}}

/* Background from the archived first site; text sits above the characters. */
.hero{padding:0}
.hero-stage{background-image:linear-gradient(90deg,rgba(255,255,255,.97),rgba(255,255,255,.84) 38%,rgba(255,255,255,.15) 73%),url('assets/images/lunatics/hero-academy-wide.jpg');background-size:cover;background-position:center;overflow:hidden}
.hero-intro{position:relative;min-height:560px;padding-block:64px;isolation:isolate}
.hero-intro>.col-lg-7{position:relative;z-index:3}
.hero-cast{position:absolute;z-index:2;right:0;bottom:22px;width:44%;padding:0}
.hero-cast img{max-width:480px;max-height:480px;filter:drop-shadow(0 10px 12px #22352218)}
.experience-section{margin-top:0;padding-top:40px;padding-bottom:56px;border-top:0}
.capability-list li{font-size:15px;line-height:1.8;color:var(--muted);word-break:keep-all;overflow-wrap:anywhere}
#lunatics .row.align-items-center{max-width:880px;margin-inline:auto;--bs-gutter-x:24px;--bs-gutter-y:24px}
#lunatics .row.align-items-center>.col-lg-7{width:58%}
#lunatics .row.align-items-center>.col-lg-5{width:42%}
.closing-message{padding-top:64px;padding-bottom:44px;text-align:center}
.closing-message p{font-size:clamp(22px,7.2vw,72px);font-weight:800;letter-spacing:-.055em;white-space:nowrap;color:var(--accent);line-height:1.25}
@media(max-width:991px){#lunatics .row.align-items-center>.col-lg-7,#lunatics .row.align-items-center>.col-lg-5{width:100%}#lunatics .col-lg-7{text-align:center}.project-logo{margin-inline:auto}.feature-pills,.project-meta{justify-content:center}.hero-intro{min-height:460px}.hero-cast{width:40%;bottom:26px}.hero-cast img{max-height:370px}}
@media(max-width:767px){.hero-stage{background-image:linear-gradient(180deg,rgba(255,255,255,.96),rgba(255,255,255,.86) 43%,rgba(255,255,255,.12) 78%),url('assets/images/lunatics/hero-academy-wide.jpg');background-position:62% center}.hero-intro{min-height:700px;padding-top:40px;padding-bottom:350px;align-items:start!important}.hero-intro>.col-lg-7{width:100%}.hero-cast{width:100%;right:0;bottom:12px}.hero-cast img{max-width:340px;max-height:340px}.capability-list li,.capability-list li:nth-last-child(-n+2){display:block;font-size:15px;padding:18px 0}.experience-section{padding-top:30px;padding-bottom:40px}#lunatics .row.align-items-center{--bs-gutter-y:20px}.closing-message{padding-top:44px;padding-bottom:30px}}

/* Larger hero cast; compact screens use a conventional bullet list. */
.hero-cast{width:55%}
.hero-cast img{max-width:600px;max-height:600px}
.project-meta{flex-wrap:wrap;gap:18px 32px}
@media(min-width:768px) and (max-width:991px){.hero-cast{width:50%}.hero-cast img{max-height:462px}}
@media(max-width:767px){.hero-intro{min-height:785px;padding-bottom:435px}.hero-cast{width:100%}.hero-cast img{max-width:425px;max-height:425px}.capability-list{display:block;list-style:disc;padding-left:20px}.capability-list li,.capability-list li:nth-last-child(-n+2){display:list-item;padding:7px 0 7px 4px;border:0}.capability-list li::marker{color:var(--accent)}.project-meta{gap:16px 24px}}
@media(max-width:359px){.hero-intro{min-height:755px;padding-bottom:405px}.hero-cast img{max-height:388px}}
@media(min-width:992px){.hero-intro{min-height:660px}}
@media(min-width:768px) and (max-width:991px){.hero-intro{min-height:560px}}
