Files
bonzi-homepage/style.css
T
2026-07-07 17:36:16 +00:00

1074 lines
26 KiB
CSS

/* bonzi homepage - portfolio, monochrome, terminal accent */
:root {
--bg: #020202;
--bg-raised: #0b0b0a;
--bg-soft: #10100e;
--fg: #e6e6e6;
--fg-2: #a0a0a0;
--dim: #6b6b6b;
--dim-2: #4a4a4a;
--line: #1c1c1c;
--line-2: #2a2a2a;
--accent: #ffffff;
--glow: rgba(108, 255, 108, 0.08);
--green: #6cff6c;
--green-soft: #3a8a3a;
--warn: #ffcb6c;
--off: #555;
--scan: rgba(255, 255, 255, 0.025);
--grain-opacity: 0.022;
--max: 1080px;
--gutter: clamp(20px, 4vw, 32px);
--radius: 0;
}
* {
box-sizing: border-box;
margin: 0;
padding: 0;
border-radius: var(--radius);
}
html { scroll-behavior: smooth; }
html, body {
background: var(--bg);
color: var(--fg);
font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
font-size: 16px;
line-height: 1.65;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
font-feature-settings: "ss01" 1, "cv11" 1;
min-height: 100vh;
overflow-x: hidden;
}
body::before {
content: '';
position: fixed;
inset: 0;
pointer-events: none;
z-index: 0;
background:
radial-gradient(circle at 78% 12%, var(--glow), transparent 26rem),
linear-gradient(115deg, transparent 0 42%, rgba(255,255,255,0.018) 42% 42.2%, transparent 42.2% 100%);
}
body > *:not(.scanlines):not(.grain) { position: relative; z-index: 1; }
::selection { background: var(--fg); color: var(--bg); }
code, kbd, .mono {
font-family: 'JetBrains Mono', ui-monospace, 'SFMono-Regular', Menlo, Consolas, monospace;
font-feature-settings: "calt" 0;
}
/* ── Scanlines + grain ─────────────────────────────────── */
.scanlines {
position: fixed;
inset: 0;
pointer-events: none;
background: repeating-linear-gradient(
to bottom, transparent 0, transparent 2px,
var(--scan) 2px, var(--scan) 3px
);
z-index: 1000;
mix-blend-mode: overlay;
}
.grain {
position: fixed;
inset: 0;
pointer-events: none;
opacity: var(--grain-opacity);
z-index: 999;
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.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
background-size: 200px 200px;
mix-blend-mode: overlay;
}
/* ── Skip link ─────────────────────────────────────────── */
.skip-link {
position: absolute;
top: -100px;
left: 16px;
z-index: 10000;
background: var(--fg);
color: var(--bg);
padding: 8px 12px;
font-family: 'JetBrains Mono', monospace;
font-size: 12px;
text-decoration: none;
}
.skip-link:focus { top: 16px; }
/* ── Topbar ────────────────────────────────────────────── */
.topbar {
position: sticky;
top: 0;
z-index: 100;
display: flex;
align-items: center;
justify-content: space-between;
padding: 18px var(--gutter);
border-bottom: 1px solid var(--line);
background: color-mix(in oklab, var(--bg) 88%, transparent);
backdrop-filter: blur(10px);
-webkit-backdrop-filter: blur(10px);
}
.brand {
display: inline-flex;
align-items: center;
gap: 10px;
text-decoration: none;
color: var(--fg);
}
.brand .mark {
font-size: 18px;
line-height: 1;
color: var(--fg);
font-family: 'JetBrains Mono', monospace;
}
.brand .wordmark {
font-family: 'JetBrains Mono', monospace;
font-weight: 500;
font-size: 15px;
letter-spacing: -0.01em;
}
.brand .role-tag {
font-family: 'JetBrains Mono', monospace;
font-size: 10px;
text-transform: uppercase;
letter-spacing: 0.1em;
padding: 2px 6px;
border: 1px solid var(--green-soft);
color: var(--green);
margin-left: 4px;
}
.nav { display: flex; align-items: center; gap: 28px; }
.nav-mobile { display: none; }
.nav a,
.nav-mobile a {
font-family: 'JetBrains Mono', monospace;
font-size: 12.5px;
color: var(--fg-2);
text-decoration: none;
letter-spacing: 0.01em;
transition: color 0.15s ease, border-color 0.15s ease, background 0.15s ease;
position: relative;
}
.nav a::before,
.nav-mobile a::before {
content: '/';
color: var(--dim-2);
margin-right: 6px;
font-weight: 400;
}
.nav a:hover,
.nav-mobile a:hover { color: var(--fg); }
.nav a:hover::before,
.nav-mobile a:hover::before { color: var(--green); }
/* ── Sections ──────────────────────────────────────────── */
main { padding: 0; }
.section {
max-width: var(--max);
margin: 0 auto;
padding: clamp(64px, 10vw, 112px) var(--gutter);
border-top: 1px solid var(--line);
}
.section-head {
display: grid;
grid-template-columns: 1fr;
align-items: baseline;
row-gap: 8px;
margin-bottom: 48px;
padding-bottom: 18px;
border-bottom: 1px solid var(--line);
}
.section-head h2 {
font-family: 'Space Grotesk', 'Inter', sans-serif;
font-weight: 700;
font-size: clamp(25px, 3.6vw, 42px);
line-height: 1.02;
letter-spacing: -0.045em;
color: var(--fg);
}
.section-sub {
grid-column: 1;
font-family: 'JetBrains Mono', monospace;
font-size: 12px;
color: var(--dim);
margin-top: 4px;
}
/* ── Hero ──────────────────────────────────────────────── */
.hero {
max-width: var(--max);
margin: 0 auto;
padding: clamp(64px, 10vw, 120px) var(--gutter) clamp(48px, 8vw, 80px);
display: grid;
grid-template-columns: 1.3fr 0.9fr;
gap: clamp(32px, 6vw, 80px);
align-items: center;
min-height: 80vh;
}
.hero-text { max-width: 580px; }
.eyebrow {
display: inline-flex;
align-items: center;
gap: 8px;
font-family: 'JetBrains Mono', monospace;
font-size: 11px;
color: var(--dim);
letter-spacing: 0.04em;
text-transform: uppercase;
margin-bottom: 28px;
}
.status-dot {
display: inline-block;
width: 7px;
height: 7px;
background: var(--green);
border-radius: 50%;
vertical-align: middle;
box-shadow: 0 0 8px var(--green);
animation: pulse 2.4s ease-in-out infinite;
}
@keyframes pulse {
0%, 100% { opacity: 1; transform: scale(1); }
50% { opacity: 0.5; transform: scale(0.92); }
}
.name {
font-family: 'Space Grotesk', 'Inter', sans-serif;
font-weight: 700;
font-size: clamp(2.6rem, 7vw, 5.2rem);
line-height: 0.95;
letter-spacing: -0.04em;
margin-bottom: 28px;
display: flex;
flex-direction: column;
gap: 4px;
}
.name .first { color: var(--fg); }
.name .last {
font-family: 'JetBrains Mono', monospace;
font-weight: 400;
font-size: 0.22em;
letter-spacing: 0.06em;
text-transform: uppercase;
color: var(--green);
margin-top: 14px;
}
.lede {
font-size: clamp(15px, 1.4vw, 18px);
line-height: 1.6;
color: var(--fg-2);
max-width: 52ch;
margin-bottom: 32px;
}
.cta-row {
display: flex;
flex-wrap: wrap;
gap: 12px;
margin-bottom: 36px;
}
.btn {
display: inline-flex;
align-items: center;
padding: 12px 20px;
font-family: 'JetBrains Mono', monospace;
font-size: 13px;
font-weight: 500;
text-decoration: none;
border: 1px solid var(--line-2);
background: transparent;
color: var(--fg);
letter-spacing: 0.01em;
transition: border-color 0.15s ease, background 0.15s ease, color 0.15s ease;
}
.btn:hover {
border-color: var(--fg);
background: var(--fg);
color: var(--bg);
}
.btn.ghost {
border-color: var(--line);
color: var(--fg-2);
}
.btn.ghost:hover {
border-color: var(--green);
background: transparent;
color: var(--green);
}
/* Quick stats row */
.stats {
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: 0;
border-top: 1px solid var(--line);
border-bottom: 1px solid var(--line);
}
.stats > div {
padding: 14px 16px 14px 0;
border-right: 1px solid var(--line);
}
.stats > div:last-child { border-right: none; padding-right: 0; }
.stats dt {
font-family: 'JetBrains Mono', monospace;
font-size: 10px;
text-transform: uppercase;
letter-spacing: 0.08em;
color: var(--dim);
margin-bottom: 6px;
}
.stats dd {
font-family: 'JetBrains Mono', monospace;
font-size: 13px;
color: var(--fg);
font-weight: 500;
}
/* ── Portrait ──────────────────────────────────────────── */
.portrait {
position: relative;
display: grid;
text-decoration: none;
width: min(100%, 420px);
aspect-ratio: 1 / 1;
border: 1px solid var(--line);
background: var(--bg-raised);
overflow: visible;
}
.portrait img {
position: relative;
z-index: 1;
width: 100%;
height: 100%;
object-fit: cover;
object-position: 50% 50%;
filter: grayscale(100%) contrast(1.05);
display: block;
border: 1px solid var(--line);
background: var(--bg-raised);
transition: filter 0.25s ease, border-color 0.25s ease;
}
.portrait:hover img {
filter: grayscale(80%) contrast(1.05);
}
.portrait:hover {
border-color: var(--green-soft);
}
.portrait::before,
.portrait::after {
content: '';
position: absolute;
width: 58px;
height: 58px;
border-color: var(--green);
border-style: solid;
border-width: 0;
opacity: 0.9;
z-index: 4;
pointer-events: none;
transition: opacity 0.2s ease, transform 0.2s ease;
}
.portrait::before {
top: -12px; left: -12px;
border-top-width: 2px;
border-left-width: 2px;
}
.portrait::after {
bottom: -12px; right: -12px;
border-bottom-width: 2px;
border-right-width: 2px;
}
.portrait:hover::before,
.portrait:hover::after { opacity: 1; transform: scale(1.04); }
.portrait-corner {
display: none;
}
.portrait-tag {
position: absolute;
top: 12px;
right: 12px;
font-family: 'JetBrains Mono', monospace;
font-size: 10px;
text-transform: uppercase;
letter-spacing: 0.08em;
color: var(--green);
background: var(--bg);
border: 1px solid var(--green-soft);
padding: 4px 8px;
opacity: 0;
transform: translateY(-4px);
transition: opacity 0.2s ease, transform 0.2s ease;
}
.portrait:hover .portrait-tag {
opacity: 1;
transform: translateY(0);
}
.section-image {
max-width: var(--max);
margin: -24px auto 0;
padding: 0 var(--gutter) clamp(56px, 8vw, 92px);
display: flex;
justify-content: center;
border-top: 1px solid var(--line);
}
.section-image img {
width: min(58vw, 340px);
height: auto;
aspect-ratio: 1 / 1;
object-fit: contain;
filter: grayscale(100%) contrast(1.08) drop-shadow(0 20px 38px rgba(0,0,0,0.62));
border: none;
background: transparent;
}
/* ── Prose ─────────────────────────────────────────────── */
.prose p {
font-size: clamp(15px, 1.3vw, 17px);
line-height: 1.75;
color: var(--fg-2);
max-width: 60ch;
margin-bottom: 1.1em;
}
.prose p:last-child { margin-bottom: 0; }
/* ── Capabilities / Work ───────────────────────────────── */
.caps {
list-style: none;
counter-reset: capability;
display: grid;
grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
gap: 12px;
background: transparent;
border: 1px solid var(--line);
padding: 12px;
}
.cap {
counter-increment: capability;
display: block;
padding: 24px 22px;
background: linear-gradient(180deg, color-mix(in oklab, var(--bg-soft) 86%, transparent), var(--bg));
border: 1px solid var(--line);
transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}
.cap:hover { background: var(--bg-raised); border-color: var(--line-2); transform: translateY(-1px); }
.cap::before {
content: counter(capability, decimal-leading-zero);
display: block;
font-family: 'JetBrains Mono', monospace;
font-size: 11px;
color: var(--green);
letter-spacing: 0.08em;
margin-bottom: 12px;
}
.cap h3 {
font-family: 'Space Grotesk', 'Inter', sans-serif;
font-weight: 700;
font-size: 17px;
color: var(--fg);
margin-bottom: 6px;
letter-spacing: -0.01em;
}
.cap p {
font-size: 13.5px;
line-height: 1.6;
color: var(--fg-2);
}
/* ── Blog / writeups ───────────────────────────────────── */
.blog-hero {
min-height: 56vh;
grid-template-columns: 1fr;
padding-bottom: clamp(40px, 7vw, 72px);
}
.post-list {
display: grid;
gap: 12px;
max-width: 900px;
}
.post-card {
display: block;
border: 1px solid var(--line);
background: linear-gradient(180deg, var(--bg-raised), var(--bg));
padding: clamp(22px, 4vw, 36px);
max-width: 860px;
text-decoration: none;
color: inherit;
}
.post-link { cursor: pointer; }
.post-card:hover { border-color: var(--green-soft); background: var(--bg-soft); }
.post-meta {
display: flex;
flex-wrap: wrap;
align-items: center;
gap: 10px 14px;
margin-bottom: 18px;
}
.post-date {
font-family: 'JetBrains Mono', monospace;
font-size: 11px;
color: var(--dim);
text-transform: uppercase;
letter-spacing: 0.08em;
}
.post-card h3 {
font-family: 'Space Grotesk', 'Inter', sans-serif;
font-weight: 700;
font-size: clamp(24px, 4vw, 38px);
line-height: 1.05;
letter-spacing: -0.035em;
margin-bottom: 18px;
color: var(--fg);
}
.post-card p {
color: var(--fg-2);
font-size: clamp(15px, 1.3vw, 17px);
line-height: 1.75;
max-width: 68ch;
margin-bottom: 1em;
}
.post-points {
margin-top: 22px;
padding-top: 18px;
border-top: 1px solid var(--line);
list-style: none;
display: grid;
gap: 10px;
}
.post-points li {
position: relative;
padding-left: 20px;
color: var(--fg-2);
font-family: 'JetBrains Mono', monospace;
font-size: 13px;
line-height: 1.55;
}
.post-points li::before {
content: '>';
position: absolute;
left: 0;
color: var(--green);
}
.read-more,
.backlink {
display: inline-flex;
align-items: center;
width: fit-content;
margin-top: 14px;
font-family: 'JetBrains Mono', monospace;
font-size: 12px;
color: var(--green);
text-decoration: none;
border-bottom: 1px dashed var(--green-soft);
}
.backlink { margin: 0 0 34px; color: var(--fg-2); border-bottom-color: var(--dim); }
.backlink:hover { color: var(--green); border-bottom-color: var(--green); }
.article-page { max-width: 900px; }
.article-head {
padding-bottom: 28px;
margin-bottom: 30px;
border-bottom: 1px solid var(--line);
}
.article-head h1 {
font-family: 'Space Grotesk', 'Inter', sans-serif;
font-weight: 700;
font-size: clamp(2.35rem, 6.5vw, 4.6rem);
line-height: 0.98;
letter-spacing: -0.05em;
color: var(--fg);
margin-bottom: 22px;
max-width: 11ch;
}
.article-lede {
color: var(--fg-2);
font-size: clamp(16px, 1.6vw, 20px);
line-height: 1.65;
max-width: 58ch;
}
.article-body {
max-width: 72ch;
}
.article-body p {
color: var(--fg-2);
font-size: clamp(15px, 1.25vw, 17px);
line-height: 1.8;
margin-bottom: 1.25em;
}
.article-body h2 {
font-family: 'JetBrains Mono', monospace;
font-size: 13px;
color: var(--green);
text-transform: uppercase;
letter-spacing: 0.1em;
margin: 34px 0 12px;
padding-bottom: 8px;
border-bottom: 1px solid var(--line);
}
.article-body .post-points {
margin-bottom: 24px;
}
/* ── Stack grid ────────────────────────────────────────── */
.stack-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
gap: 12px;
background: transparent;
border: 1px solid var(--line);
padding: 12px;
}
.stack-col {
background: linear-gradient(180deg, var(--bg-raised), var(--bg));
border: 1px solid var(--line);
padding: 22px 22px 26px;
transition: background 0.2s ease, border-color 0.2s ease;
}
.stack-col:hover { background: var(--bg-soft); border-color: var(--line-2); }
.stack-cat {
font-family: 'JetBrains Mono', monospace;
font-size: 11px;
text-transform: uppercase;
letter-spacing: 0.1em;
color: var(--green);
margin-bottom: 14px;
padding-bottom: 10px;
border-bottom: 1px solid var(--line);
}
.stack-col ul { list-style: none; }
.stack-col li {
display: flex;
align-items: center;
gap: 10px;
padding: 5px 0;
font-size: 13.5px;
font-family: 'JetBrains Mono', monospace;
color: var(--fg);
}
.stack-col li em {
font-style: normal;
color: var(--dim);
font-size: 11px;
margin-left: 4px;
}
.stack-col .dot {
display: inline-block;
width: 6px;
height: 6px;
background: var(--green);
border-radius: 50%;
flex-shrink: 0;
}
.stack-col .dot.warn { background: var(--warn); }
/* ── Now list ──────────────────────────────────────────── */
.now-list {
list-style: none;
display: flex;
flex-direction: column;
gap: 10px;
background: transparent;
border: 1px solid var(--line);
padding: 10px;
}
.now-list li {
display: grid;
grid-template-columns: 110px 1fr;
gap: 18px;
align-items: start;
padding: 20px 22px;
background: linear-gradient(180deg, var(--bg-raised), var(--bg));
border: 1px solid var(--line);
transition: background 0.2s ease, border-color 0.2s ease;
}
.now-list li:hover { background: var(--bg-soft); border-color: var(--line-2); }
.now-list h3 {
font-family: 'Space Grotesk', 'Inter', sans-serif;
font-weight: 700;
font-size: 17px;
color: var(--fg);
margin-bottom: 4px;
letter-spacing: -0.01em;
}
.now-list p {
font-size: 13.5px;
line-height: 1.6;
color: var(--fg-2);
}
.now-mark {
font-family: 'JetBrains Mono', monospace;
font-size: 10.5px;
font-weight: 500;
text-transform: uppercase;
letter-spacing: 0.08em;
padding: 4px 8px;
border: 1px solid var(--line-2);
text-align: center;
width: fit-content;
margin-top: 1px;
}
.now-mark.shipping { color: var(--green); border-color: var(--green-soft); }
.now-mark.exploring { color: var(--fg-2); }
.now-mark.paused { color: var(--off); }
/* ── Principles ────────────────────────────────────────── */
.principles {
list-style: none;
counter-reset: principle;
max-width: 64ch;
}
.principles li {
counter-increment: principle;
display: block;
align-items: baseline;
padding: 18px 0 18px 24px;
border-bottom: 1px solid var(--line);
border-left: 1px solid var(--line-2);
font-size: clamp(15px, 1.3vw, 17px);
line-height: 1.6;
color: var(--fg-2);
}
.principles li:first-child { padding-top: 0; }
.principles li:last-child { border-bottom: none; padding-bottom: 0; }
.principles li::before {
content: counter(principle, decimal-leading-zero);
display: block;
font-family: 'JetBrains Mono', monospace;
font-size: 11px;
color: var(--green);
letter-spacing: 0.08em;
margin-bottom: 6px;
}
/* ── Links ─────────────────────────────────────────────── */
.links {
list-style: none;
display: flex;
flex-direction: column;
gap: 10px;
background: transparent;
border: 1px solid var(--line);
padding: 10px;
}
.links li {
display: grid;
grid-template-columns: 28px auto 1fr;
gap: 12px;
align-items: baseline;
padding: 18px 22px;
background: var(--bg-raised);
border: 1px solid var(--line);
transition: background 0.2s ease, border-color 0.2s ease;
}
.links li:hover { background: var(--bg-soft); border-color: var(--line-2); }
.links .arrow {
color: var(--dim);
font-family: 'JetBrains Mono', monospace;
}
.links a {
font-family: 'JetBrains Mono', monospace;
font-size: 14px;
color: var(--fg);
text-decoration: none;
border-bottom: 1px dashed var(--dim);
transition: border-color 0.15s ease, color 0.15s ease;
}
.links a:hover {
color: var(--green);
border-bottom-color: var(--green);
}
.link-desc {
font-size: 13px;
color: var(--dim);
}
/* ── Footer ────────────────────────────────────────────── */
.footer {
max-width: var(--max);
margin: 0 auto;
padding: 28px var(--gutter) 40px;
border-top: 1px solid var(--line);
background: linear-gradient(180deg, transparent, rgba(255,255,255,0.015));
font-family: 'JetBrains Mono', monospace;
font-size: 12px;
color: var(--dim);
display: grid;
grid-template-columns: 1fr 1fr;
align-items: start;
gap: 16px 24px;
}
.footer p { display: flex; align-items: center; gap: 8px; margin: 0; line-height: 1.55; }
.footer .dim { color: var(--dim-2); }
.footer .mark { color: var(--green); }
.footer-brand,
.footer-meta {
display: flex;
flex-direction: column;
gap: 8px;
}
.footer-brand { color: var(--fg-2); }
.footer-meta { align-items: flex-end; text-align: right; }
.footer-signal { color: var(--dim); }
.footer a { color: var(--fg-2); text-decoration: none; border-bottom: 1px dashed var(--dim); }
.footer a:hover { color: var(--green); border-bottom-color: var(--green); }
/* ── Reveal on scroll ──────────────────────────────────── */
[data-reveal] {
opacity: 0;
transform: translateY(12px);
transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}
[data-reveal].in {
opacity: 1;
transform: translateY(0);
}
/* ── Focus states ──────────────────────────────────────── */
a:focus-visible,
.btn:focus-visible {
outline: 2px solid var(--green);
outline-offset: 3px;
}
/* ── Reduced motion ────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
html { scroll-behavior: auto; }
.status-dot { animation: none; }
[data-reveal] { opacity: 1; transform: none; transition: none; }
}
/* Responsive */
.email,
.stats a,
.links a {
overflow-wrap: anywhere;
word-break: break-word;
}
.email {
font-family: 'JetBrains Mono', monospace;
color: var(--fg);
}
@media (max-width: 820px) {
:root { --gutter: clamp(16px, 5vw, 24px); }
.topbar {
position: sticky;
align-items: center;
gap: 12px;
padding: 10px var(--gutter);
}
.brand {
flex-shrink: 0;
padding-top: 0;
}
.brand .wordmark { font-size: 14px; }
.brand .role-tag { font-size: 9px; padding: 2px 5px; }
.nav-desktop { display: none; }
.nav-mobile {
display: flex;
align-items: center;
justify-content: flex-end;
flex: 1;
gap: 8px;
min-width: 0;
}
.nav-mobile a {
flex: 0 0 auto;
min-height: 32px;
display: inline-flex;
align-items: center;
padding: 5px 7px;
font-size: 10.5px;
line-height: 1;
border: 1px solid var(--line);
background: color-mix(in oklab, var(--bg-raised) 72%, transparent);
}
.nav-mobile a::before { margin-right: 4px; }
.hero {
grid-template-columns: 1fr;
gap: 30px;
text-align: left;
min-height: auto;
padding-top: clamp(34px, 9vw, 56px);
padding-bottom: 48px;
}
.portrait {
order: -1;
width: min(62vw, 272px);
max-width: 272px;
justify-self: center;
margin: 8px auto 0;
}
.name {
font-size: clamp(2.5rem, 17vw, 4.4rem);
margin-bottom: 20px;
}
.name .last {
font-size: clamp(0.62rem, 2.6vw, 0.78rem);
line-height: 1.45;
letter-spacing: 0.05em;
}
.lede {
font-size: 15.5px;
margin-bottom: 24px;
}
.cta-row { margin-bottom: 26px; }
.stats {
grid-template-columns: 1fr;
border: 1px solid var(--line);
}
.stats > div {
border-right: none;
border-bottom: 1px solid var(--line);
padding: 14px 16px;
}
.stats > div:last-child { border-bottom: none; padding-right: 16px; }
.section {
padding-top: clamp(50px, 13vw, 72px);
padding-bottom: clamp(50px, 13vw, 72px);
}
}
@media (max-width: 540px) {
html, body { font-size: 15px; }
.topbar {
flex-direction: row;
align-items: center;
}
.nav-mobile {
gap: 6px;
}
.nav-mobile a {
font-size: 10px;
padding: 5px 6px;
}
.eyebrow { margin-bottom: 18px; }
.hero { padding-top: 28px; }
.portrait {
width: min(78vw, 260px);
max-width: 260px;
}
.cta-row {
display: grid;
grid-template-columns: 1fr;
}
.btn {
justify-content: center;
min-height: 46px;
padding: 12px 16px;
}
.caps,
.stack-grid { grid-template-columns: 1fr; }
.cap {
grid-template-columns: 36px 1fr;
padding: 20px 18px;
}
.cap p,
.now-list p { font-size: 13.25px; }
.now-list li {
grid-template-columns: 1fr;
gap: 10px;
padding: 18px;
}
.now-mark { justify-self: start; }
.links li {
grid-template-columns: 20px 1fr;
gap: 10px;
padding: 17px 16px;
}
.links .link-desc {
grid-column: 2;
margin-left: 0;
line-height: 1.45;
}
.principles li {
padding-left: 16px;
}
.section-head {
grid-template-columns: 1fr;
gap: 6px;
margin-bottom: 30px;
}
.section-sub { grid-column: 1; }
.footer p {
align-items: flex-start;
flex-wrap: wrap;
}
.footer {
grid-template-columns: 1fr;
gap: 18px;
padding-bottom: 32px;
}
.footer-brand,
.footer-meta {
align-items: flex-start;
text-align: left;
}
.footer-meta p {
max-width: 100%;
}
.section-image {
margin-top: -18px;
padding-bottom: 56px;
}
.section-image img {
width: min(82vw, 300px);
}
}
@media (max-width: 380px) {
.role-tag { display: none; }
.brand { gap: 7px; }
.nav-mobile { gap: 4px; }
.nav-mobile a {
font-size: 9.5px;
padding: 5px;
}
.nav-mobile a::before { display: none; }
.cap { grid-template-columns: 1fr; }
.links li { grid-template-columns: 1fr; }
.links .arrow { display: none; }
.links .link-desc { grid-column: 1; }
}