:root {
  color-scheme: dark;
  font-family: Inter, system-ui, sans-serif;
  background: #111512;
  color: #f5f3ea;
  --muted: #b6c0b7;
  --line: #384239;
  --accent: #dcf5aa;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; }
a { color: inherit; }
a:hover { color: var(--accent); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
.wrap { width: min(1120px, calc(100% - 48px)); margin-inline: auto; }
.bar { border-bottom: 1px solid var(--line); }
.nav { min-height: 68px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.nav a { text-decoration: none; }
.nav-links { display: flex; gap: clamp(12px, 3vw, 28px); color: var(--muted); }
.wordmark { font-size: 1.35rem; font-weight: 750; letter-spacing: -.045em; }
.wordmark span, h1 span { color: var(--accent); }
.hero { display: grid; grid-template-columns: 2fr 1fr; align-items: end; gap: 40px; padding: clamp(60px, 10vw, 122px) 0 72px; }
.eyebrow { color: var(--accent); letter-spacing: .08em; font-size: .875rem; font-weight: 650; }
h1 { font-size: clamp(3.3rem, 9vw, 7.3rem); line-height: .98; letter-spacing: -.078em; margin: 0; }
.lede { max-width: 32ch; font-size: clamp(1.15rem, 2.4vw, 1.45rem); margin: 22px 0 28px; }
.lede, .hero-side, .card-body > p:not(.eyebrow), .install-note, dd { color: var(--muted); line-height: 1.55; }
.hero-side { border-left: 1px solid var(--line); padding: 0 0 3px 24px; }
.hero-side .eyebrow { margin: 0; }
.hero-side p { margin-block: 0 12px; }
h2 { font-size: clamp(1.7rem, 4vw, 2.6rem); letter-spacing: -.046em; margin: 0 0 20px; }
h3 { font-size: 1.45rem; line-height: 1.1; letter-spacing: -.037em; margin: 9px 0; }
.projects { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.card { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: 16px; background: #1a211c; overflow: hidden; }
.art { display: grid; place-items: center; height: 138px; background: #253e35; }
.art.game { background: #27394f; }
.art.loteria { background: #443526; }
.art img { border-radius: 17px; box-shadow: 0 8px 22px #0d100e60; }
.card-body { display: flex; flex-direction: column; flex: 1; padding: 22px; }
.card-body p { margin: 0 0 18px; }
.card-body .eyebrow { margin: 0; }
.card-links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; }
.button { display: inline-flex; align-items: center; min-height: 42px; border: 1px solid #576359; border-radius: 8px; padding: 8px 12px; text-decoration: none; font-size: .875rem; font-weight: 650; }
.button:hover { border-color: var(--accent); }
.button.primary { background: var(--accent); color: #1b2516; border-color: var(--accent); }
.button.primary:hover { background: #effcd6; }
.install-note { max-width: 75ch; margin: 20px 0 0; }
.skills { border-top: 1px solid var(--line); margin-top: 58px; padding-top: 32px; }
dl { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin: 0; }
dt { font-weight: 700; }
dd { margin: 7px 0 0; }
footer { padding: 44px 0; color: var(--muted); }
@media (max-width: 740px) {
  .wrap { width: calc(100% - 32px); }
  .hero, .projects, dl { grid-template-columns: 1fr; }
  .hero { gap: 26px; padding-bottom: 48px; }
  .hero-side { padding-left: 16px; }
  .art { height: 110px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
