
:root{
  --bg:#090b10; --bg2:#0f1420; --panel:#101622; --panel2:#131b29; --line:rgba(255,255,255,.1);
  --text:#f4f7fb; --muted:#a7b0bf; --teal:#26e4c1; --teal2:#74ffe6; --lime:#b8ff4f; --violet:#7e6eff;
  --gold:#e5a71b; --radius:28px; --shadow:0 30px 80px rgba(0,0,0,.26);
}
*{box-sizing:border-box} html{scroll-behavior:smooth}
body{
  margin:0; color:var(--text); font-family:Inter,system-ui,-apple-system,Segoe UI,Roboto,sans-serif; line-height:1.55;
  background:
    radial-gradient(circle at 90% 0%,rgba(79,99,255,.10),transparent 26%),
    radial-gradient(circle at 0% 35%,rgba(38,228,193,.08),transparent 25%),
    var(--bg);
  overflow-x:hidden;
}
a{color:inherit; text-decoration:none}
img{display:block; width:100%; height:auto}
button{font:inherit}
.shell{width:min(1180px,calc(100% - 36px)); margin:auto}
.skip-link{position:fixed; top:-100px; left:10px; background:#fff; color:#000; padding:10px 12px; border-radius:8px; z-index:1000}
.skip-link:focus{top:10px}
.site-header{
  position:fixed; inset:0 0 auto 0; z-index:50; height:74px; background:rgba(9,11,16,.72);
  backdrop-filter:blur(18px); border-bottom:1px solid transparent; transition:.2s ease;
}
.site-header.scrolled{background:rgba(9,11,16,.92); border-bottom-color:var(--line)}
.nav-row{height:100%; display:flex; align-items:center; justify-content:space-between; gap:24px}
.brand{display:inline-flex; align-items:center; gap:12px}
.brand-symbol{width:38px; height:38px; border-radius:12px; display:grid; place-items:center; background:linear-gradient(145deg,#202737,#0d1118); border:1px solid rgba(255,255,255,.14)}
.brand-symbol span{width:22px; height:22px; border-radius:8px; display:grid; place-items:center; background:linear-gradient(145deg,var(--teal),var(--lime)); color:#07100d; font-weight:900; font-size:12px}
.brand-text{display:flex; flex-direction:column; line-height:.95}
.brand-text strong{font-size:16px; font-weight:900; letter-spacing:.05em}
.brand-text small{margin-top:5px; color:#92a0b6; font-size:8px; font-weight:800; letter-spacing:.38em}
.site-nav{display:flex; align-items:center; gap:24px}
.site-nav a{font-size:14px; color:#c8d0dc; font-weight:600}
.site-nav a:hover{color:#fff}
.lang-button{border:1px solid var(--line); background:rgba(255,255,255,.04); color:#fff; padding:8px 11px; border-radius:10px; font-weight:800; font-size:11px; cursor:pointer}
.menu-button{display:none; width:42px; height:42px; border:0; background:none; padding:10px; cursor:pointer}
.menu-button span{display:block; height:2px; background:#fff; margin:7px 0; border-radius:2px}

.hero{padding:150px 0 60px; min-height:100svh; display:flex; align-items:center}
.hero-grid{display:grid; grid-template-columns:1.1fr .9fr; gap:56px; align-items:center}
.eyebrow{display:inline-block; padding:8px 12px; border-radius:999px; border:1px solid var(--line); background:rgba(255,255,255,.03); color:#bfd2d9; font-size:11px; font-weight:800; letter-spacing:.12em; text-transform:uppercase}
h1,h2,h3{margin:0; line-height:.98; letter-spacing:-.045em}
h1{font-size:clamp(52px,7vw,96px); margin-top:22px}
h2{font-size:clamp(38px,5vw,66px)}
.accent{background:linear-gradient(90deg,#fff 0,var(--violet) 36%,var(--teal) 72%,var(--lime) 100%); -webkit-background-clip:text; background-clip:text; color:transparent}
.hero-lead{margin:24px 0 0; max-width:680px; color:var(--muted); font-size:clamp(17px,1.7vw,21px); line-height:1.7}
.hero-actions,.cta-row{display:flex; gap:12px; flex-wrap:wrap; margin-top:32px}
.button{min-height:52px; padding:0 20px; border-radius:14px; border:1px solid var(--line); display:inline-flex; align-items:center; justify-content:center; font-weight:800; font-size:14px}
.button-primary{background:#f4f7fb; color:#0a0d12; border-color:#f4f7fb}
.button-primary:hover{transform:translateY(-2px)}
.button-quiet{background:rgba(255,255,255,.03)}
.button-quiet:hover{background:rgba(255,255,255,.07)}
.hero-meta{display:flex; align-items:center; gap:10px; margin-top:40px; color:#677286; font-size:10px; font-weight:900; letter-spacing:.16em}
.hero-meta i{width:4px; height:4px; border-radius:50%; background:var(--teal)}

.phone-stack{position:relative; min-height:620px}
.phone-card{
  position:absolute; overflow:hidden; border-radius:32px; border:1px solid rgba(255,255,255,.09); background:#0e1320;
  box-shadow:var(--shadow);
}
.phone-card img{width:100%; height:100%; object-fit:cover}
.phone-card.large{width:270px; height:560px; left:10px; top:10px; transform:rotate(-6deg)}
.phone-card.mid{width:250px; height:520px; right:10px; top:70px; transform:rotate(6deg)}
.phone-card.small{width:210px; height:440px; left:150px; bottom:0; transform:rotate(2deg)}

.section{padding:98px 0}
.section-heading{display:grid; grid-template-columns:1.1fr .9fr; gap:44px; align-items:end; margin-bottom:42px}
.kicker{display:block; margin-bottom:12px; color:var(--teal); font-size:11px; font-weight:900; letter-spacing:.16em; text-transform:uppercase}
.section-heading p, .product-copy p, .contact-card p{color:var(--muted); font-size:16px; line-height:1.75}
.project-grid{display:grid; grid-template-columns:1fr 1fr; gap:22px}
.project-card{
  border:1px solid var(--line); border-radius:28px; padding:16px; background:linear-gradient(155deg,rgba(255,255,255,.05),rgba(255,255,255,.018));
  box-shadow:var(--shadow);
}
.project-top{display:flex; align-items:center; justify-content:space-between; gap:12px; margin-bottom:14px}
.project-kind, .status{
  display:inline-flex; align-items:center; gap:8px; padding:7px 10px; border:1px solid rgba(255,255,255,.08); border-radius:10px;
  background:rgba(255,255,255,.03); font-size:10px; font-weight:900; letter-spacing:.12em; color:#d6dde7
}
.status{font-size:9px; color:#bdc5d3}
.status i{width:7px; height:7px; border-radius:50%; background:#ffb152}
.status.live i{background:var(--lime); box-shadow:0 0 12px rgba(184,255,79,.65)}
.project-gallery.duo{display:grid; grid-template-columns:1fr 1fr; gap:12px}
.project-gallery img{
  aspect-ratio:9/16; object-fit:cover; object-position:top center; border-radius:20px; border:1px solid rgba(255,255,255,.08); background:#0d1320
}
.project-body{padding:24px 6px 8px}
.project-body h3{font-size:34px}
.project-body p{min-height:72px}
.tags{display:flex; gap:8px; flex-wrap:wrap}
.tags span{padding:6px 9px; border-radius:999px; border:1px solid var(--line); color:#8f9cad; font-size:10px; font-weight:800}
.project-link{display:inline-flex; align-items:center; gap:10px; margin-top:20px; color:var(--teal); font-weight:800}
.project-link:hover{color:#fff}

.product-grid{display:grid; grid-template-columns:1fr 1fr; gap:40px; align-items:center}
.product-grid.reverse{grid-template-columns:1fr 1fr}
.product-section.alt{background:linear-gradient(180deg,rgba(255,255,255,.018),rgba(255,255,255,0))}
.lead{font-size:18px !important; color:#d8e0ea !important}
.feature-list{padding-left:22px; color:#c5cfdb; line-height:1.8}
.gallery-three{display:grid; grid-template-columns:repeat(2,1fr); gap:14px}
.gallery-three figure{margin:0; border:1px solid var(--line); border-radius:24px; overflow:hidden; background:rgba(255,255,255,.02)}
.gallery-three img{aspect-ratio:9/16; object-fit:cover; object-position:top center}
.gallery-three figcaption{padding:10px 12px; color:#c7d1dc; font-size:12px; font-weight:700}
.gallery-three figure:first-child:nth-last-child(3){grid-column:1}
.gallery-three figure:last-child:nth-child(3){grid-column:1 / span 2; max-width:50%; justify-self:center}

.legal-grid{display:grid; grid-template-columns:repeat(3,1fr); gap:14px}
.legal-card{
  border:1px solid var(--line); border-radius:18px; padding:20px; min-height:118px;
  background:linear-gradient(145deg,rgba(255,255,255,.04),rgba(255,255,255,.015));
  display:flex; flex-direction:column; justify-content:space-between
}
.legal-card strong{font-size:16px}
.legal-card span{color:#97a4b6; font-size:13px}
.legal-card:hover{border-color:rgba(38,228,193,.5); transform:translateY(-2px)}

.contact-card{
  display:flex; justify-content:space-between; align-items:end; gap:32px;
  border:1px solid var(--line); border-radius:28px; padding:42px; background:linear-gradient(145deg,rgba(255,255,255,.04),rgba(255,255,255,.015))
}
.email-link{display:inline-flex; color:var(--teal); font-weight:800; font-size:20px}
.mini-meta{margin-top:12px; display:flex; flex-direction:column; gap:6px; color:#95a0b1; font-size:13px}

.site-footer{padding:48px 0 40px; border-top:1px solid var(--line)}
.footer-grid{display:grid; grid-template-columns:1fr 1fr 1fr; gap:30px}
.footer-tag{margin:16px 0 0; color:#758296; font-size:10px; font-weight:900; letter-spacing:.16em}
.footer-links{display:flex; flex-direction:column; gap:10px}
.footer-links a{color:#c2ccd7; font-size:13px}
.footer-meta{display:flex; flex-direction:column; align-items:flex-end; gap:6px; color:#7e8a9d; font-size:11px}

.inner-main{padding:142px 0 86px; min-height:calc(100vh - 160px)}
.inner-card{
  max-width:930px; border:1px solid var(--line); border-radius:28px;
  padding:44px; background:linear-gradient(145deg,rgba(255,255,255,.04),rgba(255,255,255,.015))
}
.inner-card h1{font-size:clamp(44px,6vw,74px); margin:10px 0 18px}
.inner-card h2{font-size:26px; margin:34px 0 12px}
.inner-card p, .inner-card li{color:#aeb7c5; font-size:15px; line-height:1.75}
.inner-card ul{padding-left:22px}
.back-link{display:inline-flex; gap:8px; align-items:center; color:#bac5d3; font-size:12px; font-weight:800; margin-bottom:20px}
.updated{color:#738094; font-size:12px; margin-top:0}

.reveal{opacity:0; transform:translateY(16px); transition:opacity .7s ease, transform .7s ease}
.reveal.in-view{opacity:1; transform:none}
.delay-1{transition-delay:.12s}
:focus-visible{outline:2px solid var(--teal); outline-offset:3px; border-radius:8px}

@media (max-width: 1020px){
  .hero{min-height:auto}
  .hero-grid, .section-heading, .project-grid, .product-grid, .footer-grid{grid-template-columns:1fr}
  .phone-stack{min-height:560px}
  .project-grid{display:grid}
  .contact-card{flex-direction:column; align-items:flex-start}
  .footer-meta{align-items:flex-start}
  .legal-grid{grid-template-columns:1fr 1fr}
}
@media (max-width: 700px){
  .shell{width:min(1180px,calc(100% - 24px))}
  .site-header{height:68px}
  .menu-button{display:block}
  .site-nav{
    position:absolute; left:10px; right:10px; top:76px; padding:14px; border:1px solid var(--line); border-radius:18px;
    background:rgba(10,13,19,.96); display:flex; flex-direction:column; align-items:stretch; gap:5px;
    opacity:0; transform:translateY(-8px); pointer-events:none; transition:.2s
  }
  .site-nav.open{opacity:1; transform:none; pointer-events:auto}
  .site-nav a, .lang-button{padding:12px; border-radius:10px}
  .lang-button{text-align:left}
  .hero{padding-top:118px; padding-bottom:36px}
  h1{font-size:52px}
  .phone-stack{min-height:440px}
  .phone-card.large{width:185px; height:385px}
  .phone-card.mid{width:170px; height:355px; top:50px}
  .phone-card.small{width:145px; height:300px; left:90px}
  .section{padding:72px 0}
  .project-gallery.duo{grid-template-columns:1fr 1fr}
  .gallery-three{grid-template-columns:1fr 1fr}
  .legal-grid{grid-template-columns:1fr}
  .gallery-three figure:last-child:nth-child(3){grid-column:auto; max-width:none; justify-self:stretch}
  .inner-main{padding-top:116px}
  .inner-card{padding:28px}
}


/* v4 — cleaner top presentation */
.hero-grid-clean{
  grid-template-columns:1.08fr .92fr;
  gap:64px;
}
.studio-showcase{
  min-height:520px;
  border:1px solid var(--line);
  border-radius:34px;
  position:relative;
  overflow:hidden;
  background:
    radial-gradient(circle at 70% 25%,rgba(126,110,255,.18),transparent 28%),
    radial-gradient(circle at 26% 76%,rgba(38,228,193,.12),transparent 30%),
    linear-gradient(145deg,#111722,#0c1119);
  box-shadow:var(--shadow);
}
.showcase-grid{
  position:absolute;
  inset:0;
  background-image:
    linear-gradient(rgba(255,255,255,.035) 1px,transparent 1px),
    linear-gradient(90deg,rgba(255,255,255,.035) 1px,transparent 1px);
  background-size:42px 42px;
  mask-image:linear-gradient(135deg,#000 0 55%,transparent 95%);
}
.showcase-brand{
  position:absolute;
  left:50%;
  top:46%;
  transform:translate(-50%,-50%);
  display:flex;
  align-items:center;
  gap:18px;
  z-index:2;
}
.showcase-logo{
  width:108px;
  height:108px;
  border-radius:30px;
  display:grid;
  place-items:center;
  background:linear-gradient(145deg,var(--teal),var(--lime));
  color:#07100d;
  font-size:54px;
  font-weight:950;
  box-shadow:0 0 70px rgba(38,228,193,.12);
}
.showcase-brand strong{
  display:block;
  font-size:31px;
  line-height:1;
  letter-spacing:.06em;
}
.showcase-brand span{
  display:block;
  color:#8692a5;
  font-size:10px;
  font-weight:900;
  letter-spacing:.42em;
  margin-top:9px;
}
.showcase-line{
  position:absolute;
  border:1px solid rgba(255,255,255,.1);
  border-radius:50%;
  left:50%;
  top:46%;
  transform:translate(-50%,-50%);
}
.line-a{width:290px;height:290px}
.line-b{width:410px;height:410px}
.showcase-chip{
  position:absolute;
  padding:8px 11px;
  border:1px solid var(--line);
  border-radius:10px;
  background:rgba(12,16,23,.8);
  backdrop-filter:blur(8px);
  font-size:9px;
  font-weight:900;
  letter-spacing:.14em;
}
.chip-one{left:12%;top:22%}
.chip-two{right:10%;top:34%}
.chip-three{left:18%;bottom:20%}
.showcase-copy{
  position:absolute;
  left:28px;
  right:28px;
  bottom:24px;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:12px;
  color:#6d798c;
  font-size:9px;
  font-weight:900;
  letter-spacing:.16em;
}
.showcase-copy i{
  width:4px;
  height:4px;
  border-radius:50%;
  background:var(--teal);
}
.studio-intro{
  padding-top:56px;
}
.studio-pillars{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:14px;
}
.pillar{
  min-height:220px;
  border:1px solid var(--line);
  border-radius:22px;
  padding:24px;
  background:linear-gradient(145deg,rgba(255,255,255,.035),rgba(255,255,255,.012));
}
.pillar>span{
  display:block;
  color:#536074;
  font-size:11px;
  font-weight:900;
  margin-bottom:44px;
}
.pillar strong{
  display:block;
  font-size:18px;
  margin-bottom:10px;
}
.pillar p{
  margin:0;
  color:#909daf;
  font-size:13px;
  line-height:1.65;
}
.projects-overview{
  padding-top:66px;
}
.overview-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:18px;
}
.overview-card{
  min-height:220px;
  border:1px solid var(--line);
  border-radius:26px;
  padding:28px;
  display:grid;
  grid-template-columns:auto 1fr auto;
  gap:22px;
  align-items:center;
  background:linear-gradient(145deg,rgba(255,255,255,.045),rgba(255,255,255,.015));
  transition:.22s ease;
}
.overview-card:hover{
  transform:translateY(-4px);
  border-color:rgba(255,255,255,.18);
}
.overview-icon{
  width:76px;
  height:76px;
  border-radius:22px;
  display:grid;
  place-items:center;
  font-weight:950;
  font-size:24px;
  flex:0 0 auto;
}
.af-icon{
  background:linear-gradient(145deg,var(--teal),var(--teal2));
  color:#07120f;
}
.astro-icon{
  background:linear-gradient(145deg,#ffbd38,#e58b1b);
  color:#151007;
}
.overview-type{
  display:block;
  color:#758297;
  font-size:9px;
  font-weight:900;
  letter-spacing:.14em;
  margin-bottom:9px;
}
.overview-copy h3{
  font-size:32px;
}
.overview-copy p{
  margin:10px 0 0;
  color:#9ba7b8;
  font-size:14px;
  line-height:1.65;
  max-width:430px;
}
.overview-arrow{
  font-size:26px;
  color:#6c788b;
  transition:.2s;
}
.overview-card:hover .overview-arrow{
  transform:translateX(4px);
  color:#fff;
}

/* Product sections — screenshots are intentionally only here */
.product-section{
  border-top:1px solid rgba(255,255,255,.04);
}
.product-section .gallery-three{
  align-items:start;
}
.product-section .gallery-three figure{
  box-shadow:0 22px 58px rgba(0,0,0,.22);
}
.product-section .gallery-three img{
  background:#09101a;
}
#aiformnote .kicker{color:var(--teal)}
#astroquarry .kicker{color:#f4ad2f}

@media (max-width:1020px){
  .hero-grid-clean{grid-template-columns:1fr;gap:40px}
  .studio-showcase{min-height:440px}
  .studio-pillars{grid-template-columns:1fr 1fr}
  .overview-grid{grid-template-columns:1fr}
}
@media (max-width:700px){
  .studio-showcase{min-height:350px;border-radius:26px}
  .showcase-logo{width:82px;height:82px;border-radius:24px;font-size:40px}
  .showcase-brand strong{font-size:23px}
  .line-a{width:210px;height:210px}
  .line-b{width:300px;height:300px}
  .chip-one{left:7%;top:18%}
  .chip-two{right:6%;top:31%}
  .chip-three{left:10%;bottom:23%}
  .studio-pillars{grid-template-columns:1fr}
  .pillar{min-height:170px}
  .pillar>span{margin-bottom:28px}
  .overview-card{
    grid-template-columns:auto 1fr;
    min-height:190px;
    padding:22px;
  }
  .overview-arrow{
    display:none;
  }
  .overview-icon{width:62px;height:62px;border-radius:18px}
  .overview-copy h3{font-size:27px}
}


/* =========================================================
   V5 — studio-first redesign
   Inspired by clean product/game studio sites:
   strong typography, restrained navigation, project-led layout.
   ========================================================= */

.home-v5{
  --studio-bg:#080a0f;
  --studio-panel:#0d1119;
  --studio-line:rgba(255,255,255,.10);
  --studio-soft:#949eac;
  --studio-teal:#27dfc0;
  --studio-yellow:#f1b129;
  background:
    radial-gradient(circle at 78% 5%,rgba(87,74,255,.10),transparent 25%),
    radial-gradient(circle at 7% 45%,rgba(39,223,192,.055),transparent 24%),
    var(--studio-bg);
}

.home-v5 .site-header{
  background:rgba(8,10,15,.70);
}
.home-v5 .site-header.scrolled{
  background:rgba(8,10,15,.94);
}
.home-v5 .brand-text strong{
  letter-spacing:.035em;
}
.home-v5 .brand-text small{
  letter-spacing:.36em;
}

.hero-studio{
  padding:145px 0 72px;
  min-height:100svh;
  display:flex;
  align-items:center;
}
.hero-studio-grid{
  display:grid;
  grid-template-columns:1.02fr .98fr;
  gap:70px;
  align-items:center;
}
.studio-overline{
  display:block;
  color:#778295;
  font-size:10px;
  font-weight:900;
  letter-spacing:.2em;
  margin-bottom:24px;
}
.studio-title{
  margin:0;
  line-height:.83;
  letter-spacing:-.065em;
}
.studio-title>span{
  display:block;
  font-size:clamp(70px,8.5vw,128px);
  font-weight:900;
}
.studio-title>strong{
  display:block;
  font-size:clamp(70px,8.5vw,128px);
  font-weight:900;
  color:transparent;
  -webkit-text-stroke:1px rgba(255,255,255,.34);
}
.studio-tagline{
  display:flex;
  align-items:center;
  gap:13px;
  margin:27px 0 0;
  color:#f4f7fb;
  font-size:13px;
  font-weight:950;
  letter-spacing:.22em;
}
.studio-tagline i{
  width:7px;
  height:7px;
  border-radius:50%;
  background:var(--studio-teal);
  box-shadow:0 0 18px rgba(39,223,192,.55);
}
.studio-lead{
  max-width:620px;
  margin-top:24px;
  font-size:18px;
}

.studio-art{
  min-height:555px;
  position:relative;
  overflow:hidden;
  border-radius:34px;
  border:1px solid var(--studio-line);
  background:
    radial-gradient(circle at 75% 18%,rgba(125,107,255,.18),transparent 24%),
    radial-gradient(circle at 20% 80%,rgba(39,223,192,.12),transparent 24%),
    linear-gradient(145deg,#10151f,#0a0d13);
  box-shadow:0 34px 90px rgba(0,0,0,.28);
}
.art-grid{
  position:absolute;
  inset:0;
  background-image:
    linear-gradient(rgba(255,255,255,.032) 1px,transparent 1px),
    linear-gradient(90deg,rgba(255,255,255,.032) 1px,transparent 1px);
  background-size:46px 46px;
  mask-image:linear-gradient(145deg,#000 0 63%,transparent 96%);
}
.art-number{
  position:absolute;
  right:-9px;
  top:17px;
  font-size:clamp(92px,11vw,156px);
  font-weight:950;
  letter-spacing:-.09em;
  color:rgba(255,255,255,.025);
}
.art-center{
  position:absolute;
  left:50%;
  top:48%;
  transform:translate(-50%,-50%);
}
.art-center-mark{
  width:128px;
  height:128px;
  display:grid;
  place-items:center;
  border-radius:36px;
  background:linear-gradient(145deg,var(--studio-teal),#b6ff55);
  color:#07110e;
  font-size:62px;
  font-weight:950;
  transform:rotate(7deg);
  box-shadow:0 0 0 18px rgba(255,255,255,.025),0 0 80px rgba(39,223,192,.13);
}
.art-block{
  position:absolute;
  min-width:145px;
  padding:16px 17px;
  border:1px solid var(--studio-line);
  border-radius:16px;
  background:rgba(11,14,21,.72);
  backdrop-filter:blur(14px);
}
.art-block span{
  display:block;
  color:#606c80;
  font-size:9px;
  font-weight:900;
}
.art-block strong{
  display:block;
  margin-top:8px;
  font-size:20px;
}
.art-block small{
  display:block;
  margin-top:2px;
  color:#6f7a8b;
  font-size:7px;
  letter-spacing:.1em;
}
.art-apps{left:8%;top:16%}
.art-games{right:7%;bottom:19%}
.art-footer{
  position:absolute;
  left:24px;
  right:24px;
  bottom:23px;
  display:flex;
  justify-content:center;
  align-items:center;
  gap:11px;
  color:#657185;
  font-size:8px;
  font-weight:900;
  letter-spacing:.18em;
}
.art-footer i{
  width:4px;height:4px;border-radius:50%;background:var(--studio-teal);
}

.studio-strip{
  border-top:1px solid var(--studio-line);
  border-bottom:1px solid var(--studio-line);
  overflow:hidden;
  white-space:nowrap;
}
.strip-track{
  min-height:58px;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:24px;
  color:#798598;
  font-size:9px;
  font-weight:900;
  letter-spacing:.16em;
}
.strip-track i{
  width:4px;height:4px;border-radius:50%;background:#384355;
}

.work-section{
  padding-top:112px;
}
.work-list{
  border-top:1px solid var(--studio-line);
}
.work-row{
  display:grid;
  grid-template-columns:80px 1fr 1.2fr 40px;
  gap:25px;
  align-items:center;
  min-height:150px;
  border-bottom:1px solid var(--studio-line);
  transition:.22s ease;
}
.work-row:hover{
  padding-left:10px;
}
.work-index{
  color:#536075;
  font-size:11px;
  font-weight:900;
}
.work-name small{
  display:block;
  color:#687589;
  font-size:9px;
  font-weight:900;
  letter-spacing:.14em;
  margin-bottom:5px;
}
.work-name strong{
  font-size:32px;
  letter-spacing:-.035em;
}
.work-row p{
  margin:0;
  color:#8d99aa;
  font-size:14px;
  line-height:1.65;
  max-width:450px;
}
.work-arrow{
  font-size:24px;
  color:#5d697b;
  transition:.2s;
}
.work-row:hover .work-arrow{
  color:#fff;
  transform:translate(3px,3px);
}

.studio-section{
  border-top:1px solid rgba(255,255,255,.035);
}
.studio-layout{
  display:grid;
  grid-template-columns:.85fr 1.15fr;
  gap:90px;
}
.studio-story{
  max-width:680px;
}
.studio-story-lead{
  margin:0;
  color:#e2e7ee;
  font-size:clamp(21px,2vw,27px);
  line-height:1.5;
}
.studio-story>p:not(.studio-story-lead){
  color:#929dad;
  font-size:15px;
  line-height:1.75;
  margin-top:25px;
}
.studio-stats{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  margin-top:42px;
  border-top:1px solid var(--studio-line);
  border-left:1px solid var(--studio-line);
}
.studio-stats>div{
  min-height:120px;
  padding:18px;
  border-right:1px solid var(--studio-line);
  border-bottom:1px solid var(--studio-line);
}
.studio-stats strong{
  display:block;
  font-size:32px;
  letter-spacing:-.05em;
}
.studio-stats span{
  display:block;
  margin-top:20px;
  color:#6f7b8d;
  font-size:10px;
}

.product-detail{
  border-top:1px solid rgba(255,255,255,.045);
}
.product-dark{
  background:linear-gradient(180deg,rgba(255,255,255,.015),rgba(255,255,255,0));
}
.product-heading{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:70px;
  align-items:end;
  margin-bottom:42px;
}
.product-index{
  display:block;
  color:#69768a;
  font-size:10px;
  font-weight:900;
  letter-spacing:.16em;
  margin-bottom:12px;
}
.product-heading h2{
  font-size:clamp(54px,6vw,84px);
}
.product-intro p{
  margin:0;
  color:#a0abb9;
  font-size:16px;
  line-height:1.75;
  max-width:560px;
}
.product-intro .tags{
  margin-top:20px;
}
.product-intro .cta-row{
  margin-top:24px;
}

.screenshot-gallery{
  display:grid;
  gap:14px;
  width:100%;
}
.app-gallery{
  grid-template-columns:repeat(4,minmax(0,1fr));
}
.game-gallery{
  grid-template-columns:repeat(3,minmax(0,1fr));
}
.screenshot-gallery figure{
  margin:0;
  min-width:0;
  border:1px solid var(--studio-line);
  border-radius:24px;
  overflow:hidden;
  background:#0c111a;
  box-shadow:0 22px 52px rgba(0,0,0,.20);
}
.screenshot-gallery img{
  width:100%;
  aspect-ratio:9/18;
  object-fit:cover;
  object-position:top center;
  background:#09101a;
}
.screenshot-gallery figcaption{
  min-height:46px;
  padding:12px 14px;
  display:flex;
  align-items:center;
  gap:10px;
  border-top:1px solid var(--studio-line);
  color:#ccd3dd;
  font-size:11px;
  font-weight:800;
}
.screenshot-gallery figcaption span{
  color:#536074;
  font-size:9px;
}

.contact-clean{
  max-width:860px;
}
.contact-clean h2{
  margin-top:0;
}
.contact-clean>p{
  color:#8f9cad;
  margin:16px 0 30px;
}
.contact-mail{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:30px;
  padding:18px 0;
  border-top:1px solid var(--studio-line);
  border-bottom:1px solid var(--studio-line);
  font-size:clamp(22px,3vw,36px);
  font-weight:800;
  letter-spacing:-.035em;
}
.contact-mail span{
  color:var(--studio-teal);
  font-size:23px;
}

.legal-footer{
  padding:44px 0 28px;
  border-top:1px solid var(--studio-line);
}
.footer-top{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:40px;
}
.legal-footer .footer-links{
  display:flex;
  flex-direction:row;
  flex-wrap:wrap;
  justify-content:flex-end;
  gap:18px;
}
.legal-footer .footer-links a{
  color:#8e99a9;
  font-size:11px;
}
.legal-line{
  margin-top:36px;
  padding-top:18px;
  border-top:1px solid rgba(255,255,255,.065);
  display:flex;
  flex-wrap:wrap;
  gap:8px 22px;
  color:#5f6b7d;
  font-size:9px;
  line-height:1.6;
}

@media (max-width:1020px){
  .hero-studio-grid{
    grid-template-columns:1fr;
    gap:44px;
  }
  .studio-art{
    min-height:430px;
  }
  .work-row{
    grid-template-columns:60px 1fr 40px;
  }
  .work-row p{
    grid-column:2/3;
    padding-bottom:22px;
  }
  .work-arrow{
    grid-column:3;
    grid-row:1/3;
  }
  .studio-layout,
  .product-heading{
    grid-template-columns:1fr;
    gap:35px;
  }
  .app-gallery{
    grid-template-columns:repeat(2,1fr);
  }
  .game-gallery{
    grid-template-columns:repeat(3,1fr);
  }
}

@media (max-width:700px){
  .hero-studio{
    padding-top:112px;
    min-height:auto;
  }
  .studio-title>span,
  .studio-title>strong{
    font-size:clamp(58px,19vw,88px);
  }
  .studio-art{
    min-height:335px;
    border-radius:25px;
  }
  .art-center-mark{
    width:86px;height:86px;border-radius:25px;font-size:42px;
  }
  .art-block{
    min-width:115px;
    padding:12px;
  }
  .art-block strong{
    font-size:16px;
  }
  .art-apps{left:5%;top:13%}
  .art-games{right:5%;bottom:19%}
  .strip-track{
    justify-content:flex-start;
    padding-left:18px;
    gap:18px;
    overflow:hidden;
  }
  .work-row{
    grid-template-columns:42px 1fr 28px;
    gap:13px;
    min-height:142px;
  }
  .work-name strong{
    font-size:26px;
  }
  .work-row p{
    font-size:12px;
  }
  .studio-stats{
    grid-template-columns:1fr;
  }

  /* gallery is one clean horizontal row on mobile */
  .app-gallery,
  .game-gallery{
    display:flex;
    gap:12px;
    overflow-x:auto;
    scroll-snap-type:x mandatory;
    padding-bottom:9px;
    scrollbar-width:thin;
  }
  .screenshot-gallery figure{
    flex:0 0 72vw;
    max-width:280px;
    scroll-snap-align:start;
  }
  .screenshot-gallery img{
    aspect-ratio:9/18;
  }
  .product-heading h2{
    font-size:52px;
  }
  .contact-mail{
    font-size:20px;
    word-break:break-word;
  }
  .footer-top{
    flex-direction:column;
  }
  .legal-footer .footer-links{
    justify-content:flex-start;
  }
}


/* V7 product subpages */
.product-page-v7 .site-header{position:fixed}
.product-page-hero{
  padding:150px 0 86px;
  min-height:88svh;
  display:flex;
  align-items:center;
}
.product-page-hero-grid{
  display:grid;
  grid-template-columns:1.05fr .95fr;
  gap:68px;
  align-items:center;
}
.astro-title{
  font-size:clamp(66px,8vw,118px);
  letter-spacing:-.065em;
}
.astro-subtitle{
  margin:18px 0 0;
  color:#f0b131;
  font-size:clamp(18px,2vw,27px);
  font-weight:900;
  text-transform:uppercase;
  letter-spacing:.05em;
}
.astro-hero-card{
  min-height:520px;
  position:relative;
  overflow:hidden;
  border:1px solid rgba(255,255,255,.10);
  border-radius:34px;
  background:
    radial-gradient(circle at 50% 46%,rgba(235,167,28,.12),transparent 25%),
    radial-gradient(circle at 80% 15%,rgba(122,92,255,.13),transparent 28%),
    linear-gradient(145deg,#14121b,#090c12);
  box-shadow:0 34px 90px rgba(0,0,0,.28);
}
.astro-orbit{
  position:absolute;
  left:50%;
  top:48%;
  transform:translate(-50%,-50%);
  border:1px solid rgba(255,255,255,.08);
  border-radius:50%;
}
.orbit-one{width:255px;height:255px}
.orbit-two{width:390px;height:390px}
.astro-pickaxe{
  position:absolute;
  left:50%;
  top:35%;
  transform:translate(-50%,-50%);
  font-size:88px;
  filter:drop-shadow(0 20px 30px rgba(0,0,0,.3));
}
.astro-word{
  position:absolute;
  left:50%;
  top:53%;
  transform:translateX(-50%);
  font-size:58px;
  font-weight:950;
  letter-spacing:-.06em;
}
.astro-word.quarry{
  top:64%;
  color:#f0b131;
}
.astro-chips{
  position:absolute;
  left:20px;
  right:20px;
  bottom:22px;
  display:flex;
  justify-content:center;
  gap:8px;
}
.astro-chips span{
  padding:7px 10px;
  border:1px solid rgba(255,255,255,.10);
  border-radius:999px;
  background:rgba(255,255,255,.025);
  color:#798599;
  font-size:8px;
  font-weight:900;
  letter-spacing:.14em;
}
.astro-gallery-v7{
  max-width:930px;
  margin-inline:auto;
}
.astro-features{
  border-top:1px solid rgba(255,255,255,.045);
}
@media (max-width:1020px){
  .product-page-hero-grid{grid-template-columns:1fr}
  .astro-hero-card{min-height:430px}
}
@media (max-width:700px){
  .product-page-hero{padding-top:116px;min-height:auto}
  .astro-hero-card{min-height:340px;border-radius:25px}
  .astro-pickaxe{font-size:62px}
  .astro-word{font-size:42px}
}


/* V8 product galleries + Astro core loop */
.product-gallery-section{border-top:1px solid rgba(255,255,255,.04);padding-top:96px}
.home-product-gallery{margin-top:48px;padding-top:28px;border-top:1px solid var(--studio-line)}
.home-product-gallery+.home-product-gallery{margin-top:72px}
.home-gallery-head{display:flex;align-items:end;justify-content:space-between;gap:24px;margin-bottom:22px}
.home-gallery-head small{display:block;color:#657185;font-size:9px;font-weight:900;letter-spacing:.15em;margin-bottom:7px}
.home-gallery-head h3{margin:0;font-size:clamp(30px,4vw,48px);letter-spacing:-.045em}
.home-gallery-head>a{color:#9ba6b6;font-size:12px;font-weight:800;border-bottom:1px solid rgba(255,255,255,.14);padding-bottom:4px}
.home-gallery-head>a:hover{color:#fff}
.astro-loop-section{border-top:1px solid rgba(255,255,255,.045)}
.astro-loop-grid{display:grid;grid-template-columns:repeat(4,1fr);border-top:1px solid var(--studio-line);border-left:1px solid var(--studio-line);margin-top:42px}
.astro-loop-grid article{min-height:190px;padding:24px;border-right:1px solid var(--studio-line);border-bottom:1px solid var(--studio-line)}
.astro-loop-grid span{display:block;color:#657185;font-size:10px;font-weight:900;letter-spacing:.14em}
.astro-loop-grid strong{display:block;margin-top:42px;font-size:18px;letter-spacing:.05em}
.astro-loop-grid p{margin:12px 0 0;color:#8e99aa;font-size:13px;line-height:1.6}
.fair-play-card{display:grid;grid-template-columns:.9fr 1.1fr;gap:60px;margin-top:54px;padding:34px;border:1px solid rgba(240,177,49,.22);border-radius:28px;background:linear-gradient(135deg,rgba(240,177,49,.06),rgba(255,255,255,.018))}
.fair-play-card h3{font-size:clamp(27px,3vw,40px);line-height:1.08;margin:8px 0 0;letter-spacing:-.04em}
.fair-play-card ul{margin:0;padding-left:20px;color:#aab3bf;line-height:1.75}
.legal-divider{border:0;border-top:1px solid var(--studio-line);margin:40px 0}
@media(max-width:1020px){.astro-loop-grid{grid-template-columns:repeat(2,1fr)}.fair-play-card{grid-template-columns:1fr;gap:28px}}
@media(max-width:700px){.product-gallery-section{padding-top:72px}.home-gallery-head{align-items:flex-start;flex-direction:column}.home-product-gallery+.home-product-gallery{margin-top:56px}.astro-loop-grid{grid-template-columns:1fr}.astro-loop-grid article{min-height:150px}.astro-loop-grid strong{margin-top:24px}.fair-play-card{padding:24px;border-radius:22px}}

.home-gallery-actions{display:flex;align-items:center;justify-content:flex-end;gap:18px;flex-wrap:wrap}
.home-gallery-actions a{color:#9ba6b6;font-size:12px;font-weight:800;border-bottom:1px solid rgba(255,255,255,.14);padding-bottom:4px;text-decoration:none}
.home-gallery-actions a:hover{color:#fff}
@media(max-width:700px){.home-gallery-actions{justify-content:flex-start;gap:14px}}
