README / style.css
vijaym's picture
Redesign organization page around product ecosystem
f933bfd verified
Raw
History Blame Contribute Delete
13 kB
@import url("https://fonts.googleapis.com/css2?family=DM+Mono:wght@400;500&family=Inter:wght@400;500;600;700&family=Space+Grotesk:wght@500;600;700&display=swap");
.fbf-site {
--fbf-black: #050706;
--fbf-surface: #0b0e0c;
--fbf-surface-2: #111512;
--fbf-ink: #f0f2ef;
--fbf-muted: #929b95;
--fbf-line: rgba(240, 242, 239, 0.13);
--fbf-violet: #a855f7;
--fbf-green: #b5f500;
--fbf-cyan: #38bdf8;
--fbf-art: url("https://huggingface.co/spaces/FrameByFrame/README/resolve/main/assets/framebyframe-ecosystem-hero.jpg");
box-sizing: border-box;
width: 100%;
max-width: 1060px;
margin: 0 auto;
overflow: hidden;
color: var(--fbf-ink);
font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
background: var(--fbf-black);
border: 1px solid var(--fbf-line);
border-radius: 20px;
box-shadow: 0 32px 90px rgba(0, 0, 0, 0.3);
}
.fbf-site *,
.fbf-site *::before,
.fbf-site *::after {
box-sizing: border-box;
}
.fbf-site a {
color: inherit;
}
.fbf-site h1,
.fbf-site h2,
.fbf-site h3,
.fbf-site p {
margin-top: 0;
}
.fbf-nav {
display: flex;
align-items: center;
justify-content: space-between;
height: 68px;
padding: 0 clamp(1.25rem, 4.5vw, 3.5rem);
background: rgba(5, 7, 6, 0.96);
border-bottom: 1px solid var(--fbf-line);
}
.fbf-brand {
display: inline-flex;
align-items: center;
gap: 0.72rem;
font-family: "Space Grotesk", sans-serif;
font-size: 0.84rem;
font-weight: 700;
letter-spacing: -0.035em;
text-decoration: none;
}
.fbf-brand > span:last-child > span {
color: var(--fbf-violet);
}
.fbf-brand-mark {
position: relative;
display: flex;
align-items: center;
justify-content: center;
width: 34px;
height: 28px;
overflow: hidden;
background: var(--fbf-violet);
border-radius: 5px;
box-shadow: 0 0 24px rgba(168, 85, 247, 0.3);
}
.fbf-brand-mark i {
position: absolute;
width: 4px;
height: 4px;
background: var(--fbf-black);
border-radius: 50%;
}
.fbf-brand-mark i:nth-child(1) {
left: 6px;
}
.fbf-brand-mark i:nth-child(3) {
right: 6px;
}
.fbf-brand-mark i:nth-child(2) {
width: 8px;
height: 8px;
}
.fbf-nav-meta,
.fbf-footer,
.fbf-overline,
.fbf-product-topline,
.fbf-stat-topline,
.fbf-download-stat p,
.fbf-download-stat small {
font-family: "DM Mono", monospace;
letter-spacing: 0.12em;
}
.fbf-nav-meta {
display: flex;
align-items: center;
gap: 0.55rem;
color: var(--fbf-muted);
font-size: 0.64rem;
}
.fbf-live-dot {
display: inline-block;
width: 6px;
height: 6px;
background: var(--fbf-green);
border-radius: 50%;
box-shadow: 0 0 10px rgba(181, 245, 0, 0.75);
}
.fbf-hero {
position: relative;
display: flex;
align-items: flex-end;
min-height: clamp(570px, 74vw, 760px);
overflow: hidden;
isolation: isolate;
}
.fbf-hero-art,
.fbf-hero-shade,
.fbf-hero-grid {
position: absolute;
inset: 0;
width: 100%;
height: 100%;
}
.fbf-hero-art {
z-index: -3;
display: block;
object-fit: cover;
object-position: 51% center;
transform: scale(1.015);
}
.fbf-hero-shade {
z-index: -2;
background:
linear-gradient(90deg, rgba(5, 7, 6, 0.96) 0%, rgba(5, 7, 6, 0.72) 36%, rgba(5, 7, 6, 0.05) 72%),
linear-gradient(0deg, rgba(5, 7, 6, 0.94) 0%, rgba(5, 7, 6, 0.08) 48%, rgba(5, 7, 6, 0.18) 100%);
}
.fbf-hero-grid {
z-index: -1;
op: auto;
height: 45%;
opacity: 0.18;
background-image:
linear-gradient(rgba(255, 255, 255, 0.14) 1px, transparent 1px),
linear-gradient(90deg, rgba(255, 255, 255, 0.14) 1px, transparent 1px);
background-size: 32px 32px;
mask-image: linear-gradient(to bottom, transparent, black);
}
.fbf-hero-copy {
width: 68%;
padding: clamp(2rem, 6vw, 5rem) clamp(1.25rem, 6vw, 5rem);
}
.fbf-overline {
margin-bottom: 1.25rem;
color: var(--fbf-green);
font-size: 0.64rem;
font-weight: 500;
}
.fbf-hero h1,
.fbf-section-intro h2,
.fbf-model-heading h2 {
font-family: "Space Grotesk", sans-serif;
font-weight: 600;
letter-spacing: -0.06em;
}
.fbf-hero h1 {
margin-bottom: 1.5rem;
font-size: clamp(3.5rem, 10vw, 7.6rem);
line-height: 0.82;
text-wrap: balance;
}
.fbf-intro {
max-width: 520px;
margin-bottom: 0;
color: #c2c9c4;
font-size: clamp(0.95rem, 2vw, 1.14rem);
line-height: 1.65;
}
.fbf-download-stat {
position: absolute;
right: clamp(1.25rem, 4vw, 3.25rem);
bottom: clamp(1.5rem, 5vw, 4rem);
width: clamp(205px, 25vw, 265px);
padding: 1.3rem 1.4rem 1.4rem;
background: rgba(8, 11, 9, 0.79);
border: 1px solid rgba(181, 245, 0, 0.36);
border-radius: 2px;
box-shadow: 0 18px 45px rgba(0, 0, 0, 0.35), inset 0 0 32px rgba(181, 245, 0, 0.035);
backdrop-filter: blur(14px);
}
.fbf-stat-topline {
display: flex;
justify-content: space-between;
margin-bottom: 1.3rem;
color: var(--fbf-green);
font-size: 0.58rem;
}
.fbf-download-stat strong {
display: block;
margin-bottom: 0.35rem;
font-family: "Space Grotesk", sans-serif;
font-size: clamp(3.1rem, 6.5vw, 5.2rem);
font-weight: 600;
line-height: 0.9;
letter-spacing: -0.07em;
}
.fbf-download-stat strong span {
color: var(--fbf-green);
}
.fbf-download-stat p {
margin-bottom: 1rem;
font-size: 0.65rem;
}
.fbf-download-stat small {
display: block;
padding-top: 0.85rem;
color: var(--fbf-muted);
font-size: 0.52rem;
border-top: 1px solid var(--fbf-line);
}
.fbf-ecosystem {
padding: clamp(4rem, 8vw, 7.5rem) clamp(1.25rem, 6vw, 5rem);
background:
radial-gradient(circle at 0% 5%, rgba(168, 85, 247, 0.08), transparent 28%),
var(--fbf-black);
}
.fbf-section-intro {
display: grid;
grid-template-columns: minmax(0, 1.25fr) minmax(240px, 0.75fr);
column-gap: clamp(2rem, 7vw, 6rem);
align-items: end;
margin-bottom: clamp(2.5rem, 6vw, 5rem);
}
.fbf-section-intro .fbf-overline {
grid-column: 1 / -1;
}
.fbf-section-intro h2,
.fbf-model-heading h2 {
margin-bottom: 0;
font-size: clamp(2.45rem, 6vw, 5.4rem);
line-height: 0.95;
}
.fbf-section-intro > p:last-child {
margin-bottom: 0;
color: var(--fbf-muted);
font-size: 0.94rem;
line-height: 1.72;
}
.fbf-products {
display: grid;
gap: 1rem;
}
.fbf-product {
position: relative;
display: grid;
grid-template-columns: minmax(220px, 0.75fr) minmax(0, 1.25fr);
min-height: 330px;
overflow: hidden;
text-decoration: none;
background: var(--fbf-surface);
border: 1px solid var(--fbf-line);
border-radius: 10px;
transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}
.fbf-product:hover {
transform: translateY(-4px);
box-shadow: 0 24px 50px rgba(0, 0, 0, 0.3);
}
.fbf-product-vision:hover {
border-color: rgba(168, 85, 247, 0.65);
}
.fbf-product-sports:hover {
border-color: rgba(181, 245, 0, 0.55);
}
.fbf-product-agents:hover {
border-color: rgba(56, 189, 248, 0.6);
}
.fbf-product-image {
position: relative;
min-height: 250px;
background-image: var(--fbf-art);
background-repeat: no-repeat;
background-size: auto 110%;
filter: saturate(1.12) contrast(1.04);
}
.fbf-product-image::after {
position: absolute;
inset: 0;
content: "";
background: linear-gradient(90deg, transparent 40%, var(--fbf-surface) 100%);
}
.fbf-product-vision .fbf-product-image {
background-position: 4% center;
}
.fbf-product-sports .fbf-product-image {
background-position: 50% center;
}
.fbf-product-agents .fbf-product-image {
background-position: 96% center;
}
.fbf-product-content {
display: flex;
flex-direction: column;
justify-content: center;
padding: clamp(1.6rem, 4vw, 3.5rem);
}
.fbf-product-topline {
display: flex;
justify-content: space-between;
margin-bottom: 2.5rem;
font-size: 0.58rem;
}
.fbf-product-vision .fbf-product-topline,
.fbf-product-vision h3 > span {
color: var(--fbf-violet);
}
.fbf-product-sports .fbf-product-topline {
color: var(--fbf-green);
}
.fbf-product-agents .fbf-product-topline {
color: var(--fbf-cyan);
}
.fbf-product h3 {
margin-bottom: 0.85rem;
font-family: "Space Grotesk", sans-serif;
font-size: clamp(1.75rem, 4vw, 3.1rem);
line-height: 1;
letter-spacing: -0.055em;
}
.fbf-product p {
max-width: 560px;
margin-bottom: 1.6rem;
color: var(--fbf-muted);
font-size: 0.92rem;
line-height: 1.65;
}
.fbf-product ul {
display: flex;
flex-wrap: wrap;
gap: 0.4rem;
margin: 0;
padding: 0;
list-style: none;
}
.fbf-product li {
padding: 0.36rem 0.62rem;
color: #c2c9c4;
font-family: "DM Mono", monospace;
font-size: 0.55rem;
letter-spacing: 0.04em;
text-transform: uppercase;
background: rgba(255, 255, 255, 0.04);
border: 1px solid var(--fbf-line);
border-radius: 999px;
}
.fbf-model-layer {
padding: clamp(4rem, 8vw, 7.5rem) clamp(1.25rem, 6vw, 5rem);
background:
linear-gradient(rgba(255, 255, 255, 0.018) 1px, transparent 1px),
linear-gradient(90deg, rgba(255, 255, 255, 0.018) 1px, transparent 1px),
var(--fbf-surface);
background-size: 34px 34px;
border-top: 1px solid var(--fbf-line);
}
.fbf-model-heading {
display: flex;
align-items: flex-end;
justify-content: space-between;
gap: 2rem;
margin-bottom: clamp(3rem, 7vw, 5.5rem);
}
.fbf-model-cta {
display: inline-flex;
align-items: center;
justify-content: space-between;
min-width: 190px;
padding: 0.9rem 1rem;
font-family: "DM Mono", monospace;
font-size: 0.62rem;
letter-spacing: 0.04em;
text-decoration: none;
background: var(--fbf-ink);
border: 1px solid var(--fbf-ink);
color: var(--fbf-black) !important;
transition: background 160ms ease, color 160ms ease;
}
.fbf-model-cta:hover {
color: var(--fbf-ink) !important;
background: transparent;
}
.fbf-model-tracks {
border-top: 1px solid var(--fbf-line);
}
.fbf-track {
position: relative;
display: grid;
grid-template-columns: 52px minmax(0, 1fr) minmax(130px, 0.42fr);
gap: 1.2rem;
align-items: center;
min-height: 135px;
padding: 1.6rem 0;
border-bottom: 1px solid var(--fbf-line);
}
.fbf-track-number {
align-self: start;
padding-top: 0.35rem;
color: var(--fbf-muted);
font-family: "DM Mono", monospace;
font-size: 0.65rem;
}
.fbf-track h3 {
margin-bottom: 0.4rem;
font-family: "Space Grotesk", sans-serif;
font-size: clamp(1.25rem, 2.5vw, 2rem);
letter-spacing: -0.035em;
}
.fbf-track p {
max-width: 530px;
margin-bottom: 0;
color: var(--fbf-muted);
font-size: 0.83rem;
line-height: 1.55;
}
.fbf-track-line {
position: relative;
display: block;
height: 1px;
background: currentColor;
}
.fbf-track-line::after {
position: absolute;
top: -3px;
right: 0;
width: 7px;
height: 7px;
content: "";
background: currentColor;
border-radius: 50%;
box-shadow: 0 0 14px currentColor;
}
.fbf-track-purple .fbf-track-line {
color: var(--fbf-violet);
}
.fbf-track-green .fbf-track-line {
color: var(--fbf-green);
}
.fbf-track-cyan .fbf-track-line {
color: var(--fbf-cyan);
}
.fbf-footer {
display: flex;
align-items: center;
justify-content: space-between;
gap: 1rem;
min-height: 78px;
padding: 1.25rem clamp(1.25rem, 4.5vw, 3.5rem);
color: var(--fbf-muted);
font-size: 0.54rem;
background: var(--fbf-black);
border-top: 1px solid var(--fbf-line);
}
.fbf-footer div {
display: flex;
align-items: center;
gap: 0.55rem;
}
.fbf-footer p {
margin-bottom: 0;
}
.fbf-footer a {
color: var(--fbf-ink);
text-decoration: none;
}
.fbf-footer a:hover {
color: var(--fbf-green);
}
@media (max-width: 760px) {
.fbf-site {
border-radius: 12px;
}
.fbf-hero {
align-items: flex-start;
min-height: 700px;
}
.fbf-hero-art {
object-position: 45% center;
}
.fbf-hero-shade {
background:
linear-gradient(180deg, rgba(5, 7, 6, 0.88) 0%, rgba(5, 7, 6, 0.18) 42%, rgba(5, 7, 6, 0.94) 100%),
linear-gradient(90deg, rgba(5, 7, 6, 0.52), transparent);
}
.fbf-hero-copy {
width: 100%;
padding-top: 3.5rem;
}
.fbf-hero h1 {
font-size: clamp(3.35rem, 15vw, 5.8rem);
}
.fbf-intro {
max-width: 440px;
}
.fbf-download-stat {
right: 1.25rem;
bottom: 1.5rem;
left: 1.25rem;
width: auto;
}
.fbf-section-intro {
grid-template-columns: 1fr;
row-gap: 1.4rem;
}
.fbf-product {
grid-template-columns: 1fr;
}
.fbf-product-image {
min-height: 230px;
background-size: 145% auto;
}
.fbf-product-image::after {
background: linear-gradient(180deg, transparent 45%, var(--fbf-surface) 100%);
}
.fbf-product-vision .fbf-product-image {
background-position: left center;
}
.fbf-product-sports .fbf-product-image {
background-position: center center;
}
.fbf-product-agents .fbf-product-image {
background-position: right center;
}
.fbf-model-heading {
align-items: stretch;
flex-direction: column;
}
.fbf-model-cta {
width: 100%;
}
.fbf-track {
grid-template-columns: 36px minmax(0, 1fr);
}
.fbf-track-line {
display: none;
}
.fbf-footer {
align-items: flex-start;
flex-direction: column;
}
}
@media (max-width: 430px) {
.fbf-nav-meta {
display: none;
}
.fbf-hero {
min-height: 675px;
}
.fbf-hero h1 {
font-size: 3.55rem;
}
.fbf-product-content {
padding: 1.45rem;
}
.fbf-footer p {
display: none;
}
}
@media (prefers-reduced-motion: reduce) {
.fbf-product,
.fbf-model-cta {
transition: none;
}
}