/* ============================================================
   Baliera — Editorial premium (vertical)
   Hoja de estilos única, sin JavaScript.
   Tokens, fuentes y reglas de la tarjeta.
   ============================================================ */

/* ---------- FUENTES ---------- */
@font-face {
  font-family: "Avenue Mono";
  src: url("fonts/AvenueMono.woff2") format("woff2"),
       url("fonts/AvenueMono.woff")  format("woff");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Space Grotesk";
  src: url("fonts/SpaceGrotesk-Light.ttf") format("truetype");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Space Grotesk";
  src: url("fonts/SpaceGrotesk-Medium.ttf") format("truetype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

/* ---------- TOKENS ---------- */
:root {
  --color-hueso:   #EBE8E5;
  --color-pizarra: #363131;
  --color-coral:   #FFAB97;
  --coral-vibrant: #FA8375;

  --font-display: "Avenue Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;
  --font-body:    "Space Grotesk", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
}

/* ---------- PÁGINA ---------- */
* { box-sizing: border-box; }
html, body {
  margin: 0;
  padding: 0;
  background: #1a1818;
}
body {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ---------- TARJETA (base) ---------- */
.card {
  position: relative;
  overflow: hidden;
  display: grid;
  font-family: var(--font-body);
  text-decoration: none;
  color: inherit;
}
.fmt-v { width: 1080px; height: 1350px; }

.chrome-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.wordmark img { display: block; width: auto; }
.seal {
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  white-space: nowrap;
}
.chrome-bottom {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 24px;
}
.cta {
  display: inline-flex;
  align-items: baseline;
  gap: 14px;
  font-family: var(--font-body);
  font-weight: 400;
  text-decoration: none;
  color: inherit;
}
.cta .arr {
  font-family: var(--font-display);
  color: var(--coral-vibrant);
  text-decoration: none;
}
.cta .label {
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 10px;
  text-decoration-color: var(--coral-vibrant);
}

/* ---------- DIRECCIÓN EDITORIAL (oscura) ---------- */
.ed {
  background: var(--color-pizarra);
  color: var(--color-hueso);
  grid-template-rows: auto 1fr auto;
}
.ed .wordmark img { filter: invert(1) brightness(2); }
.ed .seal { color: var(--color-coral); }
.ed .center { align-self: center; }
.ed h1 {
  font-family: var(--font-display);
  font-weight: 400;
  text-transform: uppercase;
  color: var(--color-hueso);
  letter-spacing: -0.01em;
  line-height: 1.04;
  margin: 0;
  text-wrap: balance;
}
.ed h1 .em {
  text-decoration: underline;
  text-decoration-color: var(--coral-vibrant);
  text-decoration-thickness: 5px;
  text-underline-offset: 14px;
}
.ed .sub {
  font-family: var(--font-body);
  font-weight: 700;
  color: var(--color-hueso);
  opacity: 0.9;
  margin: 0;
  text-wrap: pretty;
}
.ed .chrome-bottom { justify-content: flex-start; }
.ed .cta { color: var(--color-hueso); align-items: center; font-weight: 500; }
.ed .cta .arr { color: var(--coral-vibrant); }
.ed .cta .label { text-transform: lowercase; text-decoration-color: var(--coral-vibrant); }

/* ---------- FORMATO VERTICAL ---------- */
.ed.fmt-v { padding: 84px; }
.ed.fmt-v .seal { font-size: 18px; }
.ed.fmt-v .wordmark img { height: 38px; }
.ed.fmt-v h1 { font-size: 80px; max-width: 14ch; }
.ed.fmt-v .sub { font-size: 30px; line-height: 1.35; margin-top: 52px; max-width: 24ch; }
.ed.fmt-v .cta { font-size: 34px; gap: 16px; }
