/* Единый визуальный слой внутренних страниц Unreal Forge Games. */

body.subpage{
  --display:'Sora',sans-serif;
  --body:'Inter',sans-serif;
  --mono:'Inter',sans-serif;
  --brand-cyan:#00e5cc;
  --brand-aqua:#7fffd4;
  --brand-ember:#ff8a3d;
  --brand-obsidian:#0a0e10;
  --brand-graphite:#1a2328;
  --brand-steel:#2b3a42;
  font-family:var(--body);
  background:
    radial-gradient(circle at 14% 8%, rgba(0,229,204,.065), transparent 28rem),
    radial-gradient(circle at 88% 42%, rgba(255,138,61,.035), transparent 24rem),
    var(--brand-obsidian);
}
body.subpage h1,body.subpage h2,body.subpage h3,body.subpage h4,body.subpage .brand-text{font-family:var(--display);letter-spacing:-.025em;text-transform:none}
body.subpage .eyebrow,body.subpage .nav-links a,body.subpage .nav-cta,body.subpage .btn,body.subpage .breadcrumb{font-family:var(--body)}
body.subpage main{position:relative; isolation:isolate;}
body.subpage main::before{
  content:"";
  position:fixed;
  inset:0;
  pointer-events:none;
  z-index:-1;
  opacity:.22;
  background-image:
    linear-gradient(rgba(127,255,212,.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(127,255,212,.045) 1px, transparent 1px);
  background-size:64px 64px;
  -webkit-mask-image:linear-gradient(to bottom, transparent, #000 18%, #000 82%, transparent);
  mask-image:linear-gradient(to bottom, transparent, #000 18%, #000 82%, transparent);
}
body.subpage header{background:linear-gradient(180deg, rgba(10,14,16,.96), rgba(10,14,16,.84));box-shadow:0 14px 42px rgba(0,0,0,.18);}
body.subpage .brand img,body.subpage .footer-brand img{filter:drop-shadow(0 0 12px rgba(0,229,204,.25));}
body.subpage .brand-text span,body.subpage .nav-links a.active,body.subpage .eyebrow{color:var(--brand-cyan)}
body.subpage .nav-cta{border-color:rgba(0,229,204,.7);color:var(--brand-cyan)}
body.subpage .nav-cta:hover{background:var(--brand-cyan);color:#031311}
body.subpage .page-head{min-height:440px;display:flex;align-items:flex-end;padding:168px 0 78px;background:radial-gradient(ellipse at 18% 12%, rgba(0,229,204,.14), transparent 43%),radial-gradient(ellipse at 86% 22%, rgba(255,138,61,.055), transparent 36%),linear-gradient(180deg, #070b0d 0%, #0b1417 68%, #0a0e10 100%);}
body.subpage .page-head::after{content:"";position:absolute;left:0; right:0; bottom:0;height:1px;background:linear-gradient(90deg, transparent, rgba(0,229,204,.72), transparent);box-shadow:0 0 24px rgba(0,229,204,.18);}
body.subpage .page-head .wrap{width:100%;}
body.subpage .page-head h1{max-width:900px;text-wrap:balance;font-size:clamp(44px,6vw,78px);line-height:1.02}
body.subpage .page-head h1 span{color:var(--brand-cyan);text-shadow:0 0 32px rgba(0,229,204,.12)}
body.subpage .page-head .lead{max-width:700px;color:#aebcc3;font-size:18px}
body.subpage .page-head .hero-grid{opacity:.36;}
body.subpage .page-head .gear-ring{opacity:.72;}
body.subpage .breadcrumb{width:max-content;max-width:100%;padding:7px 10px;border:1px solid rgba(127,255,212,.12);background:rgba(10,14,16,.42);backdrop-filter:blur(6px);color:#a9b8bd;}
body.subpage section:not(.page-head):not(.cta-banner){position:relative;}
body.subpage section:not(.page-head):not(.cta-banner) > .wrap{padding-top:78px; padding-bottom:78px;}
body.subpage .section-intro-row{display:grid;grid-template-columns:minmax(0,.8fr) minmax(300px,.6fr);gap:60px;align-items:end;margin-bottom:34px}
body.subpage .section-intro-row p{color:#9dabb1;max-width:620px;justify-self:end}
body.subpage .product-card,body.subpage .project-card,body.subpage .news-card,body.subpage .value,body.subpage .contact-form,body.subpage .contact-info,body.subpage .account-card,body.subpage .admin-card{position:relative;overflow:hidden;background:linear-gradient(145deg, rgba(26,35,40,.96), rgba(10,14,16,.96));border-color:rgba(127,255,212,.16);box-shadow:0 18px 54px rgba(0,0,0,.16);}
body.subpage .product-card::before,body.subpage .project-card::before,body.subpage .news-card::before,body.subpage .value::before,body.subpage .account-card::before,body.subpage .admin-card::before{content:"";position:absolute;top:0; left:0;width:62px; height:1px;background:var(--brand-cyan);box-shadow:0 0 14px rgba(0,229,204,.45);z-index:3;}
body.subpage .product-card:hover,body.subpage .project-card:hover,body.subpage .news-card:hover,body.subpage .value:hover{border-color:rgba(0,229,204,.48);box-shadow:0 22px 62px rgba(0,0,0,.26),0 0 28px rgba(0,229,204,.06);}
body.subpage .btn-primary{background:linear-gradient(120deg,var(--brand-aqua),var(--brand-cyan));color:#04211d;border-color:var(--brand-aqua);box-shadow:0 0 26px rgba(0,229,204,.14)}
body.subpage .btn-primary:hover{box-shadow:0 0 30px rgba(0,229,204,.3)}
body.subpage .btn-ghost{background:rgba(10,14,16,.44);border-color:rgba(127,255,212,.2)}

/* Проекты. */
.projects-page .project-page-head{min-height:650px;align-items:center;padding-top:150px;overflow:hidden}
.projects-page .project-head-layout{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(320px,.75fr);gap:68px;align-items:center}
.projects-page .project-head-copy .eyebrow{margin-top:20px}
.projects-page .project-head-actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:32px}
.projects-page .project-head-glow{position:absolute;width:620px;height:620px;border:1px solid rgba(0,229,204,.08);border-radius:50%;right:-180px;top:60px;box-shadow:inset 0 0 80px rgba(0,229,204,.025);opacity:.8}
.projects-page .project-head-glow::before,.projects-page .project-head-glow::after{content:"";position:absolute;border:1px dashed rgba(127,255,212,.08);border-radius:50%;inset:70px}
.projects-page .project-head-glow::after{inset:150px;border-style:solid}
.projects-page .project-signal{position:relative;padding:28px;border:1px solid rgba(127,255,212,.18);background:linear-gradient(145deg,rgba(26,35,40,.74),rgba(8,13,15,.78));backdrop-filter:blur(10px);box-shadow:0 24px 60px rgba(0,0,0,.28)}
.projects-page .project-signal::after{content:"";position:absolute;right:-1px;top:-1px;width:78px;height:1px;background:var(--brand-ember);box-shadow:0 0 14px rgba(255,138,61,.35)}
.projects-page .project-signal-top{display:flex;align-items:center;gap:10px;color:#9fb0b6;font-size:13px;text-transform:uppercase;letter-spacing:.08em}
.projects-page .signal-dot{width:8px;height:8px;border-radius:50%;background:var(--brand-cyan);box-shadow:0 0 12px rgba(0,229,204,.8)}
.projects-page .project-signal>strong{display:block;font-family:var(--display);font-size:34px;margin:20px 0 26px}
.projects-page .project-signal-grid{display:grid;grid-template-columns:1fr 1fr;gap:1px;background:rgba(127,255,212,.1);border:1px solid rgba(127,255,212,.1)}
.projects-page .project-signal-grid span{display:flex;flex-direction:column;gap:5px;padding:16px;background:#0d1417;font-size:14px}
.projects-page .project-signal-grid small{color:#72838a;text-transform:uppercase;letter-spacing:.07em;font-size:10px}
.projects-page .projects-catalog-section{background:linear-gradient(180deg,rgba(10,14,16,.3),rgba(16,24,28,.55))}
.projects-page .portfolio-grid{grid-template-columns:minmax(0,1fr)}
.projects-page .project-card{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(320px,.85fr);min-height:420px}
.projects-page .project-card .project-art{min-height:420px}
.projects-page .project-card .project-body{display:flex;flex-direction:column;justify-content:center;padding:48px}
.projects-page .project-card .project-body h3{font-size:clamp(34px,4vw,54px);margin:16px 0 12px}
.projects-page .project-philosophy{border-top:1px solid rgba(127,255,212,.08)}
.projects-page .project-philosophy-grid{display:grid;grid-template-columns:.75fr 1.25fr;gap:72px}
.projects-page .project-principles{display:grid;grid-template-columns:repeat(3,1fr);gap:1px;background:rgba(127,255,212,.09);border:1px solid rgba(127,255,212,.09)}
.projects-page .project-principles article{padding:28px;background:#0d1417;min-height:230px}
.projects-page .project-principles article>span{color:var(--brand-ember);font-size:12px;letter-spacing:.08em}
.projects-page .project-principles h3{font-size:20px;margin:38px 0 12px}
.projects-page .project-principles p{color:#92a1a8;font-size:14px}

/* О студии. */
.about-page .about-page-head{min-height:610px;align-items:center;padding-top:150px;overflow:hidden}
.about-page .about-page-head::before{content:"";position:absolute;width:760px;height:760px;right:-300px;top:-110px;border:1px solid rgba(0,229,204,.06);border-radius:50%;box-shadow:inset 0 0 120px rgba(0,229,204,.018)}
.about-page .about-manifest{background:linear-gradient(180deg,rgba(10,14,16,.25),rgba(18,27,31,.42))}
.about-page .about-manifest .section-intro-row>div:last-child{display:grid;gap:18px}
.about-page .about-pillars{border-top:1px solid rgba(127,255,212,.08)}
.about-page .about-principles{display:grid;grid-template-columns:repeat(3,1fr);gap:1px;margin-top:28px;background:rgba(127,255,212,.09);border:1px solid rgba(127,255,212,.09)}
.about-page .about-principles article{padding:30px;background:#0d1417;min-height:260px}
.about-page .about-principles article>span{font-size:11px;color:var(--brand-ember);letter-spacing:.1em}
.about-page .about-principles h3{font-size:22px;margin:46px 0 14px}
.about-page .about-principles p{color:#91a1a7;font-size:14px}
.about-page .about-process{background:radial-gradient(circle at 80% 30%,rgba(0,229,204,.045),transparent 32rem),#0a0e10}
.about-page .about-process-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:1px;background:rgba(127,255,212,.08);border:1px solid rgba(127,255,212,.08)}
.about-page .about-process-grid article{padding:28px;background:linear-gradient(180deg,#0f171b,#0b1114);min-height:260px}
.about-page .about-process-grid b{display:inline-flex;width:38px;height:38px;align-items:center;justify-content:center;border:1px solid rgba(0,229,204,.25);color:var(--brand-cyan);font-size:11px}
.about-page .about-process-grid h3{font-size:20px;margin:34px 0 12px}
.about-page .about-process-grid p{color:#91a1a7;font-size:14px}

body.subpage .cta-banner{position:relative;overflow:hidden;background:radial-gradient(ellipse at 50% 0%,rgba(0,229,204,.11),transparent 58%),linear-gradient(180deg,#0b1417,#0a0e10);border-top:1px solid rgba(0,229,204,.16);border-bottom:1px solid rgba(127,255,212,.09);}
body.subpage .cta-banner::before{content:"";position:absolute;inset:0;pointer-events:none;background-image:linear-gradient(90deg,transparent 49.9%,rgba(0,229,204,.07) 50%,transparent 50.1%)}
body.subpage footer{background:#070a0b;border-top:1px solid rgba(127,255,212,.1)}

@media (max-width:980px){
  .projects-page .project-head-layout{grid-template-columns:1fr;gap:36px}.projects-page .project-signal{max-width:680px}.projects-page .project-card{grid-template-columns:1fr}.projects-page .project-card .project-art{min-height:340px}.projects-page .project-philosophy-grid{grid-template-columns:1fr;gap:36px}
  body.subpage .section-intro-row{grid-template-columns:1fr;gap:18px}body.subpage .section-intro-row p{justify-self:start}
  .about-page .about-principles{grid-template-columns:1fr}.about-page .about-principles article{min-height:auto}.about-page .about-process-grid{grid-template-columns:1fr 1fr}
}
@media (max-width:760px){
  body.subpage .page-head{min-height:390px;padding:142px 0 58px}body.subpage .page-head h1{font-size:clamp(36px,11vw,54px)}body.subpage .page-head .lead{font-size:16px}body.subpage section:not(.page-head):not(.cta-banner) > .wrap{padding-top:56px;padding-bottom:56px}body.subpage main::before{background-size:42px 42px;opacity:.15}
  .projects-page .project-page-head{min-height:0;padding-top:132px;padding-bottom:64px}.projects-page .project-head-actions{flex-direction:column;align-items:stretch}.projects-page .project-head-actions .btn{width:100%}.projects-page .project-signal-grid{grid-template-columns:1fr}.projects-page .project-card .project-art{min-height:260px}.projects-page .project-card .project-body{padding:28px}.projects-page .project-principles{grid-template-columns:1fr}.projects-page .project-principles article{min-height:auto}.projects-page .project-head-glow{right:-380px;top:110px}
  .about-page .about-page-head{min-height:0;padding-top:132px;padding-bottom:64px}.about-page .about-process-grid{grid-template-columns:1fr}.about-page .about-process-grid article{min-height:auto}.about-page .about-page-head::before{right:-540px;top:-40px}
}
@media (max-width:480px){body.subpage .breadcrumb{font-size:10px;letter-spacing:.035em}body.subpage .page-head{min-height:360px}.projects-page .project-signal{padding:20px}.projects-page .project-signal>strong{font-size:28px}}
@media (prefers-reduced-motion:reduce){body.subpage .product-card,body.subpage .project-card,body.subpage .news-card,body.subpage .value{transform:none!important}}


/* Единый фирменный блок в подвале публичных внутренних страниц. */
body.subpage.shop-page .footer-brand,
body.subpage.contact-page .footer-brand,
body.subpage.account-page .footer-brand{
  position:relative;
  display:flex;
  align-items:center;
  width:190px;
  min-width:190px;
  min-height:52px;
  gap:0;
  font-size:0;
}
@media(max-width:600px){
  body.subpage.shop-page .footer-brand,
  body.subpage.contact-page .footer-brand,
  body.subpage.account-page .footer-brand{
    width:30px;
    min-width:30px;
    min-height:30px;
  }
}
