:root { --night:#101d30; --night-2:#17283b; --cream:#f4dfab; --mint:#a8bd86; --lavender:#9e8ba9; --gold:#f2b632; --teal:#315d64; --rust:#ba5a2a; --ink:#0b1523; font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; color:var(--cream); background:var(--night); }
* { box-sizing:border-box; }
html { scroll-behavior:smooth; }
body { margin:0; min-width:320px; overflow-x:clip; background:linear-gradient(180deg,#101d30 0,#16283b 58%,#101d30 100%); }
a { color:inherit; }
.skip-link { position:absolute; left:12px; top:-60px; background:var(--cream); color:var(--ink); padding:10px 14px; z-index:10; font-weight:800; }
.skip-link:focus { top:12px; }
.site-header { width:min(1220px,100%); min-height:88px; margin:auto; padding:18px clamp(20px,5vw,58px); display:flex; align-items:center; justify-content:space-between; gap:20px; }
.brand { display:inline-flex; align-items:center; gap:10px; text-decoration:none; color:var(--cream); font-family:ui-monospace,Consolas,monospace; font-size:.78rem; line-height:.9; letter-spacing:.05em; font-weight:900; text-transform:uppercase; }
.brand-mark { position:relative; width:36px; height:27px; display:inline-block; border:2px solid var(--cream); border-radius:17px 17px 12px 12px; background:#1b3043; overflow:hidden; }
.brand-mark i { position:absolute; top:3px; width:13px; height:18px; border:2px solid var(--cream); border-radius:12px 4px; background:var(--lavender); }.brand-mark i:first-child{left:2px;transform:rotate(-24deg)}.brand-mark i:nth-child(2){right:2px;transform:rotate(24deg) scaleX(-1)}.brand-mark b{position:absolute;left:15px;top:10px;width:4px;height:4px;background:var(--gold);border-radius:50%}
nav { display:flex; gap:clamp(13px,3vw,34px); } nav a { color:#ead8a9; text-decoration:none; font-size:.9rem; font-weight:700; } nav a:hover, nav a:focus-visible, .text-link:hover, .project-info a:hover { color:white; }
.hero { width:min(1220px,100%); min-height:590px; margin:auto; padding:clamp(56px,9vw,118px) clamp(20px,5vw,58px) 75px; display:grid; grid-template-columns:minmax(0,1.05fr) minmax(340px,.95fr); align-items:center; gap:55px; position:relative; overflow:hidden; }
.hero:before { content:""; position:absolute; width:340px; height:340px; left:-150px; bottom:-160px; border:1px solid #f4dfab33; border-radius:50%; box-shadow:0 0 0 36px #f4dfab08,0 0 0 73px #f4dfab08; }
.eyebrow { margin:0 0 15px; color:var(--mint); font-family:ui-monospace,Consolas,monospace; text-transform:uppercase; letter-spacing:.12em; font-size:.73rem; font-weight:800; }
h1,h2,h3,p { margin-top:0; } h1,h2,h3 { font-family:Georgia, "Times New Roman", serif; font-weight:500; }
h1 { max-width:650px; margin-bottom:23px; font-size:clamp(3.15rem,7vw,6.35rem); line-height:.9; letter-spacing:-.06em; } h1 em { color:var(--gold); font-style:italic; }
.lede { max-width:540px; color:#e6d8b4; font-size:1.08rem; line-height:1.72; }
.actions { margin-top:32px; display:flex; align-items:center; gap:25px; flex-wrap:wrap; }.button { display:inline-flex; align-items:center; gap:15px; min-height:50px; padding:0 19px; text-decoration:none; font-weight:850; border:2px solid transparent; }.button--primary { background:var(--gold); color:#111e2e; }.button--primary:hover,.button--primary:focus-visible{background:#ffd35a}.text-link{color:var(--cream);font-weight:800;text-underline-offset:6px}
.hero-scene { height:390px; position:relative; border:2px solid #f4dfab55; background:#0c1828; overflow:hidden; box-shadow:14px 14px 0 #0b152388; }.hero-scene:before { content:""; position:absolute; inset:12px; border:1px dashed #f4dfab35; }.moon { position:absolute; right:48px; top:42px; width:83px; height:83px; border-radius:50%; background:var(--gold); box-shadow:0 0 0 16px #f2b63211; }.window { position:absolute; left:65px; top:55px; display:grid; grid-template:repeat(2,53px)/repeat(2,64px); gap:4px; padding:8px; background:#315d64; border:7px solid #ba5a2a; }.window span{background:#f2b632;opacity:.75}.desk { position:absolute; left:18px; right:18px; bottom:54px; height:18px; background:#ba5a2a; box-shadow:20px 18px 0 -4px #ba5a2a,calc(100% - 20px) 18px 0 -4px #ba5a2a;}.lamp { position:absolute; bottom:72px; right:95px; width:30px; height:122px; background:#9e8ba9; }.lamp b{position:absolute;width:78px;height:47px;bottom:85px;left:-24px;background:#a8bd86;clip-path:polygon(18% 0,82% 0,100% 100%,0 100%)}.plant{position:absolute;bottom:72px;right:25px;width:45px;height:60px;border-bottom:17px solid #ba5a2a}.plant i{position:absolute;width:17px;height:47px;border-radius:17px 0;background:#a8bd86;transform-origin:bottom}.plant i:nth-child(1){left:12px;transform:rotate(-40deg)}.plant i:nth-child(2){left:18px;transform:rotate(-10deg)}.plant i:nth-child(3){left:22px;transform:rotate(28deg)}.plant i:nth-child(4){left:6px;transform:rotate(-65deg)}.hero-scene p{position:absolute;bottom:8px;left:20px;margin:0;color:#f4dfab99;font:700 .66rem/1.35 ui-monospace,monospace;letter-spacing:.12em;text-transform:uppercase}
.section { width:min(1220px,100%); margin:auto; padding:100px clamp(20px,5vw,58px); }.section-heading { max-width:610px; }.section-heading h2,.studio h2 { font-size:clamp(2.5rem,5vw,4.35rem); line-height:.94; letter-spacing:-.055em; margin-bottom:18px; }.section-heading > p:last-child { color:#dbd0b3; line-height:1.65; }
.games { background:linear-gradient(90deg,#f4dfab 0,#ebd59e 100%); color:#152437; max-width:none; padding-left:max(20px,calc((100% - 1104px)/2)); padding-right:max(20px,calc((100% - 1104px)/2)); }.games .eyebrow { color:#587052; }.games .section-heading > p:last-child { color:#465260; }
.project-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:23px; margin-top:45px; }.project-card{border:2px solid #152437;background:#f7e6b9;box-shadow:8px 8px 0 #152437;overflow:hidden}.project-art{height:250px;position:relative;overflow:hidden}.project-card--harbor .project-art{background:linear-gradient(#315d64 0 58%,#a8bd86 58%)}.sun{position:absolute;width:105px;height:105px;right:12%;top:37px;border-radius:50%;background:#f2b632}.wave{position:absolute;left:-10%;width:120%;height:34px;border-radius:50%;background:#f4dfab}.wave-one{bottom:53px;transform:rotate(-3deg)}.wave-two{bottom:17px;background:#315d64;transform:rotate(3deg)}.house{position:absolute;bottom:78px;left:20%;width:100px;height:67px;background:#ba5a2a;border:7px solid #152437}.house:before{content:"";position:absolute;top:-50px;left:-17px;border-left:60px solid transparent;border-right:60px solid transparent;border-bottom:50px solid #152437}.house:after{content:"";position:absolute;bottom:0;left:35px;width:26px;height:38px;background:#f2b632}.project-card--graveyard .project-art{background:linear-gradient(#182036 0 68%,#101d30 68%)}.grave-moon{position:absolute;width:105px;height:105px;top:34px;right:17%;border-radius:50%;background:#f4dfab}.hill{position:absolute;bottom:-39px;width:115%;height:123px;border-radius:50%;background:#315d64}.hill-one{left:-40%;}.hill-two{right:-40%;background:#253b47}.grave{position:absolute;bottom:53px;left:29%;width:47px;height:72px;border-radius:26px 26px 0 0;background:#9e8ba9;border:6px solid #0b1523}.grave:after{content:"+";position:absolute;left:9px;top:9px;color:#f4dfab;font:bold 34px Georgia}.bat{position:absolute;right:32%;top:74px;color:#0b1523;font:bold 57px Georgia;transform:rotate(12deg)}.project-info{padding:26px 27px 29px}.tag{font:800 .66rem ui-monospace,monospace;letter-spacing:.1em;text-transform:uppercase;color:#49645b}.project-info h3{font-size:2.2rem;letter-spacing:-.04em;margin:8px 0}.project-info p{line-height:1.6;color:#47515c;min-height:52px}.project-info a{font-weight:850;text-underline-offset:5px}
.studio { display:grid; grid-template-columns:1.1fr .9fr; gap:clamp(40px,8vw,130px); align-items:end; }.studio-copy { max-width:490px; color:#ddd1b2; font-size:1.08rem; line-height:1.74; }.rule{height:2px;width:72px;background:var(--rust);margin:30px 0 16px}.tiny-caption{font:700 .76rem ui-monospace,monospace!important;letter-spacing:.08em;color:var(--mint)!important;text-transform:uppercase}
.crew { max-width:none; background:#0c1726; padding-left:max(20px,calc((100% - 1104px)/2)); padding-right:max(20px,calc((100% - 1104px)/2)); }.crew-heading { text-align:center; margin:0 auto; }.crew-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;margin-top:50px}.crew-card{background:#18283a;border:1px solid #f4dfab33;display:flex;flex-direction:column;min-width:0}.portrait-wrap{aspect-ratio:1;overflow:hidden;background:#101d30;border-bottom:1px solid #f4dfab33}.portrait-wrap img{display:block;width:100%;height:100%;object-fit:cover;image-rendering:pixelated}.crew-card-copy{padding:22px 22px 25px}.role{min-height:32px;margin-bottom:9px;color:var(--accent);font:800 .67rem/1.3 ui-monospace,monospace;letter-spacing:.08em;text-transform:uppercase}.crew-card h3{font-size:2.5rem;letter-spacing:-.05em;margin:0 0 10px}.crew-card blockquote{margin:0 0 16px;color:#f4dfab;font-family:Georgia,serif;font-style:italic;line-height:1.36}.crew-card-copy>p:not(.role){font-size:.93rem;line-height:1.65;color:#d2c7aa}.crew-card--patch{--accent:var(--mint)}.crew-card--moth{--accent:var(--lavender)}.crew-card--hum{--accent:var(--gold)}details{border-top:1px solid #f4dfab33;margin-top:18px;padding-top:12px}summary{cursor:pointer;color:var(--accent);font-weight:800;font-size:.86rem}details p{color:#d2c7aa;line-height:1.55;font-size:.86rem;margin:12px 0 0}details strong{color:var(--cream)}.disclosure{max-width:770px;margin:46px auto 0;padding:15px 19px;border-left:3px solid var(--rust);color:#d2c7aa;line-height:1.6;font-size:.83rem}
.site-footer{width:min(1220px,100%);margin:auto;padding:34px clamp(20px,5vw,58px);display:flex;align-items:center;justify-content:space-between;gap:18px;border-top:1px solid #f4dfab33;color:#d2c7aa;font-size:.83rem}.site-footer>a:last-child{color:var(--mint);font-weight:800}
:focus-visible{outline:3px solid var(--gold);outline-offset:4px}@media (max-width:760px){.site-header{min-height:70px}.hero{grid-template-columns:1fr;padding-top:55px;gap:35px}.hero-scene{height:280px;max-width:510px;width:100%}.moon{width:63px;height:63px;top:30px}.window{left:42px;top:36px;grid-template:repeat(2,38px)/repeat(2,47px);padding:6px;border-width:5px}.lamp{right:78px}.project-grid,.studio{grid-template-columns:1fr}.studio{padding-top:74px;padding-bottom:74px}.crew-grid{grid-template-columns:1fr;max-width:470px;margin-left:auto;margin-right:auto}.crew-card{display:grid;grid-template-columns:150px 1fr}.portrait-wrap{height:150px}.crew-card-copy{padding:19px}.role{min-height:0}.crew-card h3{font-size:2.1rem}.crew-card-copy>p:not(.role),.crew-card blockquote{display:none}.crew-card details{margin-top:12px}.site-footer{flex-wrap:wrap}}@media (max-width:470px){nav{gap:14px}nav a{font-size:.78rem}.brand{font-size:.65rem}.brand-mark{width:30px;height:23px}.hero{min-height:0}.section{padding-top:70px;padding-bottom:70px}.hero-scene{height:230px}.window{left:27px;top:31px;grid-template:repeat(2,29px)/repeat(2,37px)}.desk{bottom:42px}.lamp{right:70px;transform:scale(.75);transform-origin:bottom}.plant{right:13px;transform:scale(.75);transform-origin:bottom}.project-art{height:190px}.crew-card{grid-template-columns:115px 1fr}.portrait-wrap{height:115px}.crew-card-copy{padding:15px}.crew-card h3{font-size:1.8rem}.role{font-size:.58rem}.crew-card details{font-size:.8rem}.site-footer{justify-content:flex-start}}@media (prefers-reduced-motion:reduce){html{scroll-behavior:auto}}
.project-logo { display:flex; align-items:center; justify-content:center; padding:24px; background:#0a1322 !important; }
.project-logo img { display:block; width:100%; height:100%; object-fit:contain; }
.game-detail { width:min(920px,100%); margin:auto; padding:clamp(55px,8vw,100px) clamp(20px,5vw,58px) 100px; }
.game-detail h1 { max-width:none; font-size:clamp(3.2rem,9vw,6.5rem); }
.game-detail > p:not(.eyebrow) { max-width:710px; color:#e6d8b4; font-size:1.08rem; line-height:1.7; }
.game-detail .game-intro { color:var(--gold) !important; font:italic 1.7rem/1.3 Georgia,serif !important; }
.development-note { padding:16px 20px; border-left:3px solid var(--gold); background:#ffffff0b; }
.game-shot { margin:48px 0; max-width:720px; }
.game-shot img { display:block; width:100%; height:auto; image-rendering:pixelated; border:2px solid #f4dfab55; background:#080f1a; }
.game-shot figcaption { margin-top:10px; color:#c5bea9; font-size:.9rem; }
.game-ending { border-top:1px solid #f4dfab33; padding-top:30px; color:#ddd1b2; }
.game-ending h2 { font-size:2.5rem; margin-bottom:10px; }
.game-story { max-width:710px; margin:0 0 50px; color:#e6d8b4; font-size:1.08rem; line-height:1.7; }
.game-story h2 { font-size:clamp(2.3rem,5vw,3.5rem); line-height:1; letter-spacing:-.04em; margin-bottom:20px; }
.hero-projects { display:grid; gap:14px; min-width:0; }
.hero-projects a { min-height:172px; display:flex; align-items:center; justify-content:center; position:relative; padding:20px 26px 35px; background:#0b1727; border:1px solid #f4dfab44; transition:border-color .2s, transform .2s; }
.hero-projects a:hover,.hero-projects a:focus-visible { border-color:var(--gold); transform:translateY(-3px); }
.hero-projects img { width:100%; max-width:390px; height:125px; object-fit:contain; }
.hero-projects span { position:absolute; bottom:12px; right:18px; color:#d6c9a9; font:700 .7rem ui-monospace,monospace; letter-spacing:.08em; text-transform:uppercase; }
.hero-illustration { min-width:0; border:2px solid #f4dfab55; box-shadow:14px 14px 0 #0b152388; overflow:hidden; }
.hero-illustration img { display:block; width:100%; aspect-ratio:1.18; object-fit:cover; object-position:center; }
.games, .crew { width:100%; }
.screenshots { margin:48px 0; }
.screenshots h2 { font-size:clamp(2.3rem,5vw,3.5rem); line-height:1; margin-bottom:12px; }
.screenshots > p { color:#d2c7aa; line-height:1.6; }
.screenshot-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:16px; max-width:780px; }
.screenshot-link { display:block; min-width:0; background:#0b1727; border:1px solid #f4dfab55; text-decoration:none; }
.screenshot-link:hover,.screenshot-link:focus-visible { border-color:var(--gold); }
.screenshot-link img { width:100%; aspect-ratio:256/240; object-fit:contain; display:block; image-rendering:pixelated; background:#050913; }
.screenshot-link span { display:block; padding:10px 12px; color:var(--cream); font-size:.9rem; font-weight:700; }
.screenshot-modal { width:min(94vw,850px); max-width:none; max-height:94dvh; padding:0; border:1px solid #f4dfab88; background:#101d30; color:var(--cream); }
.screenshot-modal::backdrop { background:rgba(3,8,15,.9); }
.modal-content { display:flex; flex-direction:column; align-items:center; gap:12px; padding:16px; }
.modal-close { align-self:flex-end; border:1px solid #f4dfab77; background:#1a2c3f; color:var(--cream); padding:8px 14px; font:700 1rem inherit; cursor:pointer; }
.modal-close:hover { border-color:var(--gold); }
.modal-content img { display:block; max-width:100%; max-height:calc(94dvh - 125px); object-fit:contain; image-rendering:pixelated; }
.modal-content p { margin:0; text-align:center; line-height:1.5; }
@media (max-width:580px) { .screenshot-grid { grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; } }
.image-fallback { display:none; position:fixed; inset:0; z-index:100; background:rgba(3,8,15,.96); padding:24px; color:var(--cream); }
.image-fallback:target { display:flex; flex-direction:column; align-items:center; justify-content:center; gap:16px; }
.image-fallback img { max-width:100%; max-height:75dvh; width:auto; height:auto; image-rendering:pixelated; }
.image-fallback p { margin:0; text-align:center; }
.fallback-close { position:absolute; right:24px; top:24px; padding:10px 16px; color:var(--cream); border:1px solid #f4dfab88; background:#1a2c3f; text-decoration:none; font-weight:700; }
.projects-cta { display:inline-block; margin-top:38px; padding:14px 20px; background:#152437; color:#f4dfab; text-decoration:none; font-weight:800; border:2px solid #152437; }
.projects-cta:hover,.projects-cta:focus-visible { background:#315d64; color:#fff; }
.catalog-page { width:min(1220px,100%); margin:auto; padding:clamp(56px,8vw,100px) clamp(20px,5vw,58px) 110px; }
.catalog-page h1 { margin-bottom:22px; }
.catalog-intro { max-width:610px; color:#e6d8b4; font-size:1.08rem; line-height:1.7; }
.catalog-grid { margin-top:45px; }
.catalog-grid .project-info { color:#152437; }
.catalog-grid .project-info h2 { font-size:2.2rem; letter-spacing:-.04em; margin:8px 0; }
/* Keep navigation available without covering section headings. */
html { scroll-padding-top:100px; }
.site-header { position:sticky; top:0; z-index:20; width:100%; padding-inline:max(clamp(20px,5vw,58px),calc((100% - 1104px)/2)); background:rgba(16,29,48,.96); border-bottom:1px solid #f4dfab30; }
.site-header > .brand { flex:0 0 auto; }
.site-header nav { min-width:0; overflow-x:auto; overscroll-behavior-x:contain; scrollbar-width:thin; scrollbar-color:#a8bd86 transparent; padding:8px 4px; }
.site-header nav a { flex:0 0 auto; white-space:nowrap; }
.skip-link { z-index:30; }
@media (max-width:760px) { html { scroll-padding-top:82px; } .site-header { gap:12px; } }
.footer-links { display:flex; flex-wrap:wrap; gap:12px 22px; }
.site-footer .footer-links a { color:var(--mint); font-size:.85rem; font-weight:800; }
.site-footer .footer-links a:hover,.site-footer .footer-links a:focus-visible { color:white; }
.contact-page { width:min(920px,100%); min-height:65vh; margin:auto; padding:clamp(56px,8vw,100px) clamp(20px,5vw,58px) 100px; }
.contact-page h1 { max-width:800px; }
.contact-intro { max-width:640px; color:#e6d8b4; font-size:1.08rem; line-height:1.7; }
.contact-social { margin-top:55px; max-width:680px; padding:clamp(24px,4vw,38px); background:#0b1727; border:1px solid #f4dfab55; }
.contact-social h2 { font-size:clamp(2.2rem,4vw,3.2rem); line-height:1; margin-bottom:16px; }
.contact-social p:not(.eyebrow) { color:#d2c7aa; line-height:1.7; }
.contact-social-link { display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:8px 16px; padding:16px; border:1px solid #f4dfab55; color:var(--cream); text-decoration:none; font-weight:800; }
.contact-social-link:hover,.contact-social-link:focus-visible { border-color:var(--gold); background:#1b3043; }
.contact-social-link small { color:var(--mint); font-size:.85rem; overflow-wrap:anywhere; }
@media (prefers-reduced-motion:reduce){.hero-projects a{transition:none}.hero-projects a:hover,.hero-projects a:focus-visible{transform:none}}

/* Patch's portrait is the shared workshop mark on every page. */
.brand-mark { width:46px; height:46px; flex:0 0 46px; border:0; border-radius:6px; background:transparent url('./assets/patch-brand-transparent.png') center / contain no-repeat; }
.brand-mark i, .brand-mark b { display:none; }
@media (max-width:470px) { .brand-mark { width:40px; height:40px; flex-basis:40px; } }

/* Inquiry form */
.contact-form { display:grid; gap:10px; margin-top:28px; }
.contact-form label { margin-top:8px; color:var(--cream); font-size:.9rem; font-weight:750; }
.contact-form input, .contact-form select, .contact-form textarea { width:100%; min-width:0; border:1px solid #f4dfab66; border-radius:0; padding:12px 13px; background:#101d30; color:var(--cream); font:inherit; line-height:1.4; }
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { border-color:var(--gold); }
.contact-form textarea { resize:vertical; }
.contact-form .contact-form-note { margin:5px 0 8px; font-size:.85rem; }
.contact-form button { justify-self:start; cursor:pointer; font:inherit; font-weight:800; }

/* Platform details */
.game-platform { max-width:780px; margin:0 0 50px; padding:clamp(24px,4vw,36px); background:#0b1727; border:1px solid #f4dfab55; }
.game-platform h2 { font-size:clamp(2.3rem,5vw,3.5rem); line-height:1; letter-spacing:-.04em; margin-bottom:20px; }
.game-platform > p:not(.eyebrow) { color:#e6d8b4; line-height:1.7; }
.platform-facts { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:18px; margin:28px 0; }
.platform-facts div { min-width:0; border-top:1px solid #f4dfab55; padding-top:14px; }
.platform-facts dt { margin-bottom:8px; color:var(--mint); font:800 .7rem/1.3 ui-monospace,monospace; letter-spacing:.08em; text-transform:uppercase; }
.platform-facts dd { margin:0; color:var(--cream); line-height:1.5; }
@media (max-width:580px) { .platform-facts { grid-template-columns:1fr; } }
