/* Metric-matched fallbacks so the swap to Geist doesn't move the layout */
@font-face { font-family: "Geist Fallback"; src: local("Arial"); ascent-override: 95.94%; descent-override: 28.16%; line-gap-override: 0%; size-adjust: 104.76%; }
@font-face { font-family: "Geist Mono Fallback"; src: local("Arial"); ascent-override: 74.67%; descent-override: 21.92%; line-gap-override: 0%; size-adjust: 134.59%; }

:root {
  --bg: #08080a;
  --bg-2: #101013;
  --bg-3: #16161a;
  --fg: #f0f0f1;
  --fg-2: #c4c4c8;
  --muted: #7d7d84;
  --line: #1f1f24;
  --line-2: #2c2c33;
  --sans: "Geist", "Geist Fallback", ui-sans-serif, system-ui, -apple-system, sans-serif;
  --mono: "Geist Mono", "Geist Mono Fallback", ui-monospace, SFMono-Regular, Menlo, monospace;
  --pad: clamp(16px, 4vw, 56px);
  --max: 1360px;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --r: 16px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
main, .footer { position: relative; z-index: 1; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
ul, ol { list-style: none; }
::selection { background: var(--fg); color: var(--bg); }
.mono { font-family: var(--mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; }
i { font-style: normal; display: inline-block; transition: transform .3s var(--ease); }

.halftone { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }

/* ---------- Draft markers ---------- */
.is-draft { position: relative; outline: 1px dashed rgba(255, 196, 0, .45); outline-offset: 4px; }
.is-draft::after {
  content: "EDITAR"; position: absolute; top: -10px; right: -6px; z-index: 5;
  font: 500 9px/1 var(--mono); letter-spacing: .1em; padding: 3px 5px;
  background: #ffc400; color: #000;
}
html[lang="en"] .is-draft::after { content: "EDIT"; }

/* ---------- Buttons ---------- */
.btn {
  position: relative; display: inline-flex; align-items: center; gap: 10px;
  padding: 13px 22px; border: 1px solid var(--line-2); border-radius: 999px;
  font: 500 14px/1 var(--sans); letter-spacing: -0.01em;
  background: rgba(8,8,10,.55); backdrop-filter: blur(6px);
  transition: background .25s, color .25s, border-color .25s, transform .25s var(--ease);
}
.btn:hover { border-color: var(--fg); }
.btn:hover i { transform: translateX(4px); }
.btn--solid { background: var(--fg); color: var(--bg); border-color: var(--fg); }
.btn--solid:hover { background: #fff; box-shadow: 0 0 0 4px rgba(255,255,255,.1); }
.btn--sm { padding: 9px 16px; font-size: 13px; }
.btn--lg { padding: 16px 26px; font-size: 15px; }

/* ---------- Nav ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px;
  padding: 14px var(--pad);
  transition: background .3s, border-color .3s;
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled { background: rgba(8,8,10,.75); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-color: var(--line); }
.nav__logo span { color: var(--muted); }
.nav__links { display: flex; gap: 28px; color: var(--muted); font-size: 11px; }
.nav__links a { padding: 6px 0; }
.nav__links a:hover { color: var(--fg); }
.nav__right { display: flex; justify-content: flex-end; align-items: center; gap: 16px; }
.lang { display: flex; border: 1px solid var(--line-2); border-radius: 999px; overflow: hidden; }
.lang button { padding: 8px 10px; color: var(--muted); font-size: 11px; transition: all .2s; }
.lang button[aria-pressed="true"] { background: var(--fg); color: var(--bg); }

.nav__events.is-current { border-color: var(--fg); color: var(--fg); }
@media (max-width: 560px) {
  .nav { padding-left: 16px; padding-right: 16px; gap: 10px; }
  .nav__logo { font-size: 11px; }
  .nav__right { gap: 6px; }
  .nav__gh { width: 32px; height: 32px; }
  .lang button { padding: 7px 7px; }
  .nav__events { padding: 9px 10px; }
}

/* ---------- Events page ---------- */
.page-hero { position: relative; min-height: 72svh; display: flex; align-items: flex-end; padding: 140px var(--pad) 64px; overflow: hidden; border-bottom: 1px solid var(--line); isolation: isolate; }
.page-hero .halftone { z-index: -1; }
.page-hero__inner { max-width: var(--max); width: 100%; margin: 0 auto; }
.back { display: inline-block; color: var(--muted); margin-bottom: 28px; }
.back:hover { color: var(--fg); }
.page-hero__title { font-size: clamp(40px, 6.4vw, 96px); font-weight: 600; letter-spacing: -0.05em; line-height: .92; max-width: 900px; }
.page-hero__lead { max-width: 600px; margin-top: 24px; font-size: 18px; color: var(--fg-2); text-shadow: 0 0 12px var(--bg); }
.ev-stats { display: flex; flex-wrap: wrap; gap: 24px 48px; margin-top: 40px; }
.ev-stats div { display: flex; flex-direction: column-reverse; gap: 6px; }
.ev-stats dd { font-size: clamp(36px, 4vw, 56px); font-weight: 600; letter-spacing: -0.04em; line-height: 1; }
.ev-stats dt { color: var(--muted); font-size: 10px; }
.ev-roles { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 32px; }
.ev-roles img { width: 24px; height: 24px; border: 1px solid var(--line-2); border-radius: 6px; }
.ev-roles li { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border: 1px solid var(--line-2); border-radius: 999px; background: rgba(8,8,10,.6); color: var(--fg-2); font-size: 10px; }
.ev-roles a { display: inline-flex; align-items: center; gap: 8px; }
.ev-roles li:hover { border-color: var(--fg); }
.ev-roles a:hover i { transform: translate(2px, -2px); }
.ev-roles b { color: var(--fg); font-weight: 500; }
.section--tight { padding-top: 56px; }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100svh;
  display: flex; flex-direction: column;
  padding: 130px var(--pad) 0;
  overflow: hidden; isolation: isolate;
}
.hero__inner { position: relative; z-index: 2; max-width: var(--max); width: 100%; margin: auto auto 0; padding-bottom: 48px; }
.status {
  display: inline-flex; flex-wrap: wrap; align-items: stretch;
  border: 1px solid var(--line-2); border-radius: 999px; overflow: hidden; background: rgba(8,8,10,.6); backdrop-filter: blur(6px);
  font-size: 11px;
}
.status__seg { display: inline-flex; align-items: center; gap: 10px; padding: 9px 14px; color: var(--fg-2); transition: background .25s, color .25s; }
.status__seg:first-child { padding-left: 10px; }
.status__seg:hover { background: rgba(255,255,255,.06); color: var(--fg); }
.status__seg:hover i { transform: translate(2px, -2px); }
.status__logo { width: 14px; height: auto; margin: 0 -2px 0 2px; }
.status__dot { position: relative; width: 8px; height: 8px; background: #3dff8a; border-radius: 50%; }
.status__dot::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 1px solid #3dff8a; animation: ping 2s infinite; }
@keyframes ping { 0% { transform: scale(.6); opacity: 1; } 100% { transform: scale(1.8); opacity: 0; } }

.hero__eyebrow { margin-top: 32px; color: var(--muted); font-size: 11px; }
.hero__eyebrow span:first-child { color: var(--fg-2); }
.hero__headline { margin-top: 18px; max-width: 980px; font-size: clamp(40px, 6.6vw, 104px); font-weight: 600; letter-spacing: -0.05em; line-height: .98; color: var(--fg); text-shadow: 0 0 24px var(--bg); }
.hero__headline em { font-style: normal; color: transparent; background: linear-gradient(90deg, #fff 0%, #9a9aa2 100%); -webkit-background-clip: text; background-clip: text; text-shadow: none; }
.hero__lead { max-width: 580px; margin-top: 24px; font-size: clamp(17px, 1.5vw, 20px); color: var(--fg-2); text-shadow: 0 0 6px var(--bg), 0 0 14px var(--bg), 0 0 24px var(--bg); }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }

.hero__note { margin-top: 18px; color: var(--muted); font-size: 11px; }
.btn--primary { padding: 20px 32px; font-size: 17px; font-weight: 600; box-shadow: 0 0 0 6px rgba(255,255,255,.08), 0 12px 40px rgba(255,255,255,.12); }
.btn--primary .ico { width: 20px; height: 20px; }
.track-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; margin-bottom: 48px; }
.stat { padding: 22px 24px; border: 1px solid var(--line); border-radius: var(--r); background: rgba(16,16,19,.7); backdrop-filter: blur(6px); }
.stat__num { display: block; font-size: clamp(32px, 4vw, 56px); font-weight: 600; letter-spacing: -0.04em; line-height: 1; font-variant-numeric: tabular-nums; }
.stat__label { display: block; margin-top: 8px; color: var(--muted); font-size: 11px; }
.stat.is-draft { outline-offset: -2px; }

/* ---------- Sections ---------- */
.section { max-width: var(--max); margin: 0 auto; padding: clamp(96px, 13vw, 180px) var(--pad) 0; }
.section__head {
  display: grid; grid-template-columns: 1fr minmax(0, 420px); column-gap: 48px; align-items: end;
  margin-bottom: 48px;
}
.section__head .index { grid-column: 1 / -1; margin-bottom: 14px; }
.section__head h2 { font-size: clamp(36px, 4.8vw, 68px); font-weight: 600; letter-spacing: -0.04em; line-height: 1; }
.section__kicker { color: var(--muted); font-size: 17px; }
.index { color: var(--muted); }

/* ---------- Projects ---------- */
.projects { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.project {
  display: flex; flex-direction: column; gap: 12px; padding: 26px;
  border: 1px solid var(--line); border-radius: var(--r); background: var(--bg-2);
  transition: border-color .25s, background .25s;
}
.project:hover { border-color: var(--line-2); background: var(--bg-3); }
.project--featured { grid-column: 1 / -1; padding: 32px; }
.project__top { display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: 10px; }
.project__top .badge { color: var(--bg); background: var(--fg); padding: 3px 8px; border-radius: 999px; }
.project__stars { margin-left: auto; color: var(--fg); }
.project__tags { display: flex; flex-wrap: wrap; gap: 6px; }
.project__tags span { padding: 4px 9px; border: 1px solid var(--line-2); border-radius: 999px; color: var(--fg-2); font-size: 10px; }
.project h3 { font-size: 22px; font-weight: 600; letter-spacing: -0.02em; line-height: 1.15; }
.project--featured h3 { font-size: clamp(26px, 2.8vw, 36px); }
.project__summary { color: var(--muted); font-size: 15px; }
.project--featured .project__summary { max-width: 760px; font-size: 16px; }
.project__result { align-self: flex-start; color: var(--fg); font-size: 11px; padding: 7px 12px; border-radius: 999px; background: rgba(255,255,255,.07); }
.project__links { display: flex; gap: 20px; margin-top: auto; padding-top: 4px; }
.project__links a { color: var(--fg-2); border-bottom: 1px solid var(--line-2); padding-bottom: 2px; transition: color .2s, border-color .2s; }
.project__links a:hover { color: var(--fg); border-color: var(--fg); }


/* ---------- Sub-heading inside a section ---------- */
.subhead { display: flex; align-items: baseline; flex-wrap: wrap; gap: 8px 20px; margin: 72px 0 20px; scroll-margin-top: 90px; }
.subhead h3 { font-size: clamp(24px, 2.6vw, 32px); font-weight: 600; letter-spacing: -0.03em; }
.subhead p { color: var(--muted); }

/* ---------- GitHub ---------- */
.ico { width: 15px; height: 15px; flex: none; }
.btn--ghost { border-color: transparent; background: transparent; backdrop-filter: none; }
.nav__gh { display: grid; place-items: center; width: 36px; height: 36px; border: 1px solid var(--line-2); border-radius: 999px; color: var(--fg-2); transition: color .2s, border-color .2s; }
.nav__gh:hover { color: var(--fg); border-color: var(--fg); }
.nav__gh .ico { width: 17px; height: 17px; }

.gh { border: 1px solid var(--line); border-radius: var(--r); background: var(--bg-2); overflow: hidden; }
.gh__top { display: grid; grid-template-columns: auto 1fr auto; gap: 32px; align-items: center; padding: 28px; border-bottom: 1px solid var(--line); }
.gh__id { display: flex; align-items: center; gap: 16px; }
.gh__avatar { width: 72px; height: 72px; flex: none; border: 1px solid var(--line-2); border-radius: 50%; object-fit: cover; }
.gh__who { display: flex; flex-direction: column; gap: 4px; }
.gh__who b { font-size: 22px; font-weight: 600; letter-spacing: -0.02em; }
.gh__who .mono { color: var(--muted); font-size: 10px; }
.gh__id:hover b { text-decoration: underline; text-underline-offset: 4px; }
.gh__stats { display: flex; justify-content: center; gap: 36px; }
.gh__stats div { display: flex; flex-direction: column-reverse; gap: 4px; }
.gh__stats dd { font-size: 32px; font-weight: 600; letter-spacing: -0.04em; line-height: 1; font-variant-numeric: tabular-nums; }
.gh__stats dt { color: var(--muted); font-size: 10px; }

.gh__graph-wrap { padding: 28px; border-bottom: 1px solid var(--line); overflow-x: auto; scrollbar-width: thin; scrollbar-color: var(--line-2) transparent; }
.gh__graph-wrap::-webkit-scrollbar { height: 4px; }
.gh__graph-wrap::-webkit-scrollbar-thumb { background: var(--line-2); }
.gh__graph { display: grid; grid-template-rows: repeat(7, 1fr); grid-auto-flow: column; grid-auto-columns: 1fr; gap: 3px; min-width: 640px; }
.gh__graph span { aspect-ratio: 1; display: grid; place-items: center; }
.gh__graph span::before {
  content: ""; width: var(--d, 18%); height: var(--d, 18%); background: var(--fg); opacity: var(--o, .12);
  transform: scale(0); transition: transform .5s var(--ease); transition-delay: var(--delay, 0ms);
}
.gh__graph.is-in span::before { transform: scale(1); }
.gh__graph span[data-l="1"] { --d: 40%; --o: .45; }
.gh__graph span[data-l="2"] { --d: 58%; --o: .65; }
.gh__graph span[data-l="3"] { --d: 76%; --o: .85; }
.gh__graph span[data-l="4"] { --d: 94%; --o: 1; }
.gh__graph span[data-l="4"]::before { box-shadow: 0 0 8px rgba(255,255,255,.35); }
.gh__legend { display: flex; justify-content: space-between; margin-top: 16px; color: var(--muted); font-size: 10px; min-width: 640px; }
.gh__scale { display: flex; gap: 4px; align-items: center; }
.gh__scale i { width: 10px; height: 10px; display: grid; place-items: center; }
.gh__scale i::before { content: ""; background: var(--fg); }
.gh__scale i:nth-child(1)::before { width: 2px; height: 2px; opacity: .2; }
.gh__scale i:nth-child(2)::before { width: 4px; height: 4px; opacity: .45; }
.gh__scale i:nth-child(3)::before { width: 6px; height: 6px; opacity: .65; }
.gh__scale i:nth-child(4)::before { width: 8px; height: 8px; opacity: .85; }
.gh__scale i:nth-child(5)::before { width: 10px; height: 10px; }

.gh__stack { display: flex; flex-wrap: wrap; gap: 8px; padding: 20px 28px; border-bottom: 1px solid var(--line); }
.gh__stack li { padding: 6px 11px; border: 1px solid var(--line-2); border-radius: 999px; color: var(--fg-2); font-size: 10px; }

.gh__repos { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
.pkgs:last-child { border-bottom: 0; }
.repo { border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.repo:nth-child(3n) { border-right: 0; }
.repo a { display: flex; flex-direction: column; gap: 12px; height: 100%; padding: 24px 28px; transition: background .25s; }
.repo a:hover { background: var(--bg-3); }
.repo__name { font-family: var(--mono); font-size: 14px; color: var(--fg); word-break: break-word; }
.repo__name span { color: var(--muted); }
.repo__desc { color: var(--muted); font-size: 14px; flex: 1; }
.repo__meta { display: flex; gap: 18px; color: var(--fg-2); font-size: 10px; }
.repo__meta .repo__lang::before { content: ""; display: inline-block; width: 7px; height: 7px; margin-right: 6px; background: var(--fg); border-radius: 50%; }
.repo__meta .repo__lang[data-lang="JavaScript"]::before { background: transparent; border: 1px solid var(--fg); }
.repo--more a { justify-content: center; align-items: center; text-align: center; font-family: var(--mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--fg-2); }
.repo--more a:hover { color: var(--fg); }

@media (max-width: 1080px) {
  .gh__top { grid-template-columns: 1fr; gap: 24px; }
  .gh__stats { justify-content: flex-start; flex-wrap: wrap; gap: 20px 32px; }
  .gh__top .btn { justify-self: start; }
  .gh__repos { grid-template-columns: repeat(2, 1fr); }
  .repo:nth-child(3n) { border-right: 1px solid var(--line); }
  .repo:nth-child(2n) { border-right: 0; }
}
@media (max-width: 640px) {
  .gh__repos { grid-template-columns: 1fr; }
  .repo { border-right: 0 !important; }
  .gh__top, .gh__graph-wrap, .repo a { padding-left: 20px; padding-right: 20px; }
  .gh__stats dd { font-size: 26px; }
}

.orgs { display: flex; align-items: center; flex-wrap: wrap; gap: 16px 32px; padding: 22px 28px; border-bottom: 1px solid var(--line); }
.orgs__label { color: var(--muted); }
.orgs__list { display: flex; flex-wrap: wrap; gap: 12px 28px; }
.orgs__list li { display: flex; align-items: center; gap: 10px; font-size: 18px; font-weight: 600; letter-spacing: -0.02em; }
.orgs__list img { width: 28px; height: 28px; border: 1px solid var(--line-2); border-radius: 8px; background: #fff; }

.pkgs { border-bottom: 1px solid var(--line); }
.pkgs__head { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 24px; padding: 22px 28px; cursor: pointer; list-style: none; transition: background .25s; }
.pkgs__head::-webkit-details-marker { display: none; }
.pkgs__head:hover { background: var(--bg-3); }
.pkgs__head:focus-visible { outline: 1px solid var(--fg); outline-offset: -1px; }
.pkgs__sum { flex: 1; }
.pkgs__toggle { display: inline-flex; align-items: center; gap: 10px; padding: 8px 14px; border: 1px solid var(--line-2); border-radius: 999px; color: var(--fg); font-size: 11px; transition: border-color .2s; }
.pkgs__head:hover .pkgs__toggle { border-color: var(--fg); }
.pkgs__toggle i { font-size: 14px; line-height: 1; transition: transform .3s var(--ease); }
.pkgs[open] .pkgs__toggle i { transform: rotate(45deg); }
.pkgs__close, .pkgs[open] .pkgs__open { display: none; }
.pkgs[open] .pkgs__close { display: inline; }
.pkgs[open] .pkgs__list { animation: pkgs-in .4s var(--ease); }
@keyframes pkgs-in { from { opacity: 0; transform: translateY(-6px); } }
.pkgs__head h3 { color: var(--muted); font-weight: 400; }
.pkgs__sum { color: var(--fg-2); font-size: 10px; }
.pkgs__sum b { color: var(--fg); font-weight: 500; }
.pkg a { display: grid; grid-template-columns: 56px minmax(0, 1.1fr) 70px minmax(0, 1.4fr) 120px 16px; gap: 16px; align-items: center; padding: 14px 28px; border-top: 1px solid var(--line); transition: background .25s; }
.pkg a:hover { background: var(--bg-3); }
.pkg__reg { justify-self: start; font-size: 9px; padding: 3px 8px; border: 1px solid var(--line-2); border-radius: 999px; color: var(--fg-2); }
.pkg__reg[data-reg="pypi"] { background: var(--fg); color: var(--bg); border-color: var(--fg); }
.pkg__name { font-family: var(--mono); font-size: 14px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pkg__ver { color: var(--muted); font-size: 11px; }
.pkg__desc { color: var(--muted); font-size: 14px; }
.pkg__dl { color: var(--fg-2); font-size: 10px; text-align: right; }
.pkg__go { color: var(--muted); transition: transform .25s var(--ease), color .2s; }
.pkg a:hover .pkg__go { color: var(--fg); transform: translate(2px, -2px); }
@media (max-width: 1080px) {
  .pkg a { grid-template-columns: 52px minmax(0, 1fr) auto; row-gap: 6px; }
  .pkg__desc { grid-column: 2 / -1; }
  .pkg__ver { justify-self: end; }
  .pkg__dl { grid-column: 2; text-align: left; }
  .pkg__go { display: none; }
}
@media (max-width: 640px) { .orgs, .pkgs__head, .pkg a { padding-left: 20px; padding-right: 20px; } }
@media (max-width: 1080px) { .prs { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .prs { grid-template-columns: 1fr; } .gh__prs-head, .pr a { padding-left: 20px; padding-right: 20px; } }

/* ---------- Services ---------- */
.services { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.service {
  position: relative; padding: 36px; overflow: hidden;
  border: 1px solid var(--line); border-radius: var(--r); background: var(--bg-2);
  transition: border-color .3s;
}
.service::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0;
  background-image: radial-gradient(rgba(255,255,255,.22) 1.1px, transparent 1.4px);
  background-size: 6px 6px;
  -webkit-mask-image: radial-gradient(circle at var(--mx, 50%) var(--my, 50%), #000 0, transparent 260px);
          mask-image: radial-gradient(circle at var(--mx, 50%) var(--my, 50%), #000 0, transparent 260px);
  transition: opacity .3s;
}
.service:hover::before { opacity: 1; }
.service:hover { border-color: var(--line-2); }
.service > * { position: relative; }
.service header { display: flex; gap: 16px; align-items: baseline; }
.service header .mono { color: var(--muted); }
.service h3 { font-size: clamp(24px, 2.4vw, 32px); font-weight: 600; letter-spacing: -0.03em; line-height: 1.1; }
.service__pitch { margin: 18px 0 24px; color: var(--fg-2); font-size: 17px; max-width: 480px; }
.service__cta { display: inline-block; margin-top: 28px; padding: 10px 16px; border: 1px solid var(--line-2); border-radius: 999px; color: var(--fg); transition: border-color .2s, background .2s; }
.service__cta:hover { border-color: var(--fg); background: rgba(255,255,255,.04); }
.service ul { display: grid; gap: 10px; color: var(--muted); font-size: 11px; }
.service li::before { content: "→ "; color: var(--fg); }

.process { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.process li { padding: 28px; border: 1px solid var(--line); border-radius: var(--r); background: var(--bg-2); }
.process .mono { display: inline-grid; place-items: center; width: 36px; height: 36px; border: 1px solid var(--line-2); border-radius: 10px; color: var(--fg-2); font-size: 11px; }
.process b { display: block; margin: 20px 0 8px; font-size: 20px; font-weight: 600; letter-spacing: -0.02em; }
.process p { color: var(--muted); font-size: 15px; }

/* ---------- About ---------- */
.about { display: grid; grid-template-columns: auto 1fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.portrait { position: sticky; top: 100px; width: clamp(200px, 19vw, 260px); aspect-ratio: 4 / 5; background: #050506; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.portrait img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; display: block; filter: grayscale(1) contrast(1.05); }
.portrait::after { content: ""; position: absolute; inset: auto 0 0 0; height: 30%; background: linear-gradient(to top, rgba(5,5,6,.85), transparent); pointer-events: none; }
.portrait figcaption { z-index: 1; position: absolute; left: 14px; right: 14px; bottom: 12px; display: flex; justify-content: space-between; color: var(--muted); font-size: 10px; }
.about__text > p { color: var(--fg-2); margin-bottom: 20px; max-width: 640px; font-size: 17px; }
.about__text .big { font-size: clamp(24px, 2.6vw, 36px); line-height: 1.2; color: var(--fg); letter-spacing: -0.025em; font-weight: 500; }
.creds { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 36px 0; }
.creds--3 { grid-template-columns: repeat(3, 1fr); margin: 0; }
.creds--3 .cred { padding: 28px; min-height: 220px; }
.creds--3 .cred b { margin-top: auto; }
.cred__big { display: grid; place-items: center; width: 56px; height: 56px; border: 1px solid var(--line-2); border-radius: 12px; font: 700 15px/1 var(--mono); letter-spacing: .05em; }

/* ---------- Big stat pairs (hackathons, talks) ---------- */
.big-stats { display: flex; flex-wrap: wrap; gap: 24px 64px; margin-bottom: 40px; }
.big-stats div { display: flex; flex-direction: column-reverse; gap: 8px; }
.big-stats dd { font-size: clamp(48px, 6vw, 88px); font-weight: 700; letter-spacing: -0.05em; line-height: .9; font-variant-numeric: tabular-nums; }
.big-stats dt { color: var(--muted); font-size: 11px; }

/* ---------- Hackathons ---------- */
.hack-names { display: flex; flex-wrap: wrap; gap: 12px; }
.hack-name { display: inline-flex; align-items: center; gap: 12px; padding: 16px 24px; border: 1px solid var(--line); border-radius: 999px; background: var(--bg-2); font-size: clamp(17px, 1.6vw, 22px); font-weight: 600; letter-spacing: -0.02em; }
.hack-name__star { color: var(--muted); font-size: .8em; }
.hack-name__x { color: var(--fg-2); font-size: 11px; padding: 3px 8px; border-radius: 999px; background: rgba(255,255,255,.08); }

/* ---------- Collaborations ---------- */
.collab { position: relative; overflow: hidden; border: 1px solid var(--line-2); border-radius: calc(var(--r) + 8px); background: var(--bg-2); isolation: isolate; }
.collab .halftone { z-index: -1; opacity: .4; }
.collab__inner { padding: clamp(28px, 4vw, 48px); }
.collab__stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 32px; }
.collab__stats div { display: flex; flex-direction: column-reverse; gap: 6px; }
.collab__stats dd { font-size: clamp(36px, 4.4vw, 64px); font-weight: 700; letter-spacing: -0.05em; line-height: .95; text-shadow: 0 0 18px var(--bg-2), 0 0 36px var(--bg-2); }
.collab__stats dt { color: var(--muted); font-size: 11px; }
.collab__formats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.collab__format { display: flex; flex-direction: column; gap: 6px; padding: 22px; border: 1px solid var(--line-2); border-radius: var(--r); background: rgba(8,8,10,.78); backdrop-filter: blur(6px); }
.collab__platform { align-self: flex-start; margin-bottom: 10px; padding: 4px 10px; border: 1px solid var(--line-2); border-radius: 999px; color: var(--fg-2); font-size: 10px; }
.collab__format b { font-size: 17px; font-weight: 600; letter-spacing: -0.01em; }
.collab__format p { color: var(--muted); font-size: 14px; }
.collab__brands { margin-top: 40px; padding-top: 32px; border-top: 1px solid var(--line-2); }
.collab__brands > p { color: var(--muted); margin-bottom: 16px; }
.brands { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.brand { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border: 1px solid var(--line-2); border-radius: var(--r); background: rgba(8,8,10,.78); backdrop-filter: blur(6px); transition: border-color .25s; }
.brand:hover { border-color: var(--fg); }
.brand img { width: 40px; height: 40px; flex: none; border-radius: 10px; object-fit: cover; background: #fff; }
.brand span { font-size: 17px; font-weight: 600; letter-spacing: -0.02em; }
.collab__foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 20px; margin-top: 32px; padding-top: 32px; border-top: 1px solid var(--line-2); }
.collab__foot p { color: var(--fg-2); max-width: 520px; }
@media (max-width: 1080px) { .collab__stats, .brands { grid-template-columns: repeat(2, 1fr); } .collab__formats { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .brand { padding: 12px; gap: 10px; } .brand img { width: 32px; height: 32px; } .brand span { font-size: 15px; } .collab__foot .btn { width: 100%; justify-content: center; } }

/* ---------- Talks ---------- */
.talks { display: grid; grid-template-columns: 1fr 1.3fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.talks__side .big-stats { margin-bottom: 28px; }
.talks__side .btn { margin-top: 28px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { padding: 7px 12px; border: 1px solid var(--line-2); border-radius: 999px; color: var(--fg-2); font-size: 10px; }
.venues { border-top: 1px solid var(--line); }
.venue { display: grid; grid-template-columns: 44px 1fr auto; gap: 16px; align-items: baseline; padding: 22px 0; border-bottom: 1px solid var(--line); }
.venue__n { color: var(--muted); font-size: 10px; }
.venue__name { font-size: clamp(18px, 1.8vw, 24px); font-weight: 500; letter-spacing: -0.02em; }
.venue__place { color: var(--muted); text-align: right; }

.talk-photos { display: flex; gap: 14px; margin-top: clamp(40px, 6vw, 72px); overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 12px; scrollbar-width: thin; scrollbar-color: var(--line-2) transparent; }
.talk-photo { flex: 0 0 auto; scroll-snap-align: start; }
.talk-photo > * { position: relative; display: block; height: clamp(240px, 26vw, 340px); border-radius: var(--r); overflow: hidden; border: 1px solid var(--line); background: var(--line); }
.talk-photo img { height: 100%; width: auto; display: block; transition: transform .6s ease; }
.talk-photo > *:hover img { transform: scale(1.03); }
.talk-photo__cap { position: absolute; left: 10px; bottom: 10px; display: flex; gap: 8px; align-items: center; padding: 6px 10px; border-radius: 999px; background: rgba(0,0,0,.72); color: #fff; font-size: 10px; backdrop-filter: blur(6px); }
.talk-photo__cap span { opacity: .7; }

.section__cta { margin-top: 40px; display: flex; justify-content: center; }
.cred { background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--r); padding: 22px; display: flex; flex-direction: column; gap: 4px; transition: border-color .25s; }
.cred:hover { border-color: var(--line-2); }
.cred b i { font-size: 14px; color: var(--muted); }
.cred:hover b i { color: var(--fg); transform: translate(2px, -2px); }
.cred__top { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 16px; }
.cred__logo { width: 56px; height: 56px; border: 1px solid var(--line-2); border-radius: 12px; object-fit: cover; }
.cred__tag { font-size: 9px; color: var(--muted); border: 1px solid var(--line-2); border-radius: 999px; padding: 3px 8px; }
.cred b { font-size: 22px; font-weight: 600; letter-spacing: -0.02em; }
.cred span:last-child { color: var(--muted); }
.facts { border-top: 1px solid var(--line); }
.facts div { display: flex; justify-content: space-between; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.facts dt { color: var(--muted); }
.facts dd { text-align: right; }

/* ---------- Events ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.filters button { padding: 9px 16px; border: 1px solid var(--line-2); border-radius: 999px; color: var(--muted); font-size: 11px; transition: all .2s; }
.filters button:hover { color: var(--fg); }
.filters button.is-active { color: var(--bg); background: var(--fg); border-color: var(--fg); }
.events { border-top: 1px solid var(--line); }
.event {
  position: relative; display: grid; grid-template-columns: 110px 1fr 220px 150px; gap: 16px; align-items: center;
  padding: 22px 0; border-bottom: 1px solid var(--line);
  transition: padding .3s var(--ease), background .3s;
}
.event:hover { background: var(--bg-2); padding-left: 16px; padding-right: 16px; }
.event__date, .event__place { color: var(--muted); }
.event__name { font-size: clamp(18px, 1.8vw, 24px); font-weight: 500; letter-spacing: -0.02em; }
.event__role { justify-self: end; font-size: 10px; padding: 4px 10px; border: 1px solid var(--line-2); border-radius: 999px; }
.event__role[data-role="organized"] { background: var(--fg); color: var(--bg); border-color: var(--fg); }
.event__role[data-role="coorganized"] { border-color: #6a6a70; }
.event__role[data-role="participated"] { color: var(--muted); }
.event.is-hidden { display: none; }
.event.is-draft { outline-offset: -1px; }

/* ---------- CTA ---------- */
.cta { position: relative; margin-top: clamp(96px, 13vw, 180px); min-height: 92svh; display: grid; place-items: center; overflow: hidden; border-top: 1px solid var(--line); isolation: isolate; }
.cta::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: radial-gradient(ellipse 50% 40% at 50% 50%, rgba(8,8,10,.92), transparent 75%); }
.cta .halftone { z-index: -2; }
.cta__inner { position: relative; text-align: center; padding: 120px var(--pad); max-width: 1180px; width: 100%; }
.cta__eyebrow { color: var(--muted); }
.cta__title { margin-top: 20px; font-size: clamp(40px, 6.4vw, 96px); font-weight: 700; letter-spacing: -0.05em; line-height: .92; }
.cta__lead { margin: 24px auto 0; max-width: 520px; color: var(--fg-2); font-size: 18px; }
.cta__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 40px; }
.cta__actions .btn { text-transform: none; letter-spacing: .02em; }
.cta__direct { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 16px 32px; margin-top: 36px; }
.copy { display: inline-flex; gap: 8px; color: var(--fg); text-transform: none; letter-spacing: .02em; font-size: 13px; border-bottom: 1px solid var(--line-2); padding-bottom: 2px; }
.copy:hover { border-color: var(--fg); }
.cta__direct .socials { margin-top: 0; }
.socials { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 28px; margin-top: 40px; color: var(--muted); }
.socials a:hover { color: var(--fg); }

.footer { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 16px; max-width: var(--max); margin: 0 auto; padding: 32px var(--pad); color: var(--muted); border-top: 1px solid var(--line); font-size: 11px; }
.footer a:hover { color: var(--fg); }

.toast {
  position: fixed; left: 50%; bottom: 28px; z-index: 90; transform: translate(-50%, 20px);
  padding: 12px 18px; border-radius: 999px; background: var(--fg); color: var(--bg); opacity: 0; pointer-events: none;
  transition: opacity .25s, transform .25s var(--ease);
}
.toast.is-on { opacity: 1; transform: translate(-50%, 0); }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .nav { grid-template-columns: 1fr auto; }
  .nav__links { display: none; }
  .about, .talks { grid-template-columns: 1fr; }
  .process { grid-template-columns: 1fr 1fr; }
  .creds--3 { grid-template-columns: 1fr 1fr; }
  .creds--3 .cred--events { grid-column: 1 / -1; }
  .portrait { position: relative; top: 0; width: 230px; }
  .projects { grid-template-columns: repeat(2, 1fr); }
  .event { grid-template-columns: 80px 1fr auto; }
  .event__place { display: none; }
}
@media (max-width: 760px) {
  .track-stats { grid-template-columns: 1fr 1fr; gap: 10px; }
  .stat { padding: 16px; }
  .projects, .services { grid-template-columns: 1fr; }
  .project--featured { padding: 24px; }
  .process { grid-template-columns: 1fr 1fr; }
  .section__head { grid-template-columns: 1fr; }
  .section__kicker { margin-top: 14px; }
  .service { padding: 28px 22px; }
}
@media (max-width: 480px) {
  .nav__events, .nav__gh[href*="x.com"] { display: none; }
  .nav .btn--solid.btn--sm { padding-inline: 12px; }
  .creds, .creds--3 { grid-template-columns: 1fr; }
  .venue { grid-template-columns: 32px 1fr; }
  .venue__place { grid-column: 2; text-align: left; }
  .process { grid-template-columns: 1fr; }
  .event { grid-template-columns: 1fr auto; row-gap: 4px; }
  .event__date { grid-column: 1 / -1; }
  .btn--lg { width: 100%; justify-content: center; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .status__dot::after { animation: none; }
}

/* ---------- Packages ---------- */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; align-items: stretch; }
.plan { display: flex; flex-direction: column; padding: 32px 28px; border: 1px solid var(--line); border-radius: var(--r); background: var(--bg-2); }
.plan--featured { border-color: var(--fg); background: linear-gradient(180deg, #17171b, var(--bg-2)); }
.plan__top { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.plan h3 { font-size: 24px; font-weight: 600; letter-spacing: -0.03em; line-height: 1.1; }
.plan__tag { flex: none; padding: 4px 10px; border-radius: 999px; background: var(--fg); color: var(--bg); font-size: 10px; }
.plan__unit { margin-top: 10px; color: var(--muted); font-size: 11px; }
.plan__price { margin-top: 22px; font-size: clamp(30px, 3vw, 40px); font-weight: 600; letter-spacing: -0.04em; line-height: 1; }
.plan__price.is-tbd { font-size: 18px; letter-spacing: -0.01em; line-height: 1.3; color: var(--fg-2); }
.plan__desc { margin-top: 18px; color: var(--fg-2); }
.plan__items { margin: 22px 0 28px; display: grid; gap: 10px; color: var(--fg-2); font-size: 11px; flex: 1; align-content: start; }
.plan__items li::before { content: "✓  "; color: var(--fg); }
.plan__cta { justify-content: center; }

/* ---------- Cases ---------- */
.cases { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 16px; }
.case { padding: 28px; border: 1px solid var(--line); border-radius: var(--r); background: var(--bg-2); display: grid; gap: 18px; align-content: start; }
.case__head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.case__client { color: var(--muted); font-size: 11px; }
.case__metric { font-size: 28px; font-weight: 600; letter-spacing: -0.03em; }
.case__row { display: grid; gap: 6px; padding-top: 16px; border-top: 1px solid var(--line); }
.case__label { color: var(--muted); font-size: 10px; }
.case__row p { color: var(--fg-2); }

.cta__direct--left { justify-content: flex-start; margin-top: 28px; }

@media (max-width: 900px) { .plans { grid-template-columns: 1fr; max-width: 560px; } }
@media (min-width: 901px) and (max-width: 1180px) { .plan { padding: 26px 20px; } }
@media (max-width: 480px) { .btn--primary { width: 100%; justify-content: center; padding: 18px 20px; font-size: 16px; } }

/* Link card to the collaborations page (Community section) */
.collab-link { display: flex; align-items: center; gap: 24px; margin-top: 16px; padding: 22px 26px; border: 1px solid var(--line); border-radius: var(--r); background: var(--bg-2); transition: border-color .25s; }
.collab-link:hover { border-color: var(--fg); }
.collab-link:hover .collab-link__btn i { transform: translateX(3px); }
.collab-link__logos { display: flex; flex: none; }
.collab-link__logos img { width: 36px; height: 36px; border-radius: 50%; border: 2px solid var(--bg-2); background: #fff; object-fit: cover; }
.collab-link__logos img + img { margin-left: -10px; }
.collab-link__text { flex: 1; display: grid; gap: 4px; }
.collab-link__text b { font-size: 18px; font-weight: 600; letter-spacing: -0.02em; }
.collab-link__text span { color: var(--muted); font-size: 15px; }
.collab-link__btn { flex: none; }
@media (max-width: 760px) { .collab-link { flex-wrap: wrap; gap: 16px; padding: 20px; } .collab-link__btn { width: 100%; justify-content: center; } }
