@font-face{font-family:Barlow Condensed;src:url('/assets/barlow-800.woff2') format('woff2');font-weight:800;font-display:swap}
@font-face{font-family:DM Sans;src:url('/assets/dm-sans.woff2') format('woff2');font-weight:400 700;font-display:swap}

:root{
  color-scheme:dark;
  --bg:light-dark(#f8f8f9,#111112);
  --surface:light-dark(#fff,#1b1b1d);
  --header:light-dark(#fff,#000);
  --ink:light-dark(#202023,#f6f6f7);
  --muted:light-dark(#535359,#bcbcc1);
  --accent:light-dark(#b11620,#ff656b);
  --line:light-dark(#dddde1,#353539);
  --contrast-panel:#ececef;
  --inner-glow:light-dark(#eaeaec,#2c2c30);
  --header-height:88px;
  --logo:url('/assets/scorpes-logo-dark.png');
  --intro-top:light-dark(#fffffffa,#0c0c0eea);
  --intro-edge:light-dark(#ffffffe0,#0c0c0ea0);
  --hero-accent:#ff6267;
  --action:#cc1922;
  --action-hover:#ae1018;
  --action-text:#fff;
  --nav-accent:light-dark(#99151c,#ff7b80);
  --display:'Barlow Condensed','Arial Narrow',sans-serif;
  --body:'DM Sans',system-ui,sans-serif;
  --width:1250px;
}
:root[data-theme='light']{color-scheme:light;--logo:url('/assets/scorpes-logo-light.png')}
:root[data-theme='system']{color-scheme:light dark}
@media(prefers-color-scheme:light){:root[data-theme='system']{--logo:url('/assets/scorpes-logo-light.png')}}

.game-catch-the-rabbit{
  --bg:light-dark(#f2f5e8,#111a12);
  --surface:light-dark(#fbfaed,#1b2819);
  --header:light-dark(#f8f9ee,#101710);
  --ink:light-dark(#263120,#f7f1df);
  --muted:light-dark(#4f5e45,#bbc7ac);
  --accent:light-dark(#356637,#c1df84);
  --line:light-dark(#d8dfc8,#35452f);
  --inner-glow:light-dark(#e5eccf,#293923);
  --intro-top:light-dark(#fbfaedf7,#101910eb);
  --intro-edge:light-dark(#fbfaeddf,#101910a5);
  --hero-accent:#ffb765;
  --action:light-dark(#30672d,#c6e389);
  --action-hover:light-dark(#255421,#d9f0a8);
  --action-text:light-dark(#fff,#1b2e17);
  --nav-accent:light-dark(#28542a,#c1df84);
}
*,*::before,*::after{box-sizing:border-box}
html{scroll-padding-top:calc(var(--header-height) + 1rem)}
body{margin:0;background:var(--bg);color:var(--ink);font:1rem/1.6 var(--body)}
img{display:block;max-width:100%;height:auto}
a{color:inherit;text-decoration:none}
button{font:inherit;color:inherit}
:focus-visible{outline:2px solid var(--accent);outline-offset:5px}
::selection{color:var(--bg);background:var(--accent)}
h1,h2,h3,p,figure{margin:0}
h1,h2,h3{font-family:var(--display);font-weight:800;line-height:.9;text-transform:uppercase}
h2{font-size:clamp(3.15rem,7vw,5.85rem);letter-spacing:-.018em}
h3{font-size:clamp(2.3rem,4.5vw,3.6rem)}
.wrap{width:min(var(--width),calc(100% - clamp(2.5rem,10vw,9rem)));margin-inline:auto}
.section{padding-block:clamp(4rem,8vw,7rem)}
.eyebrow{display:flex;align-items:center;gap:.66rem;color:var(--accent);font-size:.75rem;font-weight:700;letter-spacing:.18em;text-transform:uppercase}
.eyebrow::before{content:'';width:.55rem;height:.55rem;background:currentColor;transform:rotate(45deg);flex:none}
.muted{color:var(--muted)}
.skip{position:fixed;left:1rem;top:1rem;z-index:5;transform:translateY(-180%);padding:.7rem 1rem;background:var(--ink);color:var(--bg)}
.skip:focus{transform:translateY(0)}

.site-header{position:sticky;top:0;z-index:3;background:var(--header);transition:background-color .26s,box-shadow .26s}
.site-header[data-scrolled]{box-shadow:0 4px 16px #0002}
.site-header[data-scroll-header]:not([data-scrolled]){background:transparent;box-shadow:none}
.site-header--over-art[data-scroll-header]:not([data-scrolled]){
  --ink:light-dark(#26251d,#f8f4e8);
  --muted:light-dark(#3d3c32,#f5f1e4);
  --accent:var(--nav-accent);
  color:var(--ink);
}
.site-header[data-scroll-header] + main{margin-top:calc(-1 * var(--header-height))}
.site-header[data-scroll-header] + main > .hero{padding-top:var(--header-height)}
.site-header[data-scroll-header] + main > .inner-hero{padding-top:calc(clamp(4rem,8vw,7rem) + var(--header-height))}
.topbar{height:var(--header-height);display:grid;grid-template-columns:1fr auto 1fr;align-items:center;column-gap:1.25rem}
.brand,.studio-logo{background:var(--logo) center / contain no-repeat}
.brand{display:block;width:124px;height:72px;flex:none}
.nav{display:flex;align-items:center;gap:clamp(1.25rem,4vw,3.5rem);font-size:.87rem;font-weight:700;white-space:nowrap}
.nav a{color:var(--muted);transition:color .18s}
.nav a:hover,.nav a[aria-current]{color:var(--accent)}
.theme-switch{display:grid;place-items:center;justify-self:end;width:44px;height:44px;padding:0;border:0;background:transparent;color:var(--ink);cursor:pointer;transition:background-color .2s,color .2s}
.theme-switch[hidden]{display:none}
.theme-switch:hover{background:color-mix(in srgb,currentColor 9%,transparent);color:var(--accent)}
.theme-icon{position:relative;display:block;width:25px;height:26px;overflow:hidden}
.theme-icon i{position:absolute;inset:0;margin:auto;opacity:0}
.theme-sun{width:12px;height:12px;border:1.5px solid currentColor;border-radius:50%;background:currentColor;background-clip:content-box;padding:2px}
.theme-sun::before{content:'';position:absolute;inset:-5px;border:2px dotted currentColor;border-radius:50%}
.theme-moon{width:15px;height:15px;border-radius:50%;box-shadow:-4px 2px 0 0 currentColor;transform:translate(2px,-1px)}
.theme-auto{width:17px;height:17px;border:1.5px solid currentColor;border-radius:50%;background:linear-gradient(90deg,currentColor 50%,transparent 50%);transform:rotate(-27deg)}
.theme-horizon{width:22px;height:1px;background:currentColor;transform:translateY(7px)}
[data-mode='light'] .theme-sun,[data-mode='dark'] .theme-moon,[data-mode='system'] .theme-auto{opacity:1}
[data-motion='light'] .theme-sun{animation:theme-sunrise .62s ease-out}
[data-motion='dark'] .theme-sun{animation:theme-sunset .42s ease-in}
[data-motion='dark'] .theme-moon{animation:theme-moonrise .65s ease-out}
[data-motion='system'] .theme-auto{animation:theme-auto .62s ease-out}
[data-motion='light'] .theme-horizon,[data-motion='dark'] .theme-horizon{animation:theme-horizon .62s ease-out}
@keyframes theme-sunrise{from{transform:translateY(12px) scale(.72);opacity:0}30%{opacity:1}to{transform:none;opacity:1}}
@keyframes theme-sunset{from{transform:none;opacity:1}to{transform:translateY(12px) scale(.7);opacity:0}}
@keyframes theme-moonrise{0%,30%{transform:translate(9px,9px) rotate(28deg);opacity:0}to{transform:translate(2px,-1px);opacity:1}}
@keyframes theme-auto{from{transform:rotate(-160deg) scale(.55);opacity:0}to{transform:rotate(-27deg);opacity:1}}
@keyframes theme-horizon{0%,100%{opacity:0}35%{opacity:.65}}
.arrow{font-family:system-ui,sans-serif;font-weight:600;font-size:1.1em}
.button{display:inline-flex;align-items:center;justify-content:center;gap:1rem;min-height:51px;width:max-content;max-width:100%;padding:.68rem 1.3rem;background:var(--action);color:var(--action-text);font-size:.91rem;font-weight:700;border:1px solid var(--action);transition:background .18s,border-color .18s}
.button:hover{background:var(--action-hover);border-color:var(--action-hover)}
.button.secondary{background:transparent;border-color:#736d5c;color:var(--ink)}
.button.secondary:hover{border-color:var(--ink);background:#fff1}
.text-link{display:inline-flex;align-items:center;gap:.6rem;font-weight:700;width:max-content;max-width:100%;transition:color .18s}
.text-link:hover{color:var(--accent)}

.hero{--ink:#f8f4e8;--accent:var(--hero-accent);position:relative;isolation:isolate;overflow:hidden;background:#101b13;color:var(--ink);min-height:100vh;min-height:100svh;display:grid;align-items:center}
.hero-art,.hero::after{position:absolute;inset:0;width:100%;height:100%;z-index:-2}
.hero-art{object-fit:cover;object-position:77% 51%}
.hero::after{content:'';z-index:-1;background:linear-gradient(180deg,var(--intro-top),var(--intro-edge) var(--header-height),transparent calc(var(--header-height) + 5.5rem)),linear-gradient(90deg,#0c120ef5 0%,#0c120edc 25%,#0c120e8c 49%,transparent 77%),linear-gradient(0deg,#10130ed0,transparent 27%)}
.hero-main{padding-block:4.25rem 5.5rem}
.hero h1{font-size:clamp(5rem,9.2vw,9.6rem);letter-spacing:-.016em;line-height:.84;margin:.22em 0 .21em}
.hero h1 span{display:block;color:var(--accent)}
.hero-copy{max-width:32em;font-size:clamp(1.03rem,1.5vw,1.18rem);color:#ede9d9}
.actions{display:flex;flex-wrap:wrap;align-items:center;gap:.85rem;margin-top:1.6rem}
.hero-caption{position:absolute;bottom:1.65rem;right:max(calc((100% - var(--width)) / 2),clamp(1.25rem,5vw,4.5rem));display:flex;align-items:center;gap:.8rem;font-size:.72rem;font-weight:700;letter-spacing:.13em;text-transform:uppercase}
.hero-caption::before{content:'';width:1.8rem;height:1px;background:var(--accent)}
.hero-caption:hover{color:var(--accent)}

.game-section{border-top:1px solid var(--line)}
.section-heading{display:flex;justify-content:space-between;align-items:end;gap:1.5rem;margin-bottom:2rem}
.section-heading h2,.stack h2{margin-top:.62rem}
.section-heading>p{max-width:24rem;padding-bottom:.2rem}
.feature{display:grid;grid-template-columns:1.22fr 1fr;min-height:400px;border:1px solid var(--line);background:var(--surface);overflow:hidden}
.feature-art{position:relative;display:grid;place-items:center;min-height:370px;background:#283220 radial-gradient(ellipse at 52% 35%,#596947,#202b1e 73%);overflow:hidden}
.feature-art::before{content:'';width:76%;aspect-ratio:1;position:absolute;border:1px solid #ffffdf25;border-radius:50%;box-shadow:0 0 0 38px #ffffdf0e,0 0 0 77px #ffffdf08}
.device{position:relative;width:clamp(148px,45%,213px);margin-block:1.7rem -1.7rem;transform:rotate(-9deg);border:7px solid #161a15;border-radius:1.5rem;overflow:hidden;box-shadow:0 24px 35px #0b110ca0}
.device img{width:100%}
.feature-copy{display:flex;flex-direction:column;justify-content:center;gap:1.1rem;padding:clamp(1.65rem,4.25vw,4rem)}
.feature-copy>p:not(.eyebrow){color:var(--muted);max-width:29rem}
.launch{color:var(--ink);display:inline-flex;align-items:center;gap:.65rem;font-size:.82rem;font-weight:700}
.launch::before{content:'';background:light-dark(#5b772a,#c5da81);width:.47rem;height:.47rem;border-radius:50%;flex:none}
.hero .launch::before{background:#c5da81}
.feature-copy .text-link{margin-top:.35rem}

.studio-strip{background:var(--contrast-panel);color:#262821}
.studio-strip .wrap{display:grid;grid-template-columns:1fr .85fr;align-items:center;gap:clamp(1.5rem,7vw,6rem)}
.studio-strip .eyebrow{color:#a31820}
.studio-strip h2{margin-top:.6rem}
.studio-strip .text-link{margin-top:1rem}
.studio-strip .text-link:hover{color:#a31820}

.inner-hero{background:radial-gradient(ellipse at 90% 100%,var(--inner-glow),transparent 75%),var(--surface);border-bottom:1px solid var(--line)}
.inner-hero h1{font-size:clamp(5rem,11vw,9.3rem);letter-spacing:-.018em;margin-block:.09em .16em;overflow-wrap:anywhere}
.lead{max-width:42rem;font-size:clamp(1.12rem,2.1vw,1.45rem);color:var(--muted)}
.studio-intro{display:grid;grid-template-columns:1.1fr .9fr;align-items:center;gap:clamp(2rem,6vw,5rem)}
.studio-logo{width:100%;aspect-ratio:4/3;border:1px solid var(--line);background-color:var(--header);background-size:82% auto;max-width:470px}
.game-hero .hero-main{padding-block:4rem}
.game-hero h1{font-size:clamp(4.8rem,10vw,9.25rem)}
.game-release{display:flex;align-items:center;gap:.9rem;margin-top:1.5rem}
.game-release img{width:44px;height:44px;border:1px solid #82956d;border-radius:.65rem}
.shot-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:clamp(.85rem,3vw,2rem)}
.shot-grid a{display:block;overflow:hidden;border:1px solid #4d5944;border-radius:clamp(.55rem,2vw,1.25rem);background:#273c24;transition:border-color .18s}
.shot-grid a:hover{border-color:var(--accent)}
.shot-grid img{width:100%;aspect-ratio:9/19.5;object-fit:contain;transition:transform .2s}
.shot-grid a:hover img{transform:scale(1.025)}
.shot-grid figcaption{margin-top:.75rem;color:var(--muted);font-size:.85rem}
.image-dialog{padding:0;color:var(--ink);background:transparent;border:0;max-width:calc(100vw - 2rem);max-height:calc(100dvh - 2rem);overflow:visible}
.image-dialog::backdrop{background:#0b100ae8}
.image-dialog-content{position:relative}
.image-dialog img{display:block;max-height:calc(100dvh - 3.5rem);width:auto;max-width:100%;object-fit:contain;border-radius:.65rem}
.image-close{position:absolute;top:.4rem;right:.4rem;width:2.6rem;height:2.6rem;display:grid;place-items:center;border:1px solid #fff6;border-radius:50%;background:#151814;color:#fff;font-size:1.65rem;line-height:1;cursor:pointer}
.rule-section{background:var(--surface);border-block:1px solid var(--line)}
.info-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1px;border:1px solid var(--line);background:var(--line);margin-top:1.75rem}
.info-grid article{background:var(--bg);padding:clamp(1.6rem,4vw,3rem)}
.info-grid h3{margin-bottom:.65rem}
.info-grid p{color:var(--muted);max-width:26rem}
.after-grid{color:var(--muted);margin-top:1.4rem}
.page-split{display:grid;grid-template-columns:1fr 1fr;gap:clamp(1.5rem,5vw,4.5rem)}
.page-split p+p{margin-top:1rem}
.page-split .text-link{margin-top:1.1rem}
.site-footer{border-top:1px solid var(--line);padding-block:2rem 1.5rem;background:var(--header)}
.footer-top,.footer-bottom{display:flex;align-items:center;justify-content:space-between;gap:1.25rem;flex-wrap:wrap}
.footer-nav{display:flex;gap:1rem 1.6rem;flex-wrap:wrap;font-size:.88rem}
.footer-nav a:hover{color:var(--accent)}
.footer-bottom{border-top:1px solid var(--line);padding-top:1.1rem;margin-top:1.7rem;color:var(--muted);font-size:.78rem}
.error-page{min-height:55vh}
.policy-content{max-width:44rem}
.policy-content p,.policy-content ul{margin:.75rem 0}
.policy-content h2{font:700 1.3rem/1.3 var(--body);margin-top:2rem;text-transform:none;letter-spacing:0}
.policy-content a{color:var(--accent);text-decoration:underline;text-underline-offset:.18em}

@media (min-width:751px) and (max-width:1024px){
  :root{--header-height:82px}
  .wrap{width:calc(100% - 4rem)}
  .hero-main{padding-block:3.2rem 5rem}
  .hero-art{object-position:87% center}
  .feature{min-height:360px}.feature-art{min-height:345px}
}
@media (min-width:751px) and (max-width:900px){
  .shot-grid{grid-template-columns:repeat(2,minmax(0,1fr));max-width:640px;margin-inline:auto}
}
@media(max-width:750px){
  :root{--header-height:73px}
  .topbar{column-gap:.7rem}.brand{width:108px;height:65px}
  .nav{gap:1.2rem;font-size:.83rem}
  .hero{align-items:end}.hero-art{object-position:83% center}
  .hero::after{background:linear-gradient(180deg,var(--intro-top),var(--intro-edge) var(--header-height),transparent calc(var(--header-height) + 4rem)),linear-gradient(0deg,#10160ffe 4%,#10160ff5 27%,#10160fb8 52%,#10160f55 65%,transparent 79%)}
  .hero-main{padding-block:11.5rem 5.15rem}.hero h1{font-size:clamp(4.5rem,12.2vw,6.5rem)}
  .hero-caption{bottom:1.4rem;left:max(1.25rem,5vw);right:auto}
  .game-hero .hero-main{padding-block:11rem 4rem}
  .feature,.studio-strip .wrap,.page-split,.studio-intro{grid-template-columns:1fr}.feature-art{min-height:0;max-height:370px}.device{width:clamp(138px,40%,185px)}
  .section-heading{align-items:start;flex-direction:column;gap:.9rem}.shot-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:1.25rem}
}
@media(max-width:600px){
  :root{--header-height:100px}
  .topbar{grid-template-rows:61px 39px;row-gap:0}
  .topbar .brand{grid-column:1;grid-row:1;height:52px}
  .nav{grid-column:1/-1;grid-row:2;justify-self:center;gap:clamp(1.15rem,6vw,2rem);font-size:.9rem}
  .theme-switch{grid-column:3;grid-row:1}
}
@media(max-width:450px){
  .topbar.wrap{width:calc(100% - 1.5rem)}.brand{width:97px;height:60px}
  .theme-switch{width:42px;height:42px}
  .hero h1{font-size:clamp(3.8rem,13vw,5.5rem)}.hero-main{padding-top:10.5rem}
  .actions{gap:.65rem}.button{padding-inline:1rem}.shot-grid{grid-template-columns:repeat(4,72%);overflow-x:auto;scroll-snap-type:x mandatory;padding:4px 4px .8rem;margin-inline:-4px}.shot-grid figure{scroll-snap-align:start;padding-left:4px}
  .info-grid{grid-template-columns:1fr}.footer-top{align-items:flex-start;flex-direction:column}
}
@media(max-width:360px){
  .brand{width:80px;height:52px}
  .nav{gap:1.15rem;font-size:.83rem}.topbar{column-gap:.55rem}
}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{transition:none!important;animation:none!important}}
