@font-face {
  font-family: "Geist";
  src: url("/assets/fonts/Geist-Variable.3626eba5.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: "Geist Mono";
  src: url("/assets/fonts/GeistMono-Variable.5d93ee62.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}
:root {
  --bg: #f3f4f5;
  --surface: #fbfbfc;
  --surface-2: #e9ebed;
  --fg: #131416;
  --muted: #565b61;
  --line: #dcdfe2;
  --accent: #c7353b;
  --accent-ink: #fff8f8;
  --accent-soft: #f7e3e3;
  --hud: #121314;
  --hud-fg: #f2f3f4;
  --r-surface: 18px;
  --r-key: 10px;
  --r-pill: 999px;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --shadow: 0 30px 60px -28px rgb(19 20 22 / .28);
  --sans: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "Geist Mono", ui-monospace, "SF Mono", Menlo, monospace;
  --section-space: clamp(72px, 10vw, 144px);
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0e0f10;
    --surface: #17181a;
    --surface-2: #1f2123;
    --fg: #eceef0;
    --muted: #a2a8ae;
    --line: #2a2d30;
    --accent: #ff6369;
    --accent-ink: #1c0a0b;
    --accent-soft: #3a1a1c;
    --hud: #050506;
    --hud-fg: #f2f3f4;
    --shadow: 0 30px 60px -28px rgb(0 0 0 / .6);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #0e0f10;
  --surface: #17181a;
  --surface-2: #1f2123;
  --fg: #eceef0;
  --muted: #a2a8ae;
  --line: #2a2d30;
  --accent: #ff6369;
  --accent-ink: #1c0a0b;
  --accent-soft: #3a1a1c;
  --hud: #050506;
  --hud-fg: #f2f3f4;
  --shadow: 0 30px 60px -28px rgb(0 0 0 / .6);
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 96px; }
body { margin: 0; background: var(--bg); color: var(--fg); font: 400 17px/1.6 var(--sans); -webkit-font-smoothing: antialiased; }
a { color: inherit; text-underline-offset: .2em; }
img { display: block; max-width: 100%; height: auto; }
p { max-width: 62ch; margin: 0; }
h1, h2, h3 { margin: 0; font-weight: 650; letter-spacing: -.035em; text-wrap: balance; }
h1 { font-size: clamp(2.75rem, 1.6rem + 5.4vw, 5.25rem); line-height: 1.02; }
h2 { font-size: clamp(1.875rem, 1.2rem + 2.4vw, 3rem); line-height: 1.08; }
h3 { line-height: 1.15; }
h1 em, h2 em { display: inline-block; line-height: 1.1; padding-bottom: .08em; }
.wrap { width: 100%; max-width: 1200px; margin-inline: auto; padding-inline: clamp(16px, 4vw, 40px); }
.section { padding-block: var(--section-space); }
.hero { min-height: 100dvh; }
.lede { color: var(--muted); }
.mono { font-family: var(--mono); }
.ic { display: inline-grid; place-items: center; width: 1em; height: 1em; font-style: normal; flex-shrink: 0; }
.ic svg { width: 100%; height: 100%; fill: currentColor; }
.actions { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; }
.btn, .lang-switch { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 44px; padding: 10px 20px; border: 1px solid transparent; border-radius: var(--r-pill); font-weight: 500; text-decoration: none; white-space: nowrap; }
.btn { transition: transform 200ms var(--ease), background-color 200ms var(--ease); }
.btn .ic { font-size: 1.1em; }
.btn:active { transform: scale(.98); }
.btn-primary { background: var(--accent); color: var(--accent-ink); }
.btn-ghost { background: transparent; border-color: var(--line); color: var(--fg); }
.btn-ghost:hover { border-color: var(--muted); }
.text-link { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-weight: 500; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
.skip-link { position: fixed; left: 16px; top: 8px; z-index: 30; padding: 10px 20px; min-height: 44px; background: var(--surface); border-radius: var(--r-pill); transform: translateY(-200%); }
.skip-link:focus { transform: none; }
.site-header { position: sticky; top: 0; z-index: 10; height: 64px; border-bottom: 1px solid transparent; background: color-mix(in srgb, var(--bg) 78%, transparent); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); }
.site-header[data-scrolled] { border-bottom-color: var(--line); }
.nav-inner { height: 100%; display: grid; grid-template-columns: minmax(0, 1fr) auto auto; align-items: center; gap: clamp(12px, 2vw, 28px); }
.brand { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; font-weight: 600; text-decoration: none; line-height: 1.15; justify-self: start; }
.brand img { width: 32px; height: 32px; flex-shrink: 0; }
.nav-links, .nav-actions, .footer-links { display: flex; align-items: center; gap: 20px; }
.nav-links a, .footer-links > a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 500; text-decoration: none; }
.nav-links { font-size: 14px; }
.nav-actions { gap: 8px; }
.lang-switch { font: 500 13px var(--mono); border-color: var(--line); padding: 8px 13px; }
html[lang="en"] .language-en, html[lang="es"] .language-es { display: none; }
.github-pill { font-size: 14px; }
footer { border-top: 1px solid var(--line); padding-block: 40px 56px; font-size: 14px; color: var(--muted); }
.footer-grid { display: grid; gap: 24px; align-items: center; }
.footer-credit { color: var(--fg); }
.footer-links { flex-wrap: wrap; gap: 16px; }
.not-found { padding-block: var(--section-space); }
.not-found p, .not-found .actions { margin-top: 24px; }
html.js .reveal { opacity: 0; transform: translateY(14px); transition: opacity 600ms var(--ease), transform 600ms var(--ease); transition-delay: var(--reveal-delay, 0ms); }
html.js .reveal.in { opacity: 1; transform: none; }
@media (min-width: 960px) {
  .footer-grid { grid-template-columns: minmax(0, 1fr) auto; }
}
@media (max-width: 719px) {
  .nav-inner { grid-template-columns: minmax(0, 1fr) auto; gap: 8px; }
  .nav-links, .github-pill span { display: none; }
  .github-pill { width: 44px; padding: 0; }
  .brand { font-size: 14px; gap: 8px; }
}
@media (prefers-reduced-transparency: reduce) {
  .site-header { background: var(--bg); backdrop-filter: none; -webkit-backdrop-filter: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html.js .reveal { opacity: 1; transform: none; }
  .btn:active { transform: none; }
}

.hero { display: grid; align-items: center; padding-block: clamp(48px, 7vw, 96px); overflow-x: clip; }
.hero-grid { display: grid; gap: 48px; align-items: center; }
.hero-copy { display: grid; gap: 28px; min-width: 0; }
.hero h1 span { display: block; }
.hero h1 span:last-child { color: var(--accent); }
.hero-credit { font-size: 14px; color: var(--muted); }
.hero-media { min-width: 0; }
.hero-media img { width: 100%; border-radius: var(--r-surface); box-shadow: var(--shadow); animation: capture-in 700ms var(--ease) both; }
@keyframes capture-in { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.split { display: grid; gap: 40px; }
.section-intro .lede { margin-top: 24px; }
.project-row { padding: 32px 24px; border-top: 1px solid var(--line); }
.project-row:first-child { background: var(--surface); border-radius: var(--r-surface); border-top: 0; }
.project-name { display: inline-flex; align-items: center; gap: 16px; min-height: 44px; font-size: clamp(1.875rem, 3vw, 2.5rem); text-decoration: none; }
.project-name .ic { font-size: .7em; transition: transform 200ms var(--ease); }
.project-name:hover .ic { transform: translateX(4px); }
.status-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.status-row span { padding: 5px 10px; border: 1px solid var(--line); border-radius: var(--r-pill); font-size: 12px; font-weight: 500; }
.status-row span:first-child { background: var(--accent-soft); color: var(--fg); border-color: transparent; }
.project-tagline { margin-top: 24px; }
.project-meta { margin-top: 12px; color: var(--muted); font-size: 12px; }
.project-row .actions { margin-top: 24px; }
.project-row .btn, .project-row .text-link { font-size: 14px; }
.next-row { display: grid; gap: 12px; padding: 32px 24px; color: var(--muted); border-top: 1px solid var(--line); margin-top: 24px; }
.next-row > span { font-size: 12px; }
.next-row .text-link { justify-self: start; }
.principles { margin: 0; }
.principles > div { padding-block: 28px; border-top: 1px solid var(--line); }
.principles dt { font-size: 1.25rem; font-weight: 600; }
.principles dd { color: var(--muted); margin: 12px 0 0; max-width: 62ch; }
.support-panel { display: grid; gap: 32px; padding: clamp(24px, 4vw, 48px); background: var(--accent-soft); border-radius: var(--r-surface); }
.support-panel p { margin-top: 20px; }
.support-panel .btn { justify-self: start; align-self: center; }
@media (min-width: 960px) {
  .hero-grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 40px; }
  .hero-media img { width: 112%; max-width: none; }
  .split { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 64px; }
  .sticky-heading { position: sticky; top: 96px; align-self: start; }
  .support-panel { grid-template-columns: minmax(0, 1fr) auto; }
}
@media (min-width: 1200px) {
  .hero-media img { width: max(125%, calc(100% + (100vw - 1200px) / 2 + 120px)); }
}
@media (max-width: 419px) {
  .wrap { padding-inline: 16px; }
  .project-row, .next-row { padding-inline: 20px; }
}
@media (prefers-reduced-motion: reduce) {
  .project-name:hover .ic { transform: none; }
}
