@font-face {
  font-family: "Rubik";
  src: url("assets/fonts/Rubik-Light.ttf") format("truetype");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Rubik";
  src: url("assets/fonts/Rubik-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Roboto Mono";
  src: url("assets/fonts/RobotoMono-Light.ttf") format("truetype");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Roboto Mono";
  src: url("assets/fonts/RobotoMono-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  --cream: #fffef8;
  --azul: #1159cc;
  --rosa: #ff99cc;
  --gold: #c9a227;
  --gold-light: #e3c26a;
  --ink: #1a1a1a;
  --soft: #4a556b;
  --soft-light: #8a92a3;
  --pad: 1.35rem;
  --max: 28rem;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: "Rubik", system-ui, sans-serif;
  font-weight: 300;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--azul); text-decoration: none; }
a:hover { text-decoration: underline; }

.wrap {
  width: min(100%, var(--max));
  margin: 0 auto;
  padding: 0 var(--pad);
}

/* Nav */
.nav {
  position: sticky;
  top: 0;
  z-index: 20;
  background: color-mix(in srgb, var(--cream) 92%, transparent);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid color-mix(in srgb, var(--azul) 12%, transparent);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.65rem var(--pad);
  width: min(100%, var(--max));
  margin: 0 auto;
}
.nav-logo { width: 2.1rem; height: 2.1rem; }
.nav-links {
  display: flex;
  gap: 0.85rem;
  flex-wrap: wrap;
  justify-content: flex-end;
  font-family: "Roboto Mono", monospace;
  font-weight: 300;
  font-size: 0.72rem;
}
.nav-links a { color: var(--azul); }

section {
  padding: 3.2rem 0 2.4rem;
}
.sec-label {
  font-family: "Roboto Mono", monospace;
  font-weight: 300;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--azul);
  margin: 0 0 1.1rem;
}

/* Portada */
.hero {
  text-align: center;
  padding-top: 2.2rem;
  padding-bottom: 3.4rem;
}
.hero-logo {
  width: 4.2rem;
  height: 4.2rem;
  margin: 0 auto 1.4rem;
}
.hero-frame {
  display: inline-block;
  border: 2px solid var(--azul);
  padding: 0.55rem;
  background: var(--cream);
  max-width: 100%;
}
.hero-frame img { width: 100%; }
.gold-rule {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  margin: 0.85rem auto 1.6rem;
  max-width: 88%;
}
.gold-rule .line {
  flex: 1;
  height: 2px;
  background: var(--gold-light);
}
.sparkle {
  width: 0.55rem;
  height: 0.55rem;
  position: relative;
}
.sparkle::before, .sparkle::after {
  content: "";
  position: absolute;
  background: var(--rosa);
  left: 50%; top: 50%;
  transform: translate(-50%, -50%);
}
.sparkle::before { width: 100%; height: 1.5px; }
.sparkle::after { width: 1.5px; height: 100%; }
.sparkle.gold::before, .sparkle.gold::after { background: var(--gold); }

.eyebrow {
  font-family: "Roboto Mono", monospace;
  font-weight: 300;
  font-size: 0.85rem;
  color: var(--soft);
  margin: 0 0 0.55rem;
}
.hero h1 {
  font-weight: 300;
  font-size: clamp(2rem, 9vw, 2.6rem);
  letter-spacing: 0.02em;
  margin: 0 0 0.35rem;
  color: var(--azul);
}
.hero .artist {
  font-family: "Roboto Mono", monospace;
  font-weight: 300;
  font-size: 0.92rem;
  color: var(--soft);
  margin: 0;
}

/* Prose */
.prose p {
  font-size: 1.02rem;
  color: var(--ink);
  margin: 0 0 1.15rem;
}
.sign {
  font-family: "Roboto Mono", monospace;
  font-weight: 300;
  font-size: 0.88rem;
  color: var(--azul);
  margin-top: 1.6rem;
}
.bio-list {
  margin: 1.4rem 0 0;
  padding: 0;
  list-style: none;
}
.bio-list li {
  font-family: "Roboto Mono", monospace;
  font-weight: 300;
  font-size: 0.82rem;
  color: var(--soft);
  padding: 0.45rem 0;
  border-top: 1px solid color-mix(in srgb, var(--azul) 10%, transparent);
}
.bio-list li:last-child { border-bottom: 1px solid color-mix(in srgb, var(--azul) 10%, transparent); }

/* Work card */
.work { padding-top: 2.8rem; padding-bottom: 2.8rem; }
.work + .work { border-top: 1px solid color-mix(in srgb, var(--azul) 10%, transparent); }
.work-photo {
  border: 2px solid var(--azul);
  padding: 0.5rem;
  margin: 0 auto 0.9rem;
  background: var(--cream);
}
.work h2 {
  font-weight: 300;
  font-size: clamp(1.45rem, 6vw, 1.85rem);
  margin: 1.15rem 0 0.55rem;
  text-align: center;
}
.meta {
  font-family: "Roboto Mono", monospace;
  font-weight: 300;
  font-size: 0.82rem;
  color: var(--soft);
  text-align: center;
  margin: 0 0 1.1rem;
}
.award {
  background: var(--azul);
  color: #fff;
  font-family: "Roboto Mono", monospace;
  font-weight: 400;
  font-size: 0.78rem;
  text-align: center;
  padding: 0.7rem 0.85rem;
  margin: 0 0 1.35rem;
  line-height: 1.4;
}
.note {
  font-family: "Roboto Mono", monospace;
  font-weight: 300;
  font-size: 0.8rem;
  color: var(--soft-light);
  text-align: center;
  margin: -0.5rem 0 1.2rem;
}

.price {
  display: grid;
  grid-template-columns: 3px 1fr;
  gap: 0 0.9rem;
  margin: 0 0 1.35rem;
  align-items: start;
}
.price .accent { background: var(--azul); min-height: 100%; }
.price.copia .accent { background: var(--rosa); }
.price .label {
  font-family: "Roboto Mono", monospace;
  font-weight: 400;
  font-size: 0.86rem;
  color: var(--azul);
  margin: 0 0 0.25rem;
}
.price .sub {
  font-family: "Roboto Mono", monospace;
  font-weight: 300;
  font-size: 0.78rem;
  color: var(--soft-light);
  margin: 0 0 0.35rem;
}
.price .sats {
  font-weight: 300;
  font-size: 1.55rem;
  margin: 0 0 0.15rem;
  letter-spacing: 0.01em;
}
.price .usd {
  font-family: "Roboto Mono", monospace;
  font-weight: 300;
  font-size: 0.86rem;
  color: var(--soft);
  margin: 0;
}

.cert-block { margin-top: 0.5rem; }
.cert-thumb {
  display: block;
  width: min(100%, 22rem);
  border: 1px solid var(--azul);
  padding: 0;
  background: none;
  cursor: zoom-in;
  margin: 0 auto;
}
.cert-thumb img { width: 100%; }
.cert-cap {
  font-family: "Roboto Mono", monospace;
  font-weight: 300;
  font-size: 0.82rem;
  color: var(--soft);
  text-align: center;
  margin: 0.7rem 0 0;
}

/* Prices table */
.price-table {
  width: 100%;
  border-collapse: collapse;
  font-family: "Roboto Mono", monospace;
  font-weight: 300;
  font-size: 0.78rem;
}
.price-table th, .price-table td {
  text-align: left;
  padding: 0.7rem 0.35rem;
  border-bottom: 1px solid color-mix(in srgb, var(--azul) 12%, transparent);
  vertical-align: top;
}
.price-table th {
  color: var(--azul);
  font-weight: 400;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.price-table .num { white-space: nowrap; color: var(--ink); }
.price-table .work-name { font-family: "Rubik", sans-serif; font-weight: 300; font-size: 0.9rem; color: var(--ink); }
.asof {
  font-family: "Roboto Mono", monospace;
  font-weight: 300;
  font-size: 0.78rem;
  color: var(--soft-light);
  margin: 0 0 1.2rem;
}

.links {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 1.4rem;
}
.btn {
  display: block;
  text-align: center;
  border: 1.5px solid var(--azul);
  color: var(--azul);
  font-family: "Roboto Mono", monospace;
  font-weight: 400;
  font-size: 0.88rem;
  padding: 0.85rem 1rem;
  text-decoration: none;
  background: var(--cream);
}
.btn:hover { background: var(--azul); color: #fff; text-decoration: none; }
.btn.soft { border-color: var(--rosa); color: var(--azul); }

/* Footer */
.site-footer {
  padding: 2.5rem var(--pad) 3rem;
  text-align: center;
  position: relative;
}
.site-footer .stamp {
  width: 4.5rem;
  height: 4.5rem;
  margin: 0 auto 1.1rem;
  opacity: 0.95;
}
.site-footer p {
  font-family: "Roboto Mono", monospace;
  font-weight: 400;
  font-size: 0.82rem;
  color: var(--azul);
  margin: 0;
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(26, 26, 26, 0.82);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  z-index: 50;
}
.lightbox.open { display: flex; }
.lightbox img {
  max-width: min(96vw, 900px);
  max-height: 90vh;
  border: 1px solid var(--azul);
  background: var(--cream);
}
.lightbox-close {
  position: absolute;
  top: 0.8rem;
  right: 1rem;
  background: none;
  border: none;
  color: #fff;
  font-size: 1.6rem;
  cursor: pointer;
  font-family: "Roboto Mono", monospace;
}

@media (min-width: 640px) {
  :root { --max: 36rem; --pad: 1.6rem; }
}
