Files
COSMOS/templates/git.html
T

1259 lines
36 KiB
HTML

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Forge — Sovereign Git Version Control · Cosmos</title>
<meta name="description" content="Self-hosted Git infrastructure engineered for teams that can't afford exposure. Full isolation, zero third-party dependency.">
<link rel="icon" href='data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32"><circle cx="16" cy="16" r="6" fill="%23eef3f8"/><ellipse cx="16" cy="16" rx="14" ry="5.5" fill="none" stroke="%23ffab4d" stroke-width="1.5" transform="rotate(-24 16 16)"/></svg>'>
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Instrument+Serif:ital@1&family=JetBrains+Mono:wght@300;400;500;600&family=Space+Grotesk:wght@400;500;600;700&display=swap" rel="stylesheet">
<script src="/three.min.js"></script>
<script>
if (typeof THREE === 'undefined') {
document.write('<script src="https://cdnjs.cloudflare.com/ajax/libs/three.js/r128/three.min.js"><\/script>');
}
</script>
<style>
:root {
--bg: #020308;
--ink: #eef3f8;
--dim: rgba(226, 234, 242, 0.62);
--faint: rgba(226, 234, 242, 0.32);
--line: rgba(226, 234, 242, 0.08);
--line-bright: rgba(226, 234, 242, 0.2);
--ok: #43e5a0;
--ac: 255, 171, 77;
--ac-hex: #ffab4d;
--mono: 'JetBrains Mono', ui-monospace, monospace;
--disp: 'Space Grotesk', sans-serif;
--serif: 'Instrument Serif', serif;
--pad: clamp(24px, 5vw, 84px);
--ez: cubic-bezier(0.16, 1, 0.3, 1);
--rim-angle: 0deg;
}
*, *::before, *::after {
box-sizing: border-box;
margin: 0;
padding: 0;
}
html {
scroll-behavior: smooth;
background: var(--bg);
color: var(--ink);
}
body {
font-family: var(--disp);
background: var(--bg);
color: var(--ink);
overflow-x: hidden;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
animation: bootIn 1s var(--ez) both;
perspective: 1200px;
}
@keyframes bootIn {
from { opacity: 0; }
to { opacity: 1; }
}
::selection {
background: rgba(var(--ac), 0.35);
color: #fff;
}
::-webkit-scrollbar {
width: 9px;
}
::-webkit-scrollbar-track {
background: var(--bg);
}
::-webkit-scrollbar-thumb {
background: #1e1712;
border: 2px solid var(--bg);
border-radius: 6px;
}
a:focus-visible, button:focus-visible {
outline: 2px solid rgba(var(--ac), 0.7);
outline-offset: 4px;
border-radius: 4px;
}
/* Depth Layers */
#sky {
position: fixed;
inset: 0;
z-index: 0;
pointer-events: none;
width: 100vw;
height: 100vh;
}
.grain {
position: fixed;
inset: -10%;
width: 120%;
height: 120%;
z-index: 2;
pointer-events: none;
opacity: 0.045;
background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
background-size: 180px 180px;
animation: grain 1s steps(4) infinite;
}
@keyframes grain {
0%, 100% { transform: translate(0, 0); }
25% { transform: translate(-1.2%, 1%); }
50% { transform: translate(1%, -1.2%); }
75% { transform: translate(-0.8%, -0.8%); }
}
.vig {
position: fixed;
inset: 0;
z-index: 2;
pointer-events: none;
background: radial-gradient(ellipse at 50% 45%, transparent 45%, rgba(1, 2, 7, 0.7) 100%);
}
/* Custom Cursor */
.cur {
position: fixed;
top: 0;
left: 0;
z-index: 9999;
pointer-events: none;
opacity: 0;
transition: opacity 0.3s ease;
will-change: transform;
}
body.cur-vis .cur { opacity: 1; }
#curDot {
width: 5px;
height: 5px;
margin: -2.5px 0 0 -2.5px;
border-radius: 50%;
background: var(--ink);
box-shadow: 0 0 8px rgba(255, 255, 255, 0.8);
}
#curRing {
width: 38px;
height: 38px;
margin: -19px 0 0 -19px;
border-radius: 50%;
border: 1px solid rgba(238, 243, 248, 0.45);
display: flex;
align-items: center;
justify-content: center;
transition: width 0.35s var(--ez), height 0.35s var(--ez), margin 0.35s var(--ez), border-color 0.3s, background 0.3s;
}
#curRing span {
font-family: var(--mono);
font-size: 8px;
font-weight: 600;
letter-spacing: 0.28em;
text-indent: 0.28em;
color: #fff;
opacity: 0;
transition: opacity 0.25s;
}
#curRing.act {
width: 56px;
height: 56px;
margin: -28px 0 0 -28px;
border-color: rgba(255, 255, 255, 0.85);
background: rgba(255, 255, 255, 0.04);
}
#curRing.drag {
width: 76px;
height: 76px;
margin: -38px 0 0 -38px;
border-color: rgba(var(--ac), 0.95);
background: rgba(var(--ac), 0.08);
box-shadow: 0 0 24px rgba(var(--ac), 0.25);
}
#curRing.drag span { opacity: 1; }
body.has-cur, body.has-cur a, body.has-cur button, body.has-cur canvas { cursor: none; }
/* Navigation */
nav {
position: fixed;
top: 0;
left: 0;
right: 0;
z-index: 100;
height: 72px;
display: flex;
align-items: center;
justify-content: space-between;
padding: 0 var(--pad);
background: rgba(2, 3, 8, 0.48);
backdrop-filter: blur(20px) saturate(160%);
-webkit-backdrop-filter: blur(20px) saturate(160%);
border-bottom: 1px solid rgba(226, 234, 242, 0.07);
transition: background 0.4s ease, border-color 0.4s ease, height 0.4s ease;
}
nav.scrolled {
height: 64px;
background: rgba(2, 3, 8, 0.88);
border-bottom-color: rgba(226, 234, 242, 0.12);
box-shadow: 0 12px 36px rgba(0, 0, 0, 0.45);
}
.logo {
display: flex;
align-items: center;
gap: 12px;
text-decoration: none;
color: var(--ink);
font-size: 17px;
font-weight: 600;
letter-spacing: -0.025em;
}
.mark-wrapper {
position: relative;
width: 32px;
height: 32px;
display: flex;
align-items: center;
justify-content: center;
}
.mark {
width: 100%;
height: 100%;
flex: none;
animation: markSpin 20s linear infinite;
}
@keyframes markSpin { to { transform: rotate(360deg); } }
.nav-links { display: flex; gap: 40px; }
.nav-links a {
position: relative;
text-decoration: none;
color: var(--dim);
font-size: 13.5px;
font-weight: 500;
letter-spacing: 0.01em;
padding: 6px 0;
transition: color 0.3s;
}
.nav-links a i {
font-style: normal;
font-family: var(--mono);
font-size: 8.5px;
color: rgba(226, 234, 242, 0.32);
margin-right: 7px;
vertical-align: 2px;
letter-spacing: 0.12em;
}
.nav-links a::after {
content: '';
position: absolute;
left: 0;
bottom: -2px;
height: 1px;
width: 100%;
background: #fff;
transform: scaleX(0);
transform-origin: left;
transition: transform 0.45s var(--ez);
}
.nav-links a:hover { color: #fff; }
.nav-links a:hover::after { transform: scaleX(1); }
.nav-links a.on { color: #fff; }
.nav-links a.on::after {
transform: scaleX(1);
background: rgb(var(--ac));
box-shadow: 0 0 10px rgb(var(--ac));
}
.nav-right { display: flex; align-items: center; gap: 22px; }
.nav-status {
display: flex;
align-items: center;
gap: 8px;
font-family: var(--mono);
font-size: 9.5px;
letter-spacing: 0.24em;
color: rgba(110, 225, 175, 0.85);
}
.nav-status i {
width: 6px;
height: 6px;
border-radius: 50%;
background: var(--ok);
box-shadow: 0 0 10px var(--ok);
animation: dotPulse 2.4s ease infinite;
}
@keyframes dotPulse {
0%, 100% { opacity: 1; transform: scale(1); }
50% { opacity: 0.35; transform: scale(0.85); }
}
.nav-btn {
font-size: 13px;
font-weight: 600;
color: var(--ink);
text-decoration: none;
padding: 10px 22px;
border-radius: 10px;
border: 1px solid rgba(226, 234, 242, 0.16);
background: rgba(226, 234, 242, 0.04);
backdrop-filter: blur(12px);
box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1);
transition: all 0.3s var(--ez);
}
.nav-btn:hover {
background: rgba(226, 234, 242, 0.12);
border-color: rgba(226, 234, 242, 0.36);
box-shadow: 0 0 20px rgba(var(--ac), 0.2);
}
.burger {
display: none;
width: 44px;
height: 44px;
flex-direction: column;
justify-content: center;
align-items: center;
gap: 6px;
background: none;
border: 0;
cursor: pointer;
}
.burger span {
display: block;
width: 22px;
height: 1.5px;
background: var(--ink);
transition: transform 0.35s var(--ez);
}
body.m-open .burger span:first-child { transform: translateY(3.75px) rotate(45deg); }
body.m-open .burger span:last-child { transform: translateY(-3.75px) rotate(-45deg); }
.mmenu {
position: fixed;
inset: 0;
z-index: 95;
background: rgba(2, 3, 8, 0.94);
backdrop-filter: blur(28px);
display: flex;
flex-direction: column;
justify-content: center;
gap: 8px;
padding: 0 clamp(28px, 8vw, 60px);
opacity: 0;
visibility: hidden;
transition: opacity 0.4s var(--ez), visibility 0.4s;
}
body.m-open .mmenu { opacity: 1; visibility: visible; }
.mmenu a {
display: flex;
align-items: baseline;
gap: 16px;
text-decoration: none;
color: var(--ink);
font-size: clamp(34px, 8.5vw, 50px);
font-weight: 600;
padding: 14px 0;
border-bottom: 1px solid var(--line);
transform: translateY(24px);
opacity: 0;
transition: transform 0.55s var(--ez), opacity 0.55s;
}
body.m-open .mmenu a { transform: none; opacity: 1; }
/* Hero Section */
.hero {
position: relative;
z-index: 10;
min-height: 100vh;
min-height: 100svh;
display: flex;
align-items: center;
justify-content: center;
text-align: center;
padding: 130px var(--pad) 110px;
overflow: hidden;
}
.hero-stage {
position: absolute;
inset: 0;
z-index: 1;
pointer-events: all;
display: flex;
align-items: center;
justify-content: center;
}
#forge3d {
width: 100%;
height: 100%;
display: block;
}
.hud {
position: absolute;
z-index: 5;
font-family: var(--mono);
font-size: 9.5px;
letter-spacing: 0.18em;
color: rgba(226, 234, 242, 0.35);
text-transform: uppercase;
line-height: 2.2;
pointer-events: none;
text-shadow: 0 0 10px rgba(0, 0, 0, 0.8);
}
.hud-bl { left: var(--pad); bottom: 34px; display: flex; flex-direction: column; text-align: left; }
.hud-br { right: var(--pad); bottom: 34px; display: flex; align-items: center; gap: 12px; }
.hero-inner {
position: relative;
z-index: 10;
display: flex;
flex-direction: column;
align-items: center;
pointer-events: none;
max-width: 960px;
}
.hero-inner a, .hero-inner button { pointer-events: all; }
.tag {
display: inline-flex;
align-items: center;
gap: 10px;
padding: 8px 18px;
border-radius: 99px;
border: 1px solid rgba(var(--ac), 0.25);
background: rgba(var(--ac), 0.05);
backdrop-filter: blur(16px);
box-shadow: 0 0 24px rgba(var(--ac), 0.12);
font-family: var(--mono);
font-size: 9.5px;
letter-spacing: 0.22em;
color: rgba(var(--ac), 0.95);
margin-bottom: 36px;
animation: softUp 1s 0.1s var(--ez) both;
}
.tag .dot {
width: 5px;
height: 5px;
border-radius: 50%;
background: rgb(var(--ac));
box-shadow: 0 0 10px rgb(var(--ac));
animation: dotPulse 2.6s ease infinite;
}
.title {
font-size: clamp(56px, 11vw, 158px);
font-weight: 600;
letter-spacing: -0.045em;
line-height: 0.94;
margin-bottom: 32px;
text-shadow: 0 0 100px rgba(255, 171, 77, 0.12);
}
.title em {
font-family: var(--serif);
font-style: italic;
font-weight: 400;
font-size: 1.05em;
color: #fff;
text-shadow: 0 0 40px rgba(var(--ac), 0.4);
}
.msk { display: block; overflow: hidden; }
.msk-in {
display: inline-block;
animation: mskUp 1.2s var(--ez) both;
}
@keyframes mskUp {
from { transform: translateY(120%); opacity: 0; filter: blur(4px); }
to { transform: translateY(0); opacity: 1; filter: blur(0); }
}
@keyframes softUp {
from { opacity: 0; transform: translateY(28px); filter: blur(6px); }
to { opacity: 1; transform: translateY(0); filter: blur(0); }
}
.sub {
max-width: 520px;
font-size: clamp(15px, 1.7vw, 17.5px);
line-height: 1.82;
color: var(--dim);
margin-bottom: 48px;
animation: softUp 1s 0.55s var(--ez) both;
text-shadow: 0 2px 16px rgba(0, 0, 0, 0.8);
}
.ctas {
display: flex;
gap: 15px;
flex-wrap: wrap;
justify-content: center;
animation: softUp 1s 0.7s var(--ez) both;
}
.btn {
display: inline-flex;
align-items: center;
gap: 11px;
padding: 15px 32px;
border-radius: 12px;
font-size: 14.5px;
font-weight: 600;
letter-spacing: -0.01em;
text-decoration: none;
transition: all 0.35s var(--ez);
}
.btn-p {
background: #ffffff;
color: #030611;
box-shadow: 0 10px 40px rgba(255, 255, 255, 0.12);
}
.btn-p:hover {
transform: translateY(-2px);
box-shadow: 0 16px 60px rgba(255, 255, 255, 0.22), 0 0 24px rgba(var(--ac), 0.3);
}
.btn-g {
border: 1px solid rgba(226, 234, 242, 0.18);
color: var(--dim);
background: rgba(226, 234, 242, 0.03);
backdrop-filter: blur(14px);
}
.btn-g:hover {
color: #fff;
border-color: rgba(var(--ac), 0.5);
background: rgba(var(--ac), 0.08);
transform: translateY(-2px);
box-shadow: 0 12px 30px rgba(0, 0, 0, 0.5);
}
.stats-row {
display: flex;
gap: clamp(32px, 5.5vw, 76px);
margin-top: 68px;
flex-wrap: wrap;
justify-content: center;
animation: softUp 1s 0.85s var(--ez) both;
}
.stat {
display: flex;
flex-direction: column;
align-items: center;
gap: 8px;
}
.sv {
font-family: var(--mono);
font-size: clamp(22px, 3vw, 32px);
font-weight: 600;
color: var(--ink);
letter-spacing: -0.02em;
}
.sv em {
font-style: normal;
color: rgb(var(--ac));
}
.sl {
font-family: var(--mono);
font-size: 9px;
letter-spacing: 0.22em;
text-transform: uppercase;
color: rgba(226, 234, 242, 0.38);
}
/* ─────────────────────────────── BENTO 3D FEATURE GRID ─────────────────────────────── */
.bento-section {
position: relative;
z-index: 10;
padding: clamp(90px, 10vw, 160px) var(--pad);
max-width: 1320px;
margin: 0 auto;
}
.section-head {
text-align: center;
margin-bottom: 64px;
}
.sec-tag {
display: inline-flex;
align-items: center;
gap: 10px;
font-family: var(--mono);
font-size: 9.5px;
letter-spacing: 0.3em;
text-transform: uppercase;
color: rgba(var(--ac), 0.85);
margin-bottom: 16px;
}
.sec-tag::before, .sec-tag::after {
content: '';
width: 24px;
height: 1px;
background: rgba(var(--ac), 0.5);
}
.sec-title {
font-size: clamp(38px, 5.5vw, 68px);
font-weight: 600;
letter-spacing: -0.035em;
line-height: 1.05;
}
.sec-title em {
font-family: var(--serif);
font-style: italic;
font-weight: 400;
}
.bento-grid {
display: grid;
grid-template-columns: repeat(12, 1fr);
gap: 24px;
}
.col-8 { grid-column: span 8; }
.col-4 { grid-column: span 4; }
.col-6 { grid-column: span 6; }
.col-12 { grid-column: span 12; }
/* 3D Bento Card with Conic Rim Highlight */
.bento-card {
position: relative;
background: rgba(14, 11, 8, 0.72);
border-radius: 20px;
padding: 38px 34px;
backdrop-filter: blur(24px) saturate(150%);
-webkit-backdrop-filter: blur(24px) saturate(150%);
border: 1px solid rgba(226, 234, 242, 0.1);
box-shadow: 0 24px 60px rgba(0, 0, 4, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.1);
transform-style: preserve-3d;
will-change: transform;
overflow: hidden;
transition: transform 0.4s var(--ez), border-color 0.4s ease, box-shadow 0.4s ease;
}
.bento-card::after {
content: '';
position: absolute;
inset: -1px;
border-radius: inherit;
padding: 1.5px;
background: conic-gradient(from var(--rim-angle, 0deg) at var(--mouse-x, 50%) var(--mouse-y, 50%),
rgba(255, 255, 255, 0.6) 0deg,
rgba(255, 255, 255, 0.06) 60deg,
rgba(var(--ac), 0.6) 180deg,
rgba(255, 255, 255, 0.06) 300deg,
rgba(255, 255, 255, 0.6) 360deg);
-webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
-webkit-mask-composite: xor;
mask-composite: exclude;
pointer-events: none;
opacity: 0.75;
}
.bento-card:hover {
box-shadow: 0 32px 80px rgba(0, 0, 8, 0.65), 0 0 30px rgba(var(--ac), 0.15);
}
.card-badge {
display: inline-flex;
align-items: center;
gap: 8px;
padding: 5px 12px;
border-radius: 99px;
background: rgba(var(--ac), 0.08);
border: 1px solid rgba(var(--ac), 0.25);
font-family: var(--mono);
font-size: 8.5px;
letter-spacing: 0.2em;
text-transform: uppercase;
color: rgb(var(--ac));
margin-bottom: 20px;
}
.card-title {
font-size: 24px;
font-weight: 600;
letter-spacing: -0.02em;
margin-bottom: 12px;
}
.card-desc {
font-size: 14.5px;
line-height: 1.7;
color: var(--dim);
margin-bottom: 24px;
}
/* Terminal Box */
.terminal-box {
background: rgba(3, 2, 2, 0.88);
border: 1px solid rgba(226, 234, 242, 0.08);
border-radius: 12px;
padding: 18px 20px;
font-family: var(--mono);
font-size: 12px;
line-height: 2;
color: rgba(226, 234, 242, 0.65);
}
/* Comparison Matrix */
.matrix-table {
width: 100%;
border-collapse: collapse;
font-family: var(--mono);
font-size: 12.5px;
margin-top: 20px;
}
.matrix-table th {
text-align: left;
padding: 12px 16px;
color: rgba(226, 234, 242, 0.4);
border-bottom: 1px solid rgba(226, 234, 242, 0.08);
font-size: 10px;
letter-spacing: 0.15em;
text-transform: uppercase;
}
.matrix-table td {
padding: 14px 16px;
border-bottom: 1px solid rgba(226, 234, 242, 0.06);
}
/* Footer */
footer {
position: relative;
z-index: 10;
border-top: 1px solid var(--line);
padding: 36px var(--pad);
display: flex;
align-items: center;
justify-content: space-between;
gap: 24px;
flex-wrap: wrap;
background: rgba(2, 3, 8, 0.7);
backdrop-filter: blur(16px);
}
.ft-logo {
display: flex;
align-items: center;
gap: 10px;
text-decoration: none;
color: var(--ink);
font-weight: 600;
font-size: 15.5px;
}
.ft-logo .mark { width: 22px; height: 22px; }
.ft-m {
font-family: var(--mono);
font-size: 9.5px;
letter-spacing: 0.18em;
color: rgba(226, 234, 242, 0.28);
text-transform: uppercase;
}
.ft-status {
display: flex;
align-items: center;
gap: 8px;
font-family: var(--mono);
font-size: 10px;
letter-spacing: 0.2em;
color: rgba(110, 225, 175, 0.8);
text-transform: uppercase;
}
@media (max-width: 960px) {
.col-8, .col-4, .col-6 { grid-column: span 12; }
.nav-links, .nav-status, .hud-bl { display: none; }
.burger { display: flex; }
}
@media (max-width: 560px) {
.ctas { flex-direction: column; width: 100%; }
.btn { justify-content: center; }
footer { flex-direction: column; text-align: center; }
}
</style>
</head>
<body>
<canvas id="sky" aria-hidden="true"></canvas>
<div class="grain" aria-hidden="true"></div>
<div class="vig" aria-hidden="true"></div>
<div class="cur" id="curDot" aria-hidden="true"></div>
<div class="cur" id="curRing" aria-hidden="true"><span>DRAG</span></div>
<!-- Navigation -->
<nav id="nav">
<a class="logo" href="/">
<div class="mark-wrapper">
<svg class="mark" viewBox="0 0 34 34" aria-hidden="true">
<ellipse cx="17" cy="17" rx="14.5" ry="6" fill="none" stroke="rgba(238,243,248,.6)" stroke-width="1.2" transform="rotate(-24 17 17)"/>
<circle cx="17" cy="17" r="4.6" fill="#eef3f8"/>
<circle cx="27.4" cy="12.2" r="1.9" fill="rgb(var(--ac))"/>
</svg>
</div>
<span>Cosmos</span>
</a>
<div class="nav-links">
<a href="/git" class="on"><i>01</i>Forge</a>
<a href="/oort"><i>02</i>Oort</a>
<a href="/orbit"><i>03</i>Orbit</a>
</div>
<div class="nav-right">
<span class="nav-status"><i></i>NOMINAL</span>
<a class="nav-btn mag" href="/git/login">Sign In</a>
<button class="burger" id="burger" aria-label="Open menu"><span></span><span></span></button>
</div>
</nav>
<!-- Mobile Menu -->
<div class="mmenu" id="mmenu">
<a href="/git"><i>01</i>Forge</a>
<a href="/oort"><i>02</i>Oort</a>
<a href="/orbit"><i>03</i>Orbit</a>
<a href="/git/login"><i>→</i>Sign In</a>
</div>
<!-- Hero Section with Fullscreen 3D Volcanic Planet -->
<main class="hero">
<div class="hero-stage" data-cursor="drag">
<canvas id="forge3d" aria-hidden="true"></canvas>
</div>
<div class="hud hud-bl">
<span>FORGE CLUSTER · INNER SYSTEM</span>
<span>PROTOCOL GIT/2 · SSH READY</span>
</div>
<div class="hud hud-br">
<span id="utc">00:00:00 UTC</span>
<em>·</em>
<span>ALL SYSTEMS NOMINAL</span>
</div>
<div class="hero-inner">
<div class="tag">
<span class="dot"></span>
<span data-scr>MODULE 01 · SOVEREIGN SOURCE CONTROL</span>
</div>
<h1 class="title">
<span class="msk"><span class="msk-in">Source</span></span>
<span class="msk"><span class="msk-in"><em>Code.</em></span></span>
</h1>
<p class="sub">Self-hosted Git infrastructure engineered for engineering teams that cannot afford exposure. Branch protection, cryptographic audit logs, high-speed SSH/HTTPS, and zero third-party telemetry.</p>
<div class="ctas">
<a class="btn btn-p mag" href="/git/login">Sign In to Forge</a>
<a class="btn btn-g mag" href="/git/signup">Create Repository Account</a>
</div>
<div class="stats-row">
<div class="stat">
<div class="sv">100<span class="u">%</span></div>
<div class="sl">Sovereignty</div>
</div>
<div class="stat">
<div class="sv">&lt;1<span class="u">ms</span></div>
<div class="sl">Push Latency</div>
</div>
<div class="stat">
<div class="sv">SSH<span class="u">/HTTPS</span></div>
<div class="sl">Protocols</div>
</div>
<div class="stat">
<div class="sv">∞</div>
<div class="sl">Repositories</div>
</div>
</div>
</div>
</main>
<!-- Bento 3D Capability Grid (Jockey/Stuudio Inspired) -->
<section class="bento-section">
<div class="section-head">
<p class="sec-tag">VERSION CONTROL CAPABILITIES</p>
<h2 class="sec-title">Forged for teams that <em>demand sovereignty.</em></h2>
</div>
<div class="bento-grid">
<!-- Card 1: Branch Protection & ACL -->
<div class="bento-card col-8 tilt-card">
<span class="card-badge">Governance</span>
<h3 class="card-title">Enforced Branch Protection &amp; Merge Gateways</h3>
<p class="card-desc">Safeguard production code with granular rule sets: require peer reviews, enforce clean linear histories, verify status checks, and restrict push privileges by team role.</p>
<div class="terminal-box">
<div style="color:rgb(var(--ac));margin-bottom:8px"># Direct push to main rejected by sovereign ACL</div>
<div>$ git push origin main</div>
<div style="color:#ef4444">remote: error: GH006: Protected branch update failed for refs/heads/main.</div>
<div style="color:#ef4444">remote: error: At least 1 approving review required from team leads.</div>
</div>
</div>
<!-- Card 2: Orbit CI/CD Webhooks -->
<div class="bento-card col-4 tilt-card">
<span class="card-badge">PaaS Integration</span>
<h3 class="card-title">Cosmos Orbit Automated Pipelines</h3>
<p class="card-desc">Connect directly to Orbit PaaS. Pushing code automatically triggers zero-config multi-stage Docker builds and routes transparent edge reverse proxies.</p>
<div style="margin-top:20px;display:flex;align-items:center;justify-content:space-between;padding:14px;background:rgba(255,255,255,0.03);border-radius:10px;font-family:var(--mono);font-size:12px;">
<span>Webhook Status</span>
<span style="color:var(--ok)">✓ Active (200 OK)</span>
</div>
</div>
<!-- Card 3: Cryptographic Auditability -->
<div class="bento-card col-4 tilt-card">
<span class="card-badge">Compliance</span>
<h3 class="card-title">Cryptographic Integrity</h3>
<p class="card-desc">Every commit, tag, and merge request is verified with GPG signatures and immutable commit histories. ScyllaDB authentication records guarantee user audit trails.</p>
</div>
<!-- Card 4: Comparison Matrix -->
<div class="bento-card col-8 tilt-card">
<span class="card-badge">Sovereign Architecture</span>
<h3 class="card-title">Cosmos Forge vs. Public Cloud Git</h3>
<p class="card-desc">Complete freedom from foreign SaaS downtime, IP scanning, code training, and arbitrary seat licensing fees.</p>
<table class="matrix-table">
<thead>
<tr>
<th>Capability</th>
<th>Cosmos Forge</th>
<th>Cloud SaaS (GitHub/GitLab)</th>
</tr>
</thead>
<tbody>
<tr>
<td>Code Privacy</td>
<td style="color:var(--ok)">100% Airgapped Sovereign</td>
<td style="color:#f87171">Third-party Cloud Hosted</td>
</tr>
<tr>
<td>Code AI Training</td>
<td style="color:var(--ok)">Never (Zero telemetry)</td>
<td style="color:#f87171">Subject to Cloud Terms</td>
</tr>
<tr>
<td>Seat Pricing</td>
<td style="color:var(--ok)">$0 / Unlimited Users</td>
<td style="color:#f87171">$21+ / user / month</td>
</tr>
</tbody>
</table>
</div>
</div>
</section>
<!-- Footer -->
<footer>
<div class="ft-l">
<a class="ft-logo" href="/">
<svg class="mark" viewBox="0 0 34 34" aria-hidden="true">
<ellipse cx="17" cy="17" rx="14.5" ry="6" fill="none" stroke="rgba(238,243,248,.6)" stroke-width="1.2" transform="rotate(-24 17 17)"/>
<circle cx="17" cy="17" r="4.6" fill="#eef3f8"/>
<circle cx="27.4" cy="12.2" r="1.9" fill="rgb(var(--ac))"/>
</svg>
Cosmos
</a>
<p style="font-family:var(--mono);font-size:9.5px;letter-spacing:0.18em;color:rgba(226,234,242,0.28);margin-top:8px">SELF-HOSTED GIT PLATFORM · FULL AIRGAP CAPABILITY</p>
</div>
<div class="ft-m">
<span>51.4778° N · 0.0015° W</span>
<span id="ftUp">SESSION T+00:00:00</span>
</div>
<div class="ft-r"><span class="ft-status"><i></i>All systems nominal</span></div>
</footer>
<script>
(() => {
'use strict';
const $ = s => document.querySelector(s);
const $$ = s => [...document.querySelectorAll(s)];
const TAU = Math.PI * 2;
const clamp = (v, min, max) => Math.min(Math.max(v, min), max);
const p2 = n => String(n).padStart(2, '0');
const RM = window.matchMedia('(prefers-reduced-motion: reduce)').matches;
const FINE = window.matchMedia('(pointer: fine)').matches;
const DPR = Math.min(window.devicePixelRatio || 1, 2);
const mouse = { x: 0.5, y: 0.5, sx: 0.5, sy: 0.5, px: window.innerWidth / 2, py: window.innerHeight / 2 };
/* 3D WebGL Volcanic Planetary Core */
const canvas = $('#forge3d');
let renderer = null, scene = null, camera = null;
let planet = null, embers = null, dirLight = null;
let drag = false, lx = 0, ly = 0, rotY = 0, rotX = 0;
function initForgeHero3D() {
if (typeof THREE === 'undefined') return;
try {
const w = canvas.parentElement.clientWidth;
const h = canvas.parentElement.clientHeight;
renderer = new THREE.WebGLRenderer({ canvas, alpha: true, antialias: true });
renderer.setPixelRatio(DPR);
renderer.setSize(w, h);
scene = new THREE.Scene();
camera = new THREE.PerspectiveCamera(46, w / h, 0.1, 1000);
camera.position.set(0, 0, 10.5);
scene.add(new THREE.AmbientLight(0xffffff, 0.25));
dirLight = new THREE.DirectionalLight(0xffab4d, 3.2);
dirLight.position.set(-6, 5, 5);
scene.add(dirLight);
/* Procedural Molten Basalt Shader */
const planetVert = `
varying vec2 vUv;
varying vec3 vNormal;
varying vec3 vViewPos;
void main() {
vUv = uv;
vNormal = normalize(normalMatrix * normal);
vec4 mvPosition = modelViewMatrix * vec4(position, 1.0);
vViewPos = -mvPosition.xyz;
gl_Position = projectionMatrix * mvPosition;
}
`;
const planetFrag = `
uniform float uTime;
uniform vec3 uLightPos;
varying vec2 vUv;
varying vec3 vNormal;
varying vec3 vViewPos;
float hash(vec2 p) { return fract(1e4 * sin(17.0 * p.x + p.y * 0.1) * (0.1 + abs(sin(p.y * 13.0 + p.x)))); }
float noise(vec2 x) {
vec2 i = floor(x);
vec2 f = fract(x);
float a = hash(i);
float b = hash(i + vec2(1.0, 0.0));
float c = hash(i + vec2(0.0, 1.0));
float d = hash(i + vec2(1.0, 1.0));
vec2 u = f * f * (3.0 - 2.0 * f);
return mix(a, b, u.x) + (c - a) * u.y * (1.0 - u.x) + (d - b) * u.x * u.y;
}
void main() {
vec3 N = normalize(vNormal);
vec3 V = normalize(vViewPos);
vec3 L = normalize(uLightPos);
float diff = max(dot(N, L), 0.05);
vec2 uvCoords = vUv * 16.0;
float n = noise(uvCoords + vec2(uTime * 0.03, 0.0));
float n2 = noise(uvCoords * 2.2 - vec2(0.0, uTime * 0.05));
float magma = smoothstep(0.68, 0.95, n * 0.6 + n2 * 0.4);
vec3 basaltColor = vec3(0.08, 0.05, 0.04) * diff;
vec3 lavaColor = vec3(1.0, 0.42, 0.12) * (1.6 + 0.6 * sin(uTime * 2.4 + n * 8.0));
float fresnel = pow(1.0 - max(dot(N, V), 0.0), 3.0);
vec3 atmosphere = vec3(1.0, 0.55, 0.2) * fresnel * 1.8;
vec3 finalColor = mix(basaltColor, lavaColor, magma) + atmosphere;
gl_FragColor = vec4(finalColor, 1.0);
}
`;
const planetMat = new THREE.ShaderMaterial({
vertexShader: planetVert,
fragmentShader: planetFrag,
uniforms: {
uTime: { value: 0 },
uLightPos: { value: new THREE.Vector3(-6, 5, 5) }
}
});
planet = new THREE.Mesh(new THREE.SphereGeometry(2.35, 64, 64), planetMat);
scene.add(planet);
/* Orbiting Molten Ring */
const rMat = new THREE.MeshStandardMaterial({
color: 0xffab4d,
emissive: 0xff7b22,
emissiveIntensity: 0.35,
side: THREE.DoubleSide,
transparent: true,
opacity: 0.45
});
const ring = new THREE.Mesh(new THREE.RingGeometry(3.2, 4.8, 64), rMat);
ring.rotation.x = Math.PI / 2.4;
ring.rotation.y = -0.3;
scene.add(ring);
/* Rising Embers */
const emberCount = 80;
const emberPos = new Float32Array(emberCount * 3);
for (let i = 0; i < emberCount; i++) {
emberPos[i * 3] = (Math.random() - 0.5) * 6;
emberPos[i * 3 + 1] = (Math.random() - 0.5) * 6;
emberPos[i * 3 + 2] = (Math.random() - 0.5) * 4;
}
const emberGeo = new THREE.BufferGeometry();
emberGeo.setAttribute('position', new THREE.BufferAttribute(emberPos, 3));
embers = new THREE.Points(emberGeo, new THREE.PointsMaterial({
color: 0xffab4d,
size: 0.14,
transparent: true,
opacity: 0.85,
blending: THREE.AdditiveBlending
}));
scene.add(embers);
/* Drag */
canvas.addEventListener('pointerdown', e => {
drag = true;
lx = e.clientX; ly = e.clientY;
document.body.classList.add('grabbing');
});
window.addEventListener('pointermove', e => {
if (!drag) return;
const dx = e.clientX - lx;
const dy = e.clientY - ly;
lx = e.clientX; ly = e.clientY;
rotY += dx * 0.007;
rotX = clamp(rotX + dy * 0.005, -0.6, 1.2);
});
window.addEventListener('pointerup', () => {
drag = false;
document.body.classList.remove('grabbing');
});
} catch (e) {
console.warn('[FORGE] 3D initialization failed:', e);
}
}
/* 3D Bento Card Tilt */
function initBentoCards() {
if (RM) return;
const cards = $$('.tilt-card');
cards.forEach(card => {
let raf = null;
let curX = 0, curY = 0, tarX = 0, tarY = 0;
card.addEventListener('pointermove', e => {
const r = card.getBoundingClientRect();
const x = e.clientX - r.left;
const y = e.clientY - r.top;
const cx = r.width / 2;
const cy = r.height / 2;
tarY = ((x - cx) / cx) * 10;
tarX = -((y - cy) / cy) * 10;
const angle = Math.atan2(y - cy, x - cx) * (180 / Math.PI) + 90;
card.style.setProperty('--rim-angle', `${angle.toFixed(1)}deg`);
card.style.setProperty('--mouse-x', `${(x / r.width) * 100}%`);
card.style.setProperty('--mouse-y', `${(y / r.height) * 100}%`);
if (!raf) {
const update = () => {
curX += (tarX - curX) * 0.12;
curY += (tarY - curY) * 0.12;
card.style.transform = `perspective(800px) rotateX(${curX.toFixed(2)}deg) rotateY(${curY.toFixed(2)}deg) translateZ(8px)`;
if (Math.abs(tarX - curX) > 0.05 || Math.abs(tarY - curY) > 0.05) {
raf = requestAnimationFrame(update);
} else {
raf = null;
}
};
raf = requestAnimationFrame(update);
}
});
card.addEventListener('pointerleave', () => {
tarX = 0; tarY = 0;
const reset = () => {
curX += (0 - curX) * 0.12;
curY += (0 - curY) * 0.12;
card.style.transform = `perspective(800px) rotateX(${curX.toFixed(2)}deg) rotateY(${curY.toFixed(2)}deg) translateZ(0px)`;
if (Math.abs(curX) > 0.05 || Math.abs(curY) > 0.05) {
requestAnimationFrame(reset);
} else {
card.style.transform = '';
}
};
requestAnimationFrame(reset);
});
});
}
/* Clock & Uptime */
const utc = $('#utc'), ftUp = $('#ftUp');
const t0 = Date.now();
setInterval(() => {
const d = new Date();
utc.textContent = `${p2(d.getUTCHours())}:${p2(d.getUTCMinutes())}:${p2(d.getUTCSeconds())} UTC`;
const s = ((Date.now() - t0) / 1000) | 0;
if (ftUp) ftUp.textContent = `SESSION T+${p2((s / 3600) | 0)}:${p2(((s / 60) | 0) % 60)}:${p2(s % 60)}`;
}, 1000);
/* Cursor */
const curDot = $('#curDot'), curRing = $('#curRing');
let crx = window.innerWidth / 2, cry = window.innerHeight / 2, seen = false;
if (FINE && !RM && curDot && curRing) {
document.body.classList.add('has-cur');
window.addEventListener('mousemove', e => {
mouse.px = e.clientX; mouse.py = e.clientY;
if (!seen) { seen = true; crx = e.clientX; cry = e.clientY; document.body.classList.add('cur-vis'); }
const el = e.target instanceof Element ? e.target : null;
curRing.classList.toggle('act', !!(el && el.closest('a, button')));
curRing.classList.toggle('drag', !!(el && el.closest('[data-cursor="drag"]')));
}, { passive: true });
document.addEventListener('mouseleave', () => { document.body.classList.remove('cur-vis'); seen = false; });
}
/* Nav */
const nav = $('#nav');
window.addEventListener('scroll', () => {
nav.classList.toggle('scrolled', window.scrollY > 40);
}, { passive: true });
$('#burger').addEventListener('click', () => document.body.classList.toggle('m-open'));
$$('#mmenu a').forEach(a => a.addEventListener('click', () => document.body.classList.remove('m-open')));
initForgeHero3D();
initBentoCards();
let lastT = performance.now();
function masterLoop(t) {
const dt = RM ? 0 : Math.min(0.05, (t - lastT) / 1000) || 0.016;
lastT = t;
if (curDot && curRing && seen) {
curDot.style.transform = `translate(${mouse.px}px, ${mouse.py}px)`;
crx += (mouse.px - crx) * 0.22;
cry += (mouse.py - cry) * 0.22;
curRing.style.transform = `translate(${crx.toFixed(1)}px, ${cry.toFixed(1)}px)`;
}
if (renderer && scene) {
if (planet) {
if (!drag) rotY += dt * 0.15;
planet.rotation.y = rotY;
planet.rotation.x = rotX;
planet.material.uniforms.uTime.value = t * 0.001;
}
if (embers) {
const p = embers.geometry.attributes.position.array;
for (let i = 0; i < p.length; i += 3) {
p[i + 1] += dt * 0.45;
if (p[i + 1] > 3.5) p[i + 1] = -3.5;
}
embers.geometry.attributes.position.needsUpdate = true;
}
renderer.render(scene, camera);
}
requestAnimationFrame(masterLoop);
}
requestAnimationFrame(masterLoop);
window.addEventListener('resize', () => {
if (renderer && canvas && canvas.parentElement) {
const w = canvas.parentElement.clientWidth;
const h = canvas.parentElement.clientHeight;
renderer.setSize(w, h);
camera.aspect = w / h;
camera.updateProjectionMatrix();
}
});
})();
</script>
</body>
</html>