Files
zeekay 1f308322ab Keep wide tables and specs inside a phone screen
At 390 pixels the blog's tables, the datasets tables and the model
card specs ran past the right edge, and body's overflow-x clip cut
them off rather than letting them scroll. Tables now scroll in their
own box, and a spec column shrinks and wraps instead of pushing its
neighbour out of the card.
2026-09-30 02:41:46 -07:00

1623 lines
39 KiB
CSS
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
:root {
/* Monochrome ink palette — smoke-glass dark zen */
--bg: #000000;
--bg-soft: #050506;
--ink-100: #f5f5f6;
--ink-200: #c9c9cd;
--ink-300: #9a9aa0;
--ink-400: #6c6c72;
--ink-500: #45454a;
--ink-600: #2a2a2e;
/* Smoke-glass surfaces */
--glass: rgba(255, 255, 255, 0.025);
--glass-strong: rgba(255, 255, 255, 0.05);
--glass-border: rgba(255, 255, 255, 0.08);
--glass-border-strong: rgba(255, 255, 255, 0.16);
--blur: blur(22px) saturate(120%);
/* Silver sheen for headings + ensō */
--sheen: linear-gradient(135deg, #ffffff 0%, #d4d4d8 45%, #8a8a90 100%);
/* Legacy aliases → remapped to monochrome so existing rules go grayscale */
--primary: #ededf0;
--primary-dark: #ffffff;
--secondary: #9a9aa0;
--accent: #d4d4d8;
--background: var(--bg);
--surface: var(--glass);
--surface-light: var(--glass-strong);
--text: var(--ink-100);
--text-secondary: var(--ink-200);
--text-muted: var(--ink-400);
--border: var(--glass-border);
--success: #d4d4d8;
--warning: #9a9aa0;
--gradient: var(--sheen);
}
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen',
'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;
background: var(--background);
color: var(--text);
line-height: 1.6;
overflow-x: hidden;
}
a {
color: var(--primary);
text-decoration: none;
transition: color 0.3s ease;
}
a:hover {
color: var(--primary-dark);
}
.container {
max-width: 1200px;
margin: 0 auto;
padding: 0 2rem;
}
/* Header & Navigation */
header {
background: rgba(0, 0, 0, 0.8);
backdrop-filter: blur(10px);
border-bottom: 1px solid var(--border);
position: sticky;
top: 0;
z-index: 100;
}
.navbar {
padding: 1.5rem 0;
}
.navbar .container {
display: flex;
justify-content: space-between;
align-items: center;
}
.logo {
display: flex;
align-items: center;
gap: 1rem;
}
.logo a {
display: flex;
align-items: center;
gap: 1rem;
text-decoration: none;
}
.logo-img {
width: 40px;
height: 40px;
color: var(--primary);
flex-shrink: 0;
}
.logo-img path {
fill: none;
}
/* Ensō (円相) — self-drawing brushstroke */
.enso {
display: block;
overflow: visible;
}
.enso-stroke {
fill: none;
stroke-dasharray: 1;
stroke-dashoffset: 1;
transform-origin: center;
animation: enso-draw 1.9s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}
.logo a:hover .enso-stroke {
animation: enso-draw 1.1s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}
@keyframes enso-draw {
0% {
stroke-dashoffset: 1;
opacity: 0.2;
}
20% {
opacity: 1;
}
100% {
stroke-dashoffset: 0;
opacity: 1;
}
}
@media (prefers-reduced-motion: reduce) {
.enso-stroke {
animation: none;
stroke-dashoffset: 0;
}
}
.logo-text h1 {
font-size: 2rem;
background: var(--gradient);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
background-clip: text;
margin-bottom: 0.25rem;
}
.header-right {
display: flex;
align-items: center;
gap: 2rem;
}
.logo-links {
display: flex;
gap: 1rem;
align-items: center;
}
.icon-link {
color: var(--text);
transition: all 0.3s ease;
display: flex;
align-items: center;
opacity: 0.8;
}
.icon-link:hover {
color: var(--primary);
transform: translateY(-2px);
opacity: 1;
}
.icon-link img {
width: 28px;
height: 28px;
}
.tagline {
font-size: 0.875rem;
color: var(--text-muted);
font-style: italic;
}
.nav-links {
display: flex;
gap: 2rem;
}
.nav-links a {
color: var(--text);
font-weight: 500;
transition: all 0.3s ease;
padding: 0.5rem 1rem;
border-radius: 0.5rem;
}
.nav-links a:hover {
background: var(--surface);
color: var(--primary);
}
/* Hero Section */
.hero {
padding: 6rem 0;
text-align: center;
background: var(--background);
}
.hero-stats {
display: none;
}
.hero-title {
font-size: 3.5rem;
font-weight: 700;
margin-bottom: 1rem;
background: var(--gradient);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
background-clip: text;
}
.hero-subtitle {
font-size: 1.5rem;
color: var(--text-secondary);
margin-bottom: 1.5rem;
}
.hero-description {
font-size: 1.125rem;
color: var(--text-muted);
max-width: 700px;
margin: 0 auto 2.5rem;
}
.hero-cta {
display: flex;
gap: 1rem;
justify-content: center;
flex-wrap: wrap;
}
/* Buttons */
.btn {
display: inline-block;
padding: 0.875rem 2rem;
border-radius: 0.5rem;
font-weight: 600;
transition: all 0.3s ease;
border: 2px solid transparent;
}
.btn-primary {
background: var(--gradient);
color: white;
}
.btn-primary:hover {
transform: translateY(-2px);
box-shadow: 0 10px 25px rgba(99, 102, 241, 0.3);
}
.btn-secondary {
background: transparent;
border-color: var(--primary);
color: var(--primary);
}
.btn-secondary:hover {
background: var(--primary);
color: white;
}
.btn-sm {
padding: 0.5rem 1.25rem;
font-size: 0.875rem;
}
/* Sections */
.models-section,
.architecture-section,
.downloads-section {
padding: 5rem 0;
}
.section-title {
font-size: 2.5rem;
text-align: center;
margin-bottom: 1rem;
background: var(--gradient);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
background-clip: text;
}
.section-subtitle {
text-align: center;
color: var(--text-muted);
font-size: 1.125rem;
margin-bottom: 3rem;
}
/* Models Grid */
.models-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
gap: 2rem;
margin-top: 3rem;
}
.model-card {
background: var(--surface);
border: 1px solid var(--border);
border-radius: 1rem;
padding: 2rem;
transition: all 0.3s ease;
position: relative;
overflow: hidden;
}
.model-card::before {
content: '';
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 4px;
background: var(--gradient);
opacity: 0;
transition: opacity 0.3s ease;
}
.model-card:hover {
transform: translateY(-5px);
border-color: var(--primary);
box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}
.model-card:hover::before {
opacity: 1;
}
.model-card.complete {
border-color: var(--success);
}
.model-header {
display: flex;
justify-content: space-between;
align-items: center;
margin-bottom: 1.5rem;
}
.model-header h3 {
font-size: 1.5rem;
color: var(--text);
}
.badge {
padding: 0.375rem 0.875rem;
border-radius: 2rem;
font-size: 0.75rem;
font-weight: 600;
text-transform: uppercase;
}
.badge-complete {
background: rgba(16, 185, 129, 0.2);
color: var(--success);
border: 1px solid var(--success);
}
.badge-pending {
background: rgba(245, 158, 11, 0.2);
color: var(--warning);
border: 1px solid var(--warning);
}
.model-specs {
display: grid;
grid-template-columns: repeat(2, minmax(0, 1fr));
gap: 1rem;
margin-bottom: 1.5rem;
}
.spec {
display: flex;
flex-direction: column;
}
.spec-label {
font-size: 0.75rem;
color: var(--text-muted);
text-transform: uppercase;
letter-spacing: 0.05em;
margin-bottom: 0.25rem;
}
.spec-value {
font-size: 1rem;
color: var(--text);
font-weight: 600;
overflow-wrap: anywhere;
}
.model-description {
color: var(--text-secondary);
margin-bottom: 1.5rem;
line-height: 1.6;
}
.model-formats {
display: flex;
flex-wrap: wrap;
gap: 0.5rem;
margin-bottom: 1.5rem;
}
.format-tag {
background: var(--surface-light);
color: var(--text-secondary);
padding: 0.375rem 0.75rem;
border-radius: 0.375rem;
font-size: 0.75rem;
font-weight: 500;
}
.model-actions {
display: flex;
gap: 0.75rem;
}
/* Architecture Section */
.architecture-section {
background: var(--background);
}
.arch-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
gap: 2rem;
margin-top: 3rem;
}
.arch-card {
text-align: center;
padding: 2rem;
background: var(--background);
border: 1px solid var(--border);
border-radius: 1rem;
transition: all 0.3s ease;
}
.arch-card:hover {
transform: translateY(-5px);
border-color: var(--primary);
}
.arch-icon {
font-size: 3rem;
margin-bottom: 1rem;
}
.arch-card h3 {
font-size: 1.25rem;
margin-bottom: 1rem;
color: var(--text);
}
.arch-card p {
color: var(--text-muted);
}
/* Downloads Section */
.download-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
gap: 2rem;
margin-top: 3rem;
}
.download-card {
background: var(--surface);
border: 1px solid var(--border);
border-radius: 1rem;
padding: 2.5rem;
text-align: center;
transition: all 0.3s ease;
}
.download-card:hover {
transform: translateY(-5px);
border-color: var(--primary);
}
.download-card h3 {
font-size: 1.75rem;
margin-bottom: 1rem;
color: var(--text);
}
.download-card p {
color: var(--text-muted);
margin-bottom: 1.5rem;
}
/* Footer */
footer {
background: var(--background);
border-top: 1px solid var(--border);
padding: 3rem 0 1.5rem;
margin-top: 5rem;
}
.footer-content {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
gap: 2rem;
margin-bottom: 2rem;
}
.footer-section h4 {
font-size: 1.125rem;
margin-bottom: 1rem;
color: var(--text);
}
.footer-section p {
color: var(--text-muted);
font-size: 0.875rem;
}
.footer-section ul {
list-style: none;
}
.footer-section ul li {
margin-bottom: 0.5rem;
}
.footer-section ul li a {
color: var(--text-muted);
font-size: 0.875rem;
transition: color 0.3s ease;
}
.footer-section ul li a:hover {
color: var(--primary);
}
.footer-bottom {
text-align: center;
padding-top: 2rem;
border-top: 1px solid var(--border);
color: var(--text-muted);
font-size: 0.875rem;
}
/* Featured Section */
.featured-section {
padding: 5rem 0;
background: linear-gradient(180deg, var(--surface-light) 0%, var(--background) 100%);
}
/* Dataset Section */
.dataset-section {
padding: 5rem 0;
background: var(--background);
}
/* Models Table */
.model-lineup {
overflow-x: auto;
margin: 2rem 0;
}
.models-table {
width: 100%;
border-collapse: collapse;
background: var(--surface);
border: 1px solid var(--border);
border-radius: 1rem;
overflow: hidden;
}
.models-table th,
.models-table td {
padding: 1rem 1.5rem;
text-align: left;
border-bottom: 1px solid var(--border);
}
.models-table th {
background: var(--surface-light);
color: var(--text-muted);
font-size: 0.75rem;
text-transform: uppercase;
letter-spacing: 0.05em;
font-weight: 600;
}
.models-table td {
color: var(--text);
}
.models-table tbody tr:hover {
background: var(--surface-light);
}
.models-table tbody tr:last-child td {
border-bottom: none;
}
/* Status Badges */
.status-trained {
display: inline-block;
padding: 0.375rem 0.875rem;
border-radius: 2rem;
font-size: 0.75rem;
font-weight: 600;
text-transform: uppercase;
background: rgba(16, 185, 129, 0.2);
color: var(--success);
border: 1px solid var(--success);
}
.status-training {
display: inline-block;
padding: 0.375rem 0.875rem;
border-radius: 2rem;
font-size: 0.75rem;
font-weight: 600;
text-transform: uppercase;
background: rgba(99, 102, 241, 0.2);
color: var(--primary);
border: 1px solid var(--primary);
animation: pulse 2s infinite;
}
.status-planned {
display: inline-block;
padding: 0.375rem 0.875rem;
border-radius: 2rem;
font-size: 0.75rem;
font-weight: 600;
text-transform: uppercase;
background: rgba(245, 158, 11, 0.2);
color: var(--warning);
border: 1px solid var(--warning);
}
.status-flagship {
display: inline-block;
padding: 0.15rem 0.5rem;
margin-left: 0.5rem;
border-radius: 0.25rem;
font-size: 0.65rem;
font-weight: 700;
letter-spacing: 0.05em;
text-transform: uppercase;
background: rgba(239, 68, 68, 0.1);
color: #ef4444;
border: 1px solid rgba(239, 68, 68, 0.3);
vertical-align: middle;
}
.status-cloud {
display: inline-block;
padding: 0.375rem 0.875rem;
border-radius: 2rem;
font-size: 0.75rem;
font-weight: 600;
text-transform: uppercase;
background: rgba(129, 140, 248, 0.15);
color: #818cf8;
border: 1px solid rgba(129, 140, 248, 0.35);
}
.badge-cloud {
background: rgba(129, 140, 248, 0.15);
color: #818cf8;
border: 1px solid rgba(129, 140, 248, 0.35);
}
.badge-planned {
background: rgba(245, 158, 11, 0.2);
color: var(--warning);
border: 1px solid var(--warning);
}
.model-card.flagship {
border-color: #ef4444;
}
.model-card.frontier {
border-color: #818cf8;
}
.flagship-row {
background: rgba(239, 68, 68, 0.04);
}
.models-table td code {
font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
font-size: 0.85em;
background: var(--surface-light);
padding: 0.1em 0.35em;
border-radius: 0.25em;
color: var(--text-secondary);
}
@keyframes pulse {
0%, 100% { opacity: 1; }
50% { opacity: 0.7; }
}
/* Additional Button Styles */
.btn-outline {
background: transparent;
border: 2px solid var(--text-muted);
color: var(--text);
}
.btn-outline:hover {
border-color: var(--primary);
color: var(--primary);
}
/* Code blocks in cards */
.download-card pre {
background: var(--surface-light);
border: 1px solid var(--border);
border-radius: 0.5rem;
padding: 1rem;
margin-top: 1rem;
overflow-x: auto;
}
.download-card code {
font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
font-size: 0.875rem;
color: var(--primary);
}
/* Nav active state */
.nav-links a.active {
background: var(--surface-light);
color: var(--primary);
}
/* Coder Features Grid */
.coder-features {
margin-top: 3rem;
}
.coder-features .arch-card h3 {
color: var(--primary);
margin-bottom: 0.75rem;
}
/* Responsive Design */
/* The header fits on one row from about 970px; narrower screens stack it. */
@media (max-width: 980px) {
.navbar .container {
flex-direction: column;
gap: 1rem;
}
.header-right {
flex-direction: column;
gap: 1rem;
}
}
@media (max-width: 768px) {
.nav-links {
gap: 1rem;
}
.logo-links {
justify-content: center;
}
.hero-title {
font-size: 2.5rem;
}
.hero-subtitle {
font-size: 1.25rem;
}
.models-grid {
grid-template-columns: 1fr;
}
.section-title {
font-size: 2rem;
}
}
@media (max-width: 480px) {
.container {
padding: 0 1rem;
}
.hero {
padding: 4rem 0;
}
.hero-title {
font-size: 2rem;
}
.header-right {
width: 100%;
}
.nav-links {
flex-wrap: wrap;
justify-content: center;
}
.logo-links {
justify-content: center;
}
}
/* ============================================================
SMOKE-GLASS REFINEMENT LAYER · monochrome zen modern
Loaded last so it overrides the legacy rules above.
============================================================ */
html {
scroll-behavior: smooth;
}
body {
background: var(--bg);
color: var(--ink-100);
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
letter-spacing: -0.011em;
}
/* Drifting monochrome smoke — fixed, behind everything */
body::before {
content: '';
position: fixed;
inset: -20vh -10vw;
z-index: -2;
background:
radial-gradient(38vw 38vw at 22% 8%, rgba(255, 255, 255, 0.055), transparent 60%),
radial-gradient(45vw 45vw at 85% 18%, rgba(255, 255, 255, 0.035), transparent 62%),
radial-gradient(50vw 40vw at 60% 100%, rgba(255, 255, 255, 0.03), transparent 65%);
filter: blur(30px);
opacity: 0.9;
animation: smoke-drift 28s ease-in-out infinite alternate;
pointer-events: none;
}
/* Fine film grain + top sheen vignette */
body::after {
content: '';
position: fixed;
inset: 0;
z-index: -1;
background:
linear-gradient(180deg, rgba(255, 255, 255, 0.022) 0%, transparent 18%),
radial-gradient(120% 80% at 50% -10%, transparent 60%, rgba(0, 0, 0, 0.6) 100%);
pointer-events: none;
}
@keyframes smoke-drift {
0% { transform: translate3d(-2%, -1%, 0) scale(1.02); opacity: 0.75; }
50% { transform: translate3d(2%, 1.5%, 0) scale(1.08); opacity: 1; }
100% { transform: translate3d(-1%, 2%, 0) scale(1.04); opacity: 0.8; }
}
@media (prefers-reduced-motion: reduce) {
body::before { animation: none; }
}
/* Headings — silver sheen, lighter zen weight, tighter tracking */
.hero-title,
.section-title,
.logo-text h1 {
background: var(--sheen);
-webkit-background-clip: text;
background-clip: text;
-webkit-text-fill-color: transparent;
font-weight: 600;
letter-spacing: -0.03em;
}
.hero-title {
font-size: clamp(2.6rem, 6vw, 4.25rem);
line-height: 1.05;
font-weight: 600;
}
.hero-subtitle {
color: var(--ink-200);
font-weight: 400;
letter-spacing: -0.01em;
}
.hero-description {
color: var(--ink-400);
}
.section-subtitle {
color: var(--ink-400);
}
/* Glass header */
header {
background: rgba(0, 0, 0, 0.45);
backdrop-filter: var(--blur);
-webkit-backdrop-filter: var(--blur);
border-bottom: 1px solid var(--glass-border);
}
.logo-text h1 {
font-size: 1.6rem;
}
.nav-links a {
color: var(--ink-300);
font-weight: 450;
}
.nav-links a:hover,
.nav-links a.active {
background: var(--glass-strong);
color: var(--ink-100);
}
.icon-link { color: var(--ink-300); }
.icon-link:hover { color: var(--ink-100); transform: translateY(-2px); }
/* Ensō — soft monochrome glow */
.enso { filter: drop-shadow(0 0 14px rgba(255, 255, 255, 0.18)); }
/* Glass surfaces — cards, tables, panels */
.model-card,
.arch-card,
.download-card,
.models-table {
background: var(--glass);
backdrop-filter: var(--blur);
-webkit-backdrop-filter: var(--blur);
border: 1px solid var(--glass-border);
box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04), 0 10px 40px rgba(0, 0, 0, 0.45);
}
.model-card:hover,
.arch-card:hover,
.download-card:hover {
transform: translateY(-4px);
border-color: var(--glass-border-strong);
background: var(--glass-strong);
box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06), 0 24px 60px rgba(0, 0, 0, 0.55);
}
/* Card top-accent → soft white sheen */
.model-card::before { background: linear-gradient(90deg, transparent, rgba(255,255,255,0.6), transparent); }
/* Buttons — frosted glass */
.btn {
border-radius: 0.65rem;
font-weight: 500;
letter-spacing: -0.01em;
backdrop-filter: var(--blur);
-webkit-backdrop-filter: var(--blur);
}
.btn-primary {
background: rgba(255, 255, 255, 0.92);
color: #050506;
border-color: transparent;
}
.btn-primary:hover {
background: #ffffff;
transform: translateY(-2px);
box-shadow: 0 12px 34px rgba(255, 255, 255, 0.16);
}
.btn-secondary {
background: var(--glass-strong);
border-color: var(--glass-border-strong);
color: var(--ink-100);
}
.btn-secondary:hover {
background: rgba(255, 255, 255, 0.1);
color: #ffffff;
}
.btn-outline {
border: 1px solid var(--glass-border-strong);
color: var(--ink-200);
background: transparent;
}
.btn-outline:hover {
border-color: rgba(255, 255, 255, 0.4);
color: #ffffff;
}
/* Tables */
.models-table th {
background: rgba(255, 255, 255, 0.03);
color: var(--ink-400);
font-weight: 500;
}
.models-table th,
.models-table td { border-bottom: 1px solid var(--glass-border); }
.models-table td { color: var(--ink-200); }
.models-table td strong { color: var(--ink-100); }
.models-table tbody tr { transition: background 0.25s ease; }
.models-table tbody tr:hover { background: rgba(255, 255, 255, 0.035); }
.models-table td code,
.format-tag {
background: rgba(255, 255, 255, 0.05);
color: var(--ink-200);
border: 1px solid var(--glass-border);
}
/* Featured section — flat smoke, no purple-tinted gradient */
.featured-section {
background: linear-gradient(180deg, rgba(255, 255, 255, 0.014) 0%, transparent 60%);
}
/* Monochrome status pills — quiet, glassy, no traffic-light colors */
.status-trained,
.status-training,
.status-planned,
.status-cloud,
.badge-complete,
.badge-pending,
.badge-cloud,
.badge-planned {
background: rgba(255, 255, 255, 0.05);
color: var(--ink-200);
border: 1px solid var(--glass-border);
font-weight: 500;
text-transform: uppercase;
letter-spacing: 0.06em;
}
.status-flagship {
background: rgba(255, 255, 255, 0.08);
color: #ffffff;
border: 1px solid var(--glass-border-strong);
}
/* Neutralize the leftover colored accents */
.model-card.flagship { border-color: var(--glass-border-strong); }
.model-card.frontier { border-color: var(--glass-border-strong); }
.flagship-row { background: rgba(255, 255, 255, 0.025); }
.model-card.complete { border-color: var(--glass-border); }
.coder-features .arch-card h3 { color: var(--ink-100); }
.download-card code { color: var(--ink-200); }
footer {
border-top: 1px solid var(--glass-border);
background: transparent;
}
.footer-section ul li a:hover,
.footer-section h4 { color: var(--ink-100); }
a { color: var(--ink-200); }
a:hover { color: #ffffff; }
/* ============================================================
POLISH LAYER · refined hover · symmetry · balance
============================================================ */
/* --- "Try Zen" top-right CTA pill (matches hanzo.ai) --- */
.btn-try {
display: inline-flex;
align-items: center;
gap: 0.4rem;
height: 2.25rem;
padding: 0 1.15rem;
border-radius: 999px;
background: rgba(255, 255, 255, 0.92);
color: #050506;
font-weight: 600;
font-size: 0.9rem;
letter-spacing: -0.01em;
white-space: nowrap;
border: 1px solid transparent;
backdrop-filter: var(--blur);
-webkit-backdrop-filter: var(--blur);
transition: background 0.25s ease, transform 0.2s ease, box-shadow 0.25s ease;
}
.btn-try:hover {
background: #ffffff;
color: #050506;
transform: translateY(-1px);
box-shadow: 0 10px 30px rgba(255, 255, 255, 0.16);
}
.btn-try svg {
transition: transform 0.2s ease;
}
.btn-try:hover svg {
transform: translateX(3px);
}
/* --- Refined nav hover: a drawn underline instead of a flat white swap --- */
.nav-links a {
position: relative;
color: var(--ink-300);
background: transparent;
transition: color 0.3s ease;
}
.nav-links a::after {
content: '';
position: absolute;
left: 1rem;
right: 1rem;
bottom: 0.3rem;
height: 1px;
background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.75), transparent);
transform: scaleX(0);
transform-origin: center;
transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}
.nav-links a:hover {
color: var(--ink-100);
background: transparent;
}
.nav-links a:hover::after {
transform: scaleX(1);
}
.nav-links a.active {
color: var(--ink-100);
background: var(--glass-strong);
}
.nav-links a.active::after {
transform: scaleX(0);
}
/* --- Body/footer links: gentle brighten, never a harsh pure-white snap --- */
a {
transition: color 0.3s ease, opacity 0.3s ease;
}
a:hover {
color: var(--ink-100);
}
.footer-section ul li a {
position: relative;
}
.footer-section ul li a:hover {
color: var(--ink-100);
}
/* --- Soft sheen wash that fades in on card hover (keeps the glass feel) --- */
.model-card,
.arch-card,
.download-card {
position: relative;
overflow: hidden;
}
.model-card::after,
.arch-card::after,
.download-card::after {
content: '';
position: absolute;
inset: 0;
background: radial-gradient(120% 80% at 50% -25%, rgba(255, 255, 255, 0.06), transparent 60%);
opacity: 0;
transition: opacity 0.4s ease;
pointer-events: none;
}
.model-card:hover::after,
.arch-card:hover::after,
.download-card:hover::after {
opacity: 1;
}
/* --- Symmetry & balance: fixed, even column counts per section --- */
.architecture-section .arch-grid {
grid-template-columns: repeat(3, 1fr); /* 6 "Why Zen" cards → 3×2 */
}
.dataset-section .arch-grid {
grid-template-columns: repeat(4, 1fr); /* 4 stat cards → 1×4 */
}
.downloads-section .download-grid {
grid-template-columns: repeat(4, 1fr); /* 4 download cards → 1×4 */
}
/* Equal-height cards with the CTA pinned to the bottom edge */
.download-card {
display: flex;
flex-direction: column;
}
.download-card .btn {
margin-top: auto;
}
/* Centered, consistent measure for section headings + tables */
.section-title,
.section-subtitle {
max-width: 760px;
margin-left: auto;
margin-right: auto;
}
.models-table {
margin-left: auto;
margin-right: auto;
}
@media (max-width: 900px) {
.architecture-section .arch-grid,
.dataset-section .arch-grid,
.downloads-section .download-grid {
grid-template-columns: repeat(2, 1fr);
}
}
@media (max-width: 560px) {
.architecture-section .arch-grid,
.dataset-section .arch-grid,
.downloads-section .download-grid {
grid-template-columns: 1fr;
}
}
/* ============================================================
NAV DROPDOWNS · hover mega-menus + uniform type scale
============================================================ */
/* Uniform sizing: logo wordmark === nav link size */
.logo a { gap: 0.55rem; }
.logo-img { width: 30px; height: 30px; }
.logo-text h1 {
font-size: 1rem;
font-weight: 600;
margin-bottom: 0;
letter-spacing: -0.01em;
line-height: 1;
}
.nav-links {
align-items: center;
gap: 1.5rem;
}
.nav-links > a,
.nav-item > a {
font-size: 1rem;
font-weight: 500;
line-height: 1;
display: inline-flex;
align-items: center;
gap: 0.3rem;
}
/* Trigger + caret */
.nav-item {
position: relative;
display: inline-flex;
align-items: center;
}
.nav-caret {
opacity: 0.55;
transition: transform 0.3s ease, opacity 0.3s ease;
}
.nav-item:hover .nav-caret {
transform: rotate(180deg);
opacity: 0.9;
}
/* Dropdown panel — hidden until the item is hovered */
.nav-dropdown {
position: absolute;
top: 100%;
left: 50%;
transform: translateX(-50%) translateY(-6px);
padding-top: 0.6rem; /* transparent hover bridge */
width: 320px;
opacity: 0;
visibility: hidden;
pointer-events: none;
transition: opacity 0.22s ease, transform 0.22s cubic-bezier(0.22, 1, 0.36, 1), visibility 0.22s;
z-index: 200;
}
.nav-dropdown-right {
left: auto;
right: 0;
transform: translateX(0) translateY(-6px);
}
.nav-item:hover .nav-dropdown {
opacity: 1;
visibility: visible;
pointer-events: auto;
transform: translateX(-50%) translateY(0);
}
.nav-dropdown-right.nav-dropdown,
.nav-item:hover .nav-dropdown-right {
transform: translateX(0) translateY(0);
}
.nav-dropdown-inner {
background: rgba(8, 8, 10, 0.94);
backdrop-filter: var(--blur);
-webkit-backdrop-filter: var(--blur);
border: 1px solid var(--glass-border);
border-radius: 1rem;
padding: 0.5rem;
box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05), 0 24px 60px rgba(0, 0, 0, 0.6);
}
/* Dropdown rows */
.dd-item {
display: flex;
align-items: center;
gap: 0.75rem;
padding: 0.7rem 0.8rem;
border-radius: 0.7rem;
color: var(--ink-200);
transition: background 0.2s ease;
}
.dd-item:hover {
background: var(--glass-strong);
}
.dd-item-text {
display: flex;
flex-direction: column;
gap: 0.15rem;
flex: 1;
min-width: 0;
}
.dd-item-label {
display: inline-flex;
align-items: center;
gap: 0.5rem;
font-size: 0.9rem;
font-weight: 600;
color: var(--ink-100);
}
.dd-item-desc {
font-size: 0.78rem;
line-height: 1.35;
color: var(--ink-400);
}
.dd-tag {
font-size: 0.58rem;
font-weight: 600;
letter-spacing: 0.08em;
text-transform: uppercase;
color: var(--ink-200);
background: rgba(255, 255, 255, 0.07);
border: 1px solid var(--glass-border);
border-radius: 0.3rem;
padding: 0.1rem 0.35rem;
}
.dd-arrow {
flex-shrink: 0;
color: var(--ink-500);
opacity: 0;
transform: translateX(-4px);
transition: opacity 0.2s ease, transform 0.2s ease, color 0.2s ease;
}
.dd-item:hover .dd-arrow {
opacity: 1;
transform: translateX(0);
color: var(--ink-200);
}
/* Dropdowns are a desktop (hover) affordance */
@media (max-width: 768px) {
.nav-dropdown,
.nav-caret { display: none; }
.nav-item { display: inline-flex; }
}
/* ============================================================
COMPLETE CATALOG · data-driven, all models → HF + paper
============================================================ */
.catalog-section { padding: 5rem 0; }
.catalog-groups {
display: grid;
grid-template-columns: repeat(2, 1fr);
gap: 1.5rem;
margin-top: 3rem;
}
.cat-group {
background: var(--glass);
backdrop-filter: var(--blur);
-webkit-backdrop-filter: var(--blur);
border: 1px solid var(--glass-border);
border-radius: 1rem;
padding: 1.25rem 1.25rem 0.75rem;
box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04), 0 10px 40px rgba(0, 0, 0, 0.4);
}
.cat-group-head {
display: flex;
align-items: baseline;
justify-content: space-between;
padding: 0 0.5rem 0.5rem;
border-bottom: 1px solid var(--glass-border);
}
.cat-group-head h3 {
font-size: 0.78rem;
font-weight: 600;
letter-spacing: 0.08em;
text-transform: uppercase;
color: var(--ink-300);
}
.cat-count {
font-size: 0.72rem;
color: var(--ink-500);
font-variant-numeric: tabular-nums;
}
.cat-list { display: flex; flex-direction: column; }
.cat-row {
display: flex;
align-items: center;
justify-content: space-between;
gap: 1rem;
padding: 0.7rem 0.5rem;
border-radius: 0.6rem;
transition: background 0.2s ease;
}
.cat-row:hover { background: var(--glass-strong); }
.cat-row-main { display: flex; flex-direction: column; gap: 0.15rem; min-width: 0; }
.cat-name { font-size: 0.92rem; font-weight: 600; color: var(--ink-100); }
.cat-meta { font-size: 0.74rem; color: var(--ink-400); }
.cat-links { display: flex; gap: 0.4rem; flex-shrink: 0; }
.cat-link {
font-size: 0.74rem;
font-weight: 600;
padding: 0.3rem 0.7rem;
border-radius: 999px;
background: rgba(255, 255, 255, 0.92);
color: #050506;
transition: background 0.2s ease, transform 0.15s ease;
}
.cat-link:hover { background: #fff; color: #050506; transform: translateY(-1px); }
.cat-link-ghost {
background: transparent;
border: 1px solid var(--glass-border-strong);
color: var(--ink-200);
}
.cat-link-ghost:hover { background: rgba(255, 255, 255, 0.08); color: #fff; }
@media (max-width: 768px) {
.catalog-groups { grid-template-columns: 1fr; }
.cat-row { flex-wrap: wrap; }
}
/* Research — paper chips */
.paper-grid {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
gap: 0.5rem;
padding: 0.5rem;
}
.paper-chip {
display: flex;
align-items: center;
justify-content: space-between;
gap: 0.75rem;
padding: 0.7rem 0.9rem;
border-radius: 0.6rem;
border: 1px solid var(--glass-border);
background: var(--glass);
color: var(--ink-200);
transition: background 0.2s ease, border-color 0.2s ease, transform 0.15s ease;
}
.paper-chip:hover {
background: var(--glass-strong);
border-color: var(--glass-border-strong);
color: #fff;
transform: translateY(-1px);
}
.paper-chip-title { font-size: 0.86rem; font-weight: 500; }
.paper-chip-action { font-size: 0.72rem; color: var(--ink-400); flex-shrink: 0; }
.paper-chip:hover .paper-chip-action { color: var(--ink-200); }
/* ============================================================
BLOG · list + article prose, monochrome
============================================================ */
.blog-list { display: flex; flex-direction: column; gap: 0.75rem; margin-top: 2rem; }
.blog-card {
display: block;
padding: 1.5rem 1.75rem;
border-radius: 1rem;
border: 1px solid var(--glass-border);
background: var(--glass);
backdrop-filter: var(--blur);
-webkit-backdrop-filter: var(--blur);
transition: border-color 0.2s ease, background 0.2s ease, transform 0.15s ease;
}
.blog-card:hover { border-color: var(--glass-border-strong); background: var(--glass-strong); transform: translateY(-2px); }
.blog-card-meta { font-size: 0.74rem; color: var(--ink-400); text-transform: uppercase; letter-spacing: 0.06em; }
.blog-card-title { font-size: 1.3rem; font-weight: 600; color: var(--ink-100); margin: 0.4rem 0 0.4rem; letter-spacing: -0.02em; }
.blog-card-desc { color: var(--ink-300); font-size: 0.95rem; line-height: 1.55; }
.blog-card-tags { display: flex; gap: 0.4rem; margin-top: 0.9rem; flex-wrap: wrap; }
.blog-tag {
font-size: 0.68rem; font-weight: 500; letter-spacing: 0.04em; text-transform: uppercase;
color: var(--ink-300); background: rgba(255,255,255,0.05);
border: 1px solid var(--glass-border); border-radius: 0.35rem; padding: 0.15rem 0.5rem;
}
/* Article */
.blog-article { max-width: 760px; margin: 0 auto; padding: 4rem 1.5rem 6rem; }
.blog-back { display: inline-block; color: var(--ink-400); font-size: 0.85rem; margin-bottom: 2rem; }
.blog-back:hover { color: var(--ink-100); }
.blog-post-meta { font-size: 0.78rem; color: var(--ink-400); text-transform: uppercase; letter-spacing: 0.06em; }
.blog-post-title {
font-size: clamp(2rem, 4.5vw, 3rem); font-weight: 600; line-height: 1.1; letter-spacing: -0.03em;
margin: 0.6rem 0 0.8rem;
background: var(--sheen); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.blog-post-lede { font-size: 1.2rem; color: var(--ink-300); line-height: 1.5; margin-bottom: 2.5rem; }
/* Prose */
.blog-prose { color: var(--ink-200); font-size: 1.05rem; line-height: 1.75; }
.blog-prose h2 { font-size: 1.6rem; font-weight: 600; color: var(--ink-100); margin: 2.5rem 0 1rem; letter-spacing: -0.02em; }
.blog-prose h3 { font-size: 1.25rem; font-weight: 600; color: var(--ink-100); margin: 2rem 0 0.75rem; }
.blog-prose p { margin: 0 0 1.25rem; }
.blog-prose a { color: #fff; text-decoration: underline; text-underline-offset: 2px; text-decoration-color: rgba(255,255,255,0.3); }
.blog-prose a:hover { text-decoration-color: #fff; }
.blog-prose strong { color: var(--ink-100); }
.blog-prose ul, .blog-prose ol { margin: 0 0 1.25rem 1.5rem; }
.blog-prose li { margin: 0.4rem 0; }
.blog-prose blockquote { border-left: 2px solid var(--glass-border-strong); padding-left: 1.25rem; margin: 1.5rem 0; color: var(--ink-300); font-style: italic; }
.blog-prose img { max-width: 100%; border-radius: 0.75rem; border: 1px solid var(--glass-border); margin: 1.5rem 0; }
.blog-prose pre {
background: rgba(255,255,255,0.04); border: 1px solid var(--glass-border); border-radius: 0.75rem;
padding: 1.25rem; overflow-x: auto; margin: 1.5rem 0; font-size: 0.88rem; line-height: 1.6;
}
.blog-prose code { font-family: 'Monaco','Menlo','Ubuntu Mono',monospace; font-size: 0.88em; }
.blog-prose :not(pre) > code { background: rgba(255,255,255,0.06); border: 1px solid var(--glass-border); padding: 0.1em 0.35em; border-radius: 0.3em; color: var(--ink-100); }
.blog-prose table { display: block; max-width: 100%; overflow-x: auto; border-collapse: collapse; margin: 1.5rem 0; font-size: 0.92rem; }
.blog-prose th, .blog-prose td { border: 1px solid var(--glass-border); padding: 0.6rem 0.9rem; text-align: left; }
.blog-prose th { background: rgba(255,255,255,0.04); color: var(--ink-300); font-weight: 600; }
.blog-prose hr { border: none; border-top: 1px solid var(--glass-border); margin: 2.5rem 0; }
.blog-fallback { color: var(--ink-300); }
/* Blog shortcodes */
.blog-linkbtn {
display: inline-flex; align-items: center; gap: 0.4rem; margin: 0 0.5rem 0.5rem 0;
padding: 0.4rem 0.9rem; border-radius: 999px; font-size: 0.74rem; font-weight: 600;
letter-spacing: 0.04em; text-transform: uppercase;
border: 1px solid var(--glass-border-strong); color: var(--ink-200); background: var(--glass-strong);
text-decoration: none;
}
.blog-linkbtn:hover { background: rgba(255,255,255,0.1); color: #fff; }
.blog-figure { margin: 1.75rem 0; text-align: center; }
.blog-figure figcaption { font-size: 0.82rem; color: var(--ink-400); margin-top: 0.5rem; }
.blog-fullwidth { margin: 1.75rem 0; }
.blog-video { width: 100%; border-radius: 0.75rem; border: 1px solid var(--glass-border); margin: 1.5rem 0; }
/* ============================================================
LOOK & FEEL v2 · hero centerpiece, entrance, scroll reveal
============================================================ */
/* Large faint ensō slowly rotating behind the hero */
.hero { position: relative; overflow: hidden; }
.hero::before {
content: '';
position: absolute;
top: 46%;
left: 50%;
width: min(620px, 78vw);
aspect-ratio: 1;
transform: translate(-50%, -50%);
background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100' fill='none'%3E%3Cpath d='M58 13 C38 9 17 22 13 44 C9 68 26 89 50 90 C74 91 91 74 89 50 C88 41 87 35 84 30' stroke='%23ffffff' stroke-width='4.5' stroke-linecap='round'/%3E%3C/svg%3E") center/contain no-repeat;
opacity: 0.05;
filter: blur(0.4px);
animation: hero-enso-spin 64s linear infinite;
pointer-events: none;
z-index: 0;
}
.hero .container { position: relative; z-index: 1; }
@keyframes hero-enso-spin { to { transform: translate(-50%, -50%) rotate(360deg); } }
/* Staggered hero entrance on load */
@keyframes rise {
from { opacity: 0; transform: translateY(18px); }
to { opacity: 1; transform: translateY(0); }
}
.hero-title { animation: rise 0.9s cubic-bezier(0.22, 1, 0.36, 1) both; }
.hero-subtitle { animation: rise 0.9s 0.08s cubic-bezier(0.22, 1, 0.36, 1) both; }
.hero-description { animation: rise 0.9s 0.16s cubic-bezier(0.22, 1, 0.36, 1) both; }
.hero-cta { animation: rise 0.9s 0.24s cubic-bezier(0.22, 1, 0.36, 1) both; }
/* Scroll reveal — only active when JS adds .js-reveal to <html> (no FOUC fallback) */
.js-reveal .reveal-item {
opacity: 0;
transform: translateY(22px);
transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
will-change: opacity, transform;
}
.js-reveal .reveal-item.in-view {
opacity: 1;
transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
.hero::before { animation: none; }
.hero-title, .hero-subtitle, .hero-description, .hero-cta { animation: none; }
.js-reveal .reveal-item { opacity: 1; transform: none; transition: none; }
}