/* Ocurp site styles, v2 "carbon and ember".
   Palette and type are taken from the Ederdrone render: carbon black, warm graphite, ember orange, copper.
   Shared by / and /workspace/. Fonts are self-hosted (latin subset, variable weight). */
@font-face { font-family: "Space Grotesk"; src: url(/assets/fonts/space-grotesk.woff2) format("woff2"); font-weight: 300 700; font-display: swap; }
@font-face { font-family: "Inter"; src: url(/assets/fonts/inter.woff2) format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "JetBrains Mono"; src: url(/assets/fonts/jetbrains-mono.woff2) format("woff2"); font-weight: 100 800; font-display: swap; }

:root {
  color-scheme: dark;
  --bg: #0d0b0a;            /* carbon, slightly warm */
  --bg-2: #120f0d;
  --surface: #17130f;
  --surface-2: #1e1914;
  --line: rgba(255, 236, 220, .08);
  --line-strong: rgba(255, 236, 220, .16);
  --text: #f6f1ec;
  --muted: #b3a89e;         /* 8.1:1 on --bg */
  --faint: #8f857c;         /* 5.4:1 on --bg, labels only */
  --accent: #ff6a2b;        /* ember */
  --accent-2: #ff8a4c;
  --copper: #c4673a;
  --accent-ink: #120a05;
  --live: #6fdc9a;
  --r-sm: 10px;
  --r-md: 18px;
  --r-lg: 28px;
  --shadow: 0 1px 0 rgba(255,255,255,.04) inset, 0 30px 60px -30px rgba(0,0,0,.9);
  --gutter: 24px;
  --maxw: 1240px;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --font-text: "Inter", "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;
  --font-display: "Space Grotesk", "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, "Cascadia Code", Menlo, Consolas, monospace;
}
@media (max-width: 599px) { :root { --gutter: 16px; } }
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; -webkit-text-size-adjust: 100%; background: var(--bg); }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font-family: var(--font-text); font-size: 16px; line-height: 1.6;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--font-display); margin: 0; line-height: 1.08; letter-spacing: -.03em; font-weight: 600; }
p { margin: 0; }
ul, ol { list-style: none; margin: 0; padding: 0; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--accent); color: var(--accent-ink); }

.skip { position: absolute; left: 16px; top: -64px; z-index: 100; background: var(--accent); color: var(--accent-ink); padding: 12px 16px; border-radius: var(--r-sm); font-weight: 600; }
.skip:focus { top: 16px; }
.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }
.eyebrow { font-family: var(--font-mono); font-size: 12px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--accent-2); display: inline-flex; align-items: center; gap: 12px; }
.eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 2px; background: var(--accent); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 22px;
  border-radius: 12px; font-weight: 600; font-size: 15px; border: 1px solid transparent; cursor: pointer; font-family: inherit;
  transition: background .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease), box-shadow .25s var(--ease), color .2s; white-space: nowrap; }
.btn-primary { background: var(--accent); color: var(--accent-ink); }
.btn-primary:hover { background: var(--accent-2); transform: translateY(-1px); }
.btn-ghost { border-color: var(--line-strong); color: var(--text); background: rgba(255,255,255,.02); }
.btn-ghost:hover { border-color: rgba(255,236,220,.35); background: rgba(255,255,255,.05); }
.arrow { transition: transform .25s var(--ease); flex: none; }
a:hover .arrow, .btn:hover .arrow { transform: translate(2px, -2px); }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(13,11,10,.72); backdrop-filter: saturate(140%) blur(16px); -webkit-backdrop-filter: saturate(140%) blur(16px); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 16px; }
.brand { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; font-family: var(--font-display); font-weight: 600; font-size: 20px; letter-spacing: -.02em; }
.brand-mark { width: 26px; height: 26px; flex: none; display: block; }
.nav { display: none; align-items: center; gap: 4px; padding: 4px; border: 1px solid var(--line); border-radius: 14px; background: rgba(255,255,255,.02); }
.nav a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px; font-size: 14px; font-weight: 500; color: var(--muted); border-radius: 10px; transition: color .2s, background .2s; }
.nav a:hover, .nav a[aria-current="true"] { color: var(--text); background: rgba(255,255,255,.06); }
.header-cta { display: none; align-items: center; gap: 8px; }
.header-cta .signin { display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px; color: var(--muted); font-size: 14px; font-weight: 500; }
.header-cta .signin:hover { color: var(--text); }
.header-cta .btn { min-height: 44px; font-size: 14px; padding: 0 18px; }
.menu-btn { width: 48px; height: 48px; border-radius: 12px; border: 1px solid var(--line-strong); background: transparent; color: var(--text); display: inline-flex; align-items: center; justify-content: center; cursor: pointer; }
.menu-btn svg { width: 20px; height: 20px; }
.menu-btn .m-close { display: none; }
.menu-btn[aria-expanded="true"] .m-open { display: none; }
.menu-btn[aria-expanded="true"] .m-close { display: inline; }
.mobile-nav { display: none; position: fixed; inset: 68px 0 0 0; background: var(--bg); padding: 16px var(--gutter) 40px; overflow-y: auto; z-index: 49; }
.mobile-nav.open { display: block; animation: drop .35s var(--ease); }
@keyframes drop { from { opacity: 0; transform: translateY(-8px); } }
.mobile-nav a { display: flex; align-items: center; justify-content: space-between; min-height: 60px; font-family: var(--font-display); font-size: 26px; font-weight: 500; letter-spacing: -.02em; border-bottom: 1px solid var(--line); }
.mobile-nav .btn { margin-top: 24px; width: 100%; font-family: var(--font-text); font-size: 16px; border-bottom: 0; letter-spacing: 0; min-height: 52px; justify-content: center; }
@media (min-width: 960px) {
  .nav, .header-cta { display: flex; }
  .menu-btn, .mobile-nav { display: none !important; }
}

/* Hero: the original Ocurp globe, without glow */
.hero { position: relative; overflow: hidden; isolation: isolate; border-bottom: 1px solid var(--line); background: linear-gradient(180deg, #0b1216 0%, var(--bg) 85%); }
.globe { position: absolute; left: 50%; top: 50%; width: min(820px, 130vw); height: min(820px, 130vw); transform: translate(-50%, -54%); z-index: -1; pointer-events: none; }
.hero-inner { display: flex; flex-direction: column; align-items: center; text-align: center; padding-top: 88px; padding-bottom: 72px; min-height: min(760px, calc(100svh - 68px)); justify-content: center; }
.hero h1 { font-size: clamp(56px, 16vw, 168px); letter-spacing: -.05em; line-height: .9; margin: 22px 0 22px; font-weight: 700; color: #fff; }
.hero .lede { font-size: clamp(17px, 2.2vw, 20px); color: var(--muted); max-width: 46ch; line-height: 1.6; }
.hero .lede b { color: var(--text); font-weight: 600; }
.hero-cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 32px; }
.stats { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); margin-top: 48px; width: 100%; max-width: 520px; border: 1px solid var(--line); border-radius: var(--r-md); background: rgba(13,11,10,.55); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.stats li { padding: 14px 12px 12px; }
.stats li + li { border-left: 1px solid var(--line); }
.stats b { display: block; font-family: var(--font-display); font-size: clamp(22px, 5vw, 30px); font-weight: 600; letter-spacing: -.03em; font-variant-numeric: tabular-nums; line-height: 1.1; }
.stats span { font-size: 11px; color: var(--faint); font-family: var(--font-mono); letter-spacing: .06em; text-transform: uppercase; }
@media (max-width: 599px) { .hero-cta .btn { flex: 1 1 100%; } .hero-inner { padding-top: 64px; padding-bottom: 56px; min-height: 0; } .globe { transform: translate(-50%, -58%); } .hero .lede { text-shadow: 0 1px 12px #0b1216, 0 0 2px #0b1216; } }

/* Sections */
section { padding: 72px 0; }
@media (min-width: 900px) { section { padding: 112px 0; } }
.section-head { display: grid; gap: 14px; margin-bottom: 40px; max-width: 720px; }
.section-head h2 { font-size: clamp(32px, 5.4vw, 52px); letter-spacing: -.04em; }
.section-head p { color: var(--muted); font-size: 17px; max-width: 58ch; }
.section-row { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 40px; }
.section-row .section-head { margin-bottom: 0; }

/* Work: the 2-1-2 arrangement */
.work-grid { display: grid; gap: 12px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.card { position: relative; display: flex; flex-direction: column; min-width: 0; background: linear-gradient(180deg, var(--surface), var(--bg-2)); border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden;
  transition: border-color .35s var(--ease), transform .35s var(--ease), box-shadow .35s var(--ease); }
a.card:hover { border-color: rgba(255,106,43,.5); transform: translateY(-4px); box-shadow: 0 30px 60px -30px rgba(255,106,43,.35); }
.card-media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: #000; }
.card-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(13,11,10,.55)); pointer-events: none; }
.card-media img { width: 100%; height: 100%; object-fit: cover; object-position: top center; transition: transform .8s var(--ease); }
a.card:hover .card-media img { transform: scale(1.04); }
.status { position: absolute; left: 10px; top: 10px; z-index: 1; display: inline-flex; align-items: center; gap: 6px; min-height: 24px; padding: 0 10px; border-radius: 999px; font-size: 11px; font-weight: 600; letter-spacing: .02em; background: rgba(13,11,10,.8); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); border: 1px solid var(--line-strong); }
.status::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--live); box-shadow: 0 0 8px var(--live); }
.status.wip::before { background: var(--accent); box-shadow: 0 0 8px var(--accent); }
.card-body { display: flex; flex-direction: column; gap: 6px; padding: 14px 14px 16px; flex: 1; }
.card-kicker { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--faint); }
.card h3 { font-size: 17px; display: flex; align-items: center; justify-content: space-between; gap: 10px; letter-spacing: -.02em; }
.card h3 .arrow { width: 18px; height: 18px; color: var(--accent); }
.card p { color: var(--muted); font-size: 14px; line-height: 1.55; display: none; }
.tags { display: none; flex-wrap: wrap; gap: 6px; margin-top: auto; padding-top: 14px; }
.tags li { font-size: 12px; padding: 3px 10px; border-radius: 999px; border: 1px solid var(--line); color: var(--muted); }
/* the middle card spans both columns */
.card.feature { grid-column: 1 / -1; }
.card.feature .card-body { padding: 20px; gap: 8px; }
.card.feature h3 { font-size: 24px; }
.card.feature p, .card.feature .tags { display: flex; }
.card.feature p { display: block; }
@media (min-width: 600px) {
  .work-grid { gap: 20px; }
  .card-body { padding: 20px 20px 22px; gap: 8px; }
  .card h3 { font-size: 22px; }
  .card p { display: block; }
  .tags { display: flex; }
  .status { left: 14px; top: 14px; min-height: 28px; font-size: 12px; padding: 0 12px; }
  .card-kicker { font-size: 11.5px; }
}
@media (min-width: 900px) {
  .work-grid { gap: 24px; }
  .card.feature { display: grid; grid-template-columns: 1.35fr 1fr; }
  .card.feature .card-media { aspect-ratio: auto; min-height: 400px; }
  .card.feature .card-media img { position: absolute; inset: 0; }
  .card.feature .card-media::after { background: linear-gradient(90deg, transparent 70%, rgba(13,11,10,.5)); }
  .card.feature .card-body { padding: 40px; justify-content: center; gap: 12px; }
  .card.feature h3 { font-size: 36px; }
  .card.feature p { font-size: 16px; max-width: 40ch; }
  .card.feature .tags { margin-top: 8px; }
  .card-body { padding: 24px 28px 28px; }
  .card h3 { font-size: 26px; }
  .card p { font-size: 15px; }
}
.feature-quote { font-family: var(--font-mono); font-size: 12px; color: var(--accent-2); letter-spacing: .1em; text-transform: uppercase; }

/* In the lab */
.lab { display: grid; gap: 16px; margin-top: 56px; }
.lab-head { display: flex; align-items: center; gap: 16px; font-family: var(--font-mono); font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--faint); }
.lab-head::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.lab-grid { display: grid; gap: 16px; }
.lab-item { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 16px; align-items: start; padding: 12px; border: 1px solid var(--line); border-radius: var(--r-md); background: var(--bg-2); transition: border-color .3s var(--ease); min-height: 44px; }
a.lab-item:hover { border-color: rgba(255,106,43,.45); }
.lab-item img { width: 96px; height: 72px; margin-top: 2px; object-fit: cover; border-radius: var(--r-sm); }
.lab-item b { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; font-family: var(--font-display); font-size: 18px; font-weight: 600; letter-spacing: -.02em; }
.lab-item small { display: block; color: var(--muted); font-size: 14px; line-height: 1.5; margin-top: 2px; }
.lab-item .pill { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); border: 1px solid rgba(255,106,43,.35); border-radius: 999px; padding: 1px 8px; font-weight: 500; white-space: nowrap; }
@media (min-width: 800px) { .lab-grid { grid-template-columns: 1fr 1fr; gap: 24px; } .lab-item { grid-template-columns: 136px minmax(0,1fr); padding: 14px; gap: 20px; } .lab-item img { width: 136px; height: 96px; } }

/* Workspace catalogue */
.catalogue { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); position: relative; }
.cat-grid { display: grid; gap: 16px; grid-template-columns: 1fr; }
.cat { border: 1px solid var(--line); border-radius: var(--r-md); background: var(--surface); padding: 22px; display: flex; flex-direction: column; }
.cat-top { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 6px; }
.cat h3 { font-size: 26px; }
.cat .count { font-family: var(--font-mono); font-size: 12px; color: var(--accent-2); font-variant-numeric: tabular-nums; border: 1px solid rgba(255,106,43,.3); border-radius: 999px; padding: 2px 10px; }
.cat > p { color: var(--muted); font-size: 15px; margin-bottom: 16px; }
.cat-list { border-top: 1px solid var(--line); }
.cat-list li + li { border-top: 1px solid var(--line); }
.cat-item { display: grid; grid-template-columns: 44px minmax(0, 1fr) auto; align-items: center; gap: 14px; min-height: 68px; padding: 12px 0; }
.cat-item img { width: 44px; height: 44px; border-radius: var(--r-sm); object-fit: cover; background: var(--surface-2); }
.cat-item b { display: block; font-weight: 600; font-size: 15px; line-height: 1.3; transition: color .2s; }
.cat-item small { display: block; font-size: 13px; color: var(--muted); line-height: 1.4; }
.cat-item .arrow { width: 16px; height: 16px; color: var(--faint); }
.cat-item:hover b, .cat-item:hover .arrow { color: var(--accent); }
.cat .more { margin-top: auto; padding-top: 20px; }
.cat .more .btn { width: 100%; }
.tile { width: 44px; height: 44px; border-radius: var(--r-sm); display: grid; place-items: center; background: linear-gradient(145deg, #2a2019, #18130f); border: 1px solid var(--line-strong); color: var(--accent-2); }
.tile svg { width: 20px; height: 20px; }
.cat-note { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 8px 28px; color: var(--muted); font-size: 14px; }
.cat-note li { display: inline-flex; align-items: center; gap: 10px; }
.cat-note li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
@media (min-width: 900px) { .cat-grid { grid-template-columns: repeat(3, 1fr); gap: 24px; } .cat { padding: 28px; } }

/* About */
.about-grid { display: grid; gap: 40px; }
.about-card { border: 1px solid var(--line); border-radius: var(--r-lg); background: radial-gradient(120% 90% at 0% 0%, rgba(255,106,43,.14), transparent 55%), var(--surface); padding: 28px; display: grid; gap: 20px; align-content: start; }
.about-id { display: flex; align-items: center; gap: 18px; }
.avatar { width: 72px; height: 72px; border-radius: 20px; flex: none; display: grid; place-items: center; background: linear-gradient(140deg, var(--accent-2), var(--copper)); color: var(--accent-ink); font-family: var(--font-display); font-weight: 700; font-size: 26px; letter-spacing: -.04em; }
.about-id h3 { font-size: 24px; }
.about-id p { color: var(--muted); font-size: 14px; }
.about-facts { display: grid; gap: 0; border-top: 1px solid var(--line); }
.about-facts li { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.about-facts span { color: var(--faint); font-family: var(--font-mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; }
.about-copy { display: grid; gap: 24px; align-content: start; }
.quote { font-family: var(--font-display); font-size: clamp(26px, 3.6vw, 38px); line-height: 1.2; letter-spacing: -.03em; font-weight: 500; max-width: 24ch; color: var(--text); }
.quote em { font-style: normal; color: var(--accent-2); }
.about-copy > p:not(.quote) { color: var(--muted); font-size: 17px; max-width: 58ch; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { padding: 6px 14px; border-radius: 999px; border: 1px solid var(--line-strong); font-size: 13px; color: var(--text); background: rgba(255,255,255,.02); }
.principles { display: grid; gap: 12px; margin-top: 8px; }
.principles li { padding: 20px; border: 1px solid var(--line); border-radius: var(--r-md); background: var(--bg-2); display: grid; grid-template-columns: 36px 1fr; gap: 14px; }
.principles .n { font-family: var(--font-mono); font-size: 12px; color: var(--accent); padding-top: 4px; }
.principles b { font-family: var(--font-display); font-size: 19px; font-weight: 600; letter-spacing: -.02em; display: block; margin-bottom: 2px; }
.principles span { color: var(--muted); font-size: 15px; }
@media (min-width: 900px) {
  .about-grid { grid-template-columns: 4fr 7fr; gap: 64px; }
  .about-card { position: sticky; top: 100px; align-self: start; padding: 32px; }
  .principles { grid-template-columns: repeat(3, 1fr); }
  .principles li { grid-template-columns: 1fr; gap: 10px; }
}

/* Contact */
.contact { position: relative; overflow: hidden; border-top: 1px solid var(--line); background: radial-gradient(80% 60% at 100% 100%, rgba(255,106,43,.12), transparent 60%), var(--bg-2); }
.contact-grid { display: grid; gap: 40px; }
.contact h2 { font-size: clamp(36px, 7vw, 64px); letter-spacing: -.045em; max-width: 13ch; margin: 18px 0 20px; }
.contact .lede { color: var(--muted); font-size: 17px; max-width: 44ch; }
.contact-lines { margin-top: 28px; border-top: 1px solid var(--line); }
.contact-lines li { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 4px 24px; min-height: 60px; padding: 8px 0; border-bottom: 1px solid var(--line); }
.contact-lines li > span:first-child { font-size: 12px; color: var(--faint); font-family: var(--font-mono); letter-spacing: .1em; text-transform: uppercase; }
.contact-lines a { color: var(--text); font-weight: 500; display: inline-flex; align-items: center; min-height: 44px; transition: color .2s; overflow-wrap: anywhere; }
.contact-lines a:hover { color: var(--accent); }
.inline-links { display: inline-flex; flex-wrap: wrap; gap: 0 20px; }
.form { display: grid; gap: 16px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 24px; align-content: start; box-shadow: var(--shadow); }
.form h3 { font-size: 22px; margin-bottom: 4px; }
.field { display: grid; gap: 8px; }
.field label { font-size: 13px; color: var(--muted); font-weight: 500; }
.field input, .field textarea { width: 100%; font: inherit; font-size: 16px; color: var(--text); background: var(--bg); border: 1px solid var(--line-strong); border-radius: 12px; padding: 12px 14px; min-height: 48px; transition: border-color .2s, box-shadow .2s; }
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px rgba(255,106,43,.18); }
.form .btn { width: 100%; }
.form .hint { font-size: 13px; color: var(--faint); }
@media (min-width: 900px) { .contact-grid { grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; } .form { padding: 32px; } }

/* Social icons (original footer style) */
.social { display: inline-flex; gap: 10px; }
.social a { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line-strong); color: var(--muted); background: rgba(255,255,255,.02); transition: color .2s, border-color .2s, transform .2s var(--ease); }
.social a:hover { color: var(--text); border-color: rgba(255,236,220,.4); transform: translateY(-2px); }
.foot-social { display: flex; justify-content: center; margin-top: 40px; }
.foot-social .social { gap: 16px; }
.foot-social .social a { width: 52px; height: 52px; }

/* Footer */
.site-footer { padding: 56px 0 40px; border-top: 1px solid var(--line); background: var(--bg); }
.foot { display: grid; gap: 32px; }
.foot-tag { color: var(--muted); font-size: 15px; max-width: 36ch; margin-top: 14px; }
.foot-cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.foot-base a { color: var(--muted); display: inline-flex; min-height: 44px; min-width: 44px; padding: 0 4px; align-items: center; }
.foot-cols h4 { font-family: var(--font-mono); font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--faint); font-weight: 500; margin-bottom: 6px; }
.foot-cols a { display: flex; align-items: center; min-height: 44px; color: var(--muted); font-size: 15px; transition: color .2s; }
.foot-cols a:hover { color: var(--text); }
.foot-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--line); }
.fine { color: var(--faint); font-size: 13px; }
@media (min-width: 900px) { .foot { grid-template-columns: 1.4fr 1fr; align-items: start; } .foot-cols { grid-template-columns: repeat(2, 1fr); } }

/* Motion: content is visible by default; only enhanced when JS marks <html class="js"> */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }
.js .work-grid .reveal:nth-child(2) { transition-delay: .08s; }
.js .work-grid .reveal:nth-child(5) { transition-delay: .08s; }
.hero-inner > * { animation: rise .9s var(--ease) both; }
.hero-inner > *:nth-child(2) { animation-delay: .06s; }
.hero-inner > *:nth-child(3) { animation-delay: .12s; }
.hero-inner > *:nth-child(4) { animation-delay: .18s; }
.hero-inner > *:nth-child(5) { animation-delay: .24s; }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } }
@keyframes fadein { from { opacity: 0; transform: scale(.97); } }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* Workspace hub page */
.hub { min-height: calc(100vh - 68px); display: flex; align-items: center; padding: 64px 0; position: relative; overflow: hidden; }
.hub::before { content: ""; position: absolute; width: 720px; height: 720px; right: -240px; top: -240px; background: radial-gradient(circle, rgba(255,106,43,.16), transparent 62%); pointer-events: none; }
.hub .wrap { position: relative; }
.hub h1 { font-size: clamp(38px, 7vw, 68px); letter-spacing: -.045em; margin: 20px 0 20px; max-width: 16ch; }
.hub .lede { color: var(--muted); font-size: 18px; max-width: 48ch; margin-bottom: 40px; }
.hub .cat-grid .card { padding: 24px; gap: 8px; justify-content: flex-start; }
@media (min-width: 900px) { .hub .cat-grid .card { min-height: 180px; padding: 28px; } }
.hub .card p { display: block; color: var(--muted); }
.hub .card h3 { font-size: 30px; }
