Sections overlap via negative margin; tabs stay in staggered rail; active body z-index covers layers below as you scroll. Co-authored-by: Cursor <cursoragent@cursor.com>
135 lines
4.7 KiB
CSS
135 lines
4.7 KiB
CSS
@import '../shared/stack-vars.css';
|
|
@import '../shared/stack-layout.css';
|
|
|
|
:root {
|
|
--mono: 'IBM Plex Mono', ui-monospace, monospace;
|
|
--sans: 'Instrument Sans', system-ui, sans-serif;
|
|
}
|
|
|
|
* { box-sizing: border-box; margin: 0; padding: 0; }
|
|
|
|
body {
|
|
font-family: var(--sans);
|
|
background: #0e0e10;
|
|
color: #e8e6e3;
|
|
line-height: 1.5;
|
|
}
|
|
|
|
.nav {
|
|
position: fixed; top: 0; left: 0; right: 0; z-index: 200;
|
|
display: flex; align-items: center; gap: 1rem;
|
|
padding: 0.55rem 1rem; font-family: var(--mono); font-size: 0.62rem;
|
|
background: rgba(14, 14, 16, 0.92); backdrop-filter: blur(8px);
|
|
border-bottom: 1px solid rgba(255,255,255,0.05);
|
|
}
|
|
|
|
.nav a { color: #6b6966; text-decoration: none; }
|
|
.nav a:hover { color: #c4a574; }
|
|
.variants { margin-left: auto; color: #4a4844; }
|
|
.depth { color: #c4a574; font-weight: 600; }
|
|
|
|
.stack-mount {
|
|
width: min(560px, 100%);
|
|
margin: 0 auto;
|
|
padding: var(--stack-nav) 1rem 0;
|
|
}
|
|
|
|
.layer {
|
|
position: relative;
|
|
margin: 0;
|
|
border-radius: 8px 8px 6px 6px;
|
|
border: 1px solid rgba(255,255,255,0.08);
|
|
box-shadow: 0 12px 36px rgba(0,0,0,0.5);
|
|
}
|
|
|
|
.layer-inner {
|
|
position: sticky;
|
|
top: var(--stack-reveal);
|
|
z-index: 10;
|
|
}
|
|
|
|
.layer-tab {
|
|
position: sticky;
|
|
z-index: 55;
|
|
left: 10px;
|
|
right: 10px;
|
|
height: 6px;
|
|
margin-bottom: -6px;
|
|
border-radius: 5px 5px 0 0;
|
|
background: inherit;
|
|
filter: brightness(1.12);
|
|
border: 1px solid rgba(255,255,255,0.07);
|
|
border-bottom: none;
|
|
pointer-events: none;
|
|
}
|
|
|
|
.layer-0 { background: #1c1c20; }
|
|
.layer-0 .layer-tab { top: calc(var(--stack-stick) + var(--stack-step) * 0); }
|
|
.layer-1 { background: #24242c; }
|
|
.layer-1 .layer-tab { top: calc(var(--stack-stick) + var(--stack-step) * 1); }
|
|
.layer-2 { background: #2c2c36; }
|
|
.layer-2 .layer-tab { top: calc(var(--stack-stick) + var(--stack-step) * 2); }
|
|
.layer-3 { background: #343440; }
|
|
.layer-3 .layer-tab { top: calc(var(--stack-stick) + var(--stack-step) * 3); }
|
|
.layer-4 { background: #3c3c4a; }
|
|
.layer-4 .layer-tab { top: calc(var(--stack-stick) + var(--stack-step) * 4); }
|
|
.layer-5 { background: #444454; }
|
|
.layer-5 .layer-tab { top: calc(var(--stack-stick) + var(--stack-step) * 5); }
|
|
.layer-6 { background: #4c4c5e; }
|
|
.layer-6 .layer-tab { top: calc(var(--stack-stick) + var(--stack-step) * 6); }
|
|
|
|
.layer-inner {
|
|
padding: 1.2rem 1.35rem 2rem;
|
|
min-height: var(--stack-body-h);
|
|
}
|
|
|
|
.layer-head {
|
|
display: flex; flex-wrap: wrap; align-items: center; gap: 0.35rem 0.65rem;
|
|
margin-bottom: 0.65rem; padding-bottom: 0.5rem;
|
|
border-bottom: 1px solid rgba(255,255,255,0.06);
|
|
font-family: var(--mono); font-size: 0.6rem;
|
|
}
|
|
|
|
.layer-id {
|
|
color: #c4a574; font-weight: 600; background: none; border: none;
|
|
font-family: var(--mono); font-size: 0.6rem; cursor: pointer; padding: 0;
|
|
}
|
|
.layer-id:hover { text-decoration: underline; }
|
|
.layer-name { color: #6b6966; text-transform: uppercase; letter-spacing: 0.1em; }
|
|
.layer-link { margin-left: auto; color: #8b9cb3; text-decoration: none; font-size: 0.58rem; }
|
|
.layer h1 { font-size: 2rem; font-weight: 600; letter-spacing: -0.03em; }
|
|
.layer h2 { font-size: 1.2rem; font-weight: 600; margin-bottom: 0.35rem; }
|
|
.tagline { font-family: var(--mono); font-size: 0.65rem; color: #6b6966; margin-bottom: 0.4rem; }
|
|
.body { font-size: 0.9rem; color: #a8a6a1; }
|
|
.chips { display: flex; flex-wrap: wrap; gap: 0.3rem; margin: 0.5rem 0; }
|
|
.chips span {
|
|
font-family: var(--mono); font-size: 0.55rem; padding: 0.15rem 0.4rem;
|
|
background: rgba(196,165,116,0.1); color: #c4a574; border: 1px solid rgba(196,165,116,0.2); border-radius: 3px;
|
|
}
|
|
.avail { font-family: var(--mono); font-size: 0.62rem; color: #7eb87a; }
|
|
.contact-row { display: flex; flex-wrap: wrap; gap: 0.45rem; margin: 0.65rem 0 0.4rem; }
|
|
.btn {
|
|
font-family: var(--mono); font-size: 0.68rem; padding: 0.45rem 0.75rem;
|
|
background: #c4a574; color: #0e0e10; text-decoration: none; font-weight: 600; border-radius: 4px;
|
|
}
|
|
.btn-ghost { background: transparent; color: #c4a574; border: 1px solid rgba(196,165,116,0.35); }
|
|
.guarantees { font-family: var(--mono); font-size: 0.58rem; color: #5a5854; }
|
|
.site-foot {
|
|
display: flex; justify-content: space-between;
|
|
width: min(560px, 100%); margin: 0 auto;
|
|
padding: 0 1.5rem 2.5rem; font-family: var(--mono); font-size: 0.6rem; color: #4a4844;
|
|
}
|
|
.site-foot a { color: #4a4844; text-decoration: none; }
|
|
.stack-ruler {
|
|
position: fixed; right: max(0.5rem, calc(50% - 300px)); top: 50%; transform: translateY(-50%);
|
|
z-index: 50; display: flex; flex-direction: column; gap: 0.12rem;
|
|
font-family: var(--mono); font-size: 0.48rem; color: #2a2a30;
|
|
}
|
|
.stack-ruler button {
|
|
background: none; border: none; color: inherit; font: inherit; cursor: pointer; padding: 0.1rem 0; text-align: right;
|
|
}
|
|
.stack-ruler button:hover,
|
|
.stack-ruler button.active { color: #c4a574; }
|
|
|
|
@media (max-width: 700px) { .variants { display: none; } }
|