@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url('../fonts/archivo.woff2') format('woff2');
}
@font-face {
  font-family: 'Fraunces';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url('../fonts/fraunces-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'Fraunces';
  font-style: italic;
  font-weight: 300 700;
  font-display: swap;
  src: url('../fonts/fraunces-italic.woff2') format('woff2');
}
@font-face {
  font-family: 'Literata';
  font-style: normal;
  font-weight: 300 600;
  font-display: swap;
  src: url('../fonts/literata-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'Literata';
  font-style: italic;
  font-weight: 300 600;
  font-display: swap;
  src: url('../fonts/literata-italic.woff2') format('woff2');
}

:root {
    /* encaje / humo / labial: negro casi puro, grises humo neutros, y un
       único rojo labial intenso y mate como acento — sensual por
       contención, no por saturación. Un solo color hace todo el trabajo
       de énfasis, igual que un solo labial rojo hace todo el trabajo de
       un look. */
    --ink: #0A0809;
    --ink-2: #0D0A0B;
    --smoke: #1B1719;
    --smoke-2: #262124;
    --ash: #4A4247;
    --fog: #948C90;
    --pearl: #F5F1F0;
    --pearl-dim: #C9C1C3;

    --lipstick: #C41E3A;
    --lipstick-deep: #7A0F24;
    --lipstick-bright: #E0263F;

    --bg: var(--ink);
    --bg-raised: var(--smoke);
    --bg-raised-2: var(--smoke-2);
    --text: var(--pearl);
    --text-dim: var(--pearl-dim);
    --text-faint: var(--fog);
    --accent: var(--lipstick-bright);
    --accent-soft: var(--lipstick);
    --hairline: rgba(245, 241, 240, 0.12);
    --shadow: rgba(0, 0, 0, 0.55);
    --vignette: 0.45;
    --on-accent: #180406;

    --font-display: 'Fraunces', Georgia, serif;
    --font-body: 'Literata', Georgia, serif;
    --font-label: 'Archivo', 'Helvetica Neue', sans-serif;

    color-scheme: dark;
  }

  * { box-sizing: border-box; }
  html { scroll-behavior: smooth; }
  @media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    * { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
  }

  body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font-family: var(--font-body);
    font-size: 1.0625rem;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    position: relative;
  }

  /* film-grain + a slow drifting haze — "humo" as ambience, not just a word */
  body::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 500;
    opacity: 0.045;
    mix-blend-mode: overlay;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  }
  body::after {
    content: "";
    position: fixed;
    inset: -10%;
    pointer-events: none;
    z-index: 1;
    opacity: 0.5;
    background:
      radial-gradient(38rem 24rem at 12% -6%, color-mix(in srgb, var(--ash) 30%, transparent), transparent 60%),
      radial-gradient(34rem 22rem at 108% 18%, color-mix(in srgb, var(--ash) 22%, transparent), transparent 65%);
    animation: haze 26s ease-in-out infinite alternate;
  }
  @keyframes haze {
    from { transform: translate3d(0, 0, 0) scale(1); }
    to { transform: translate3d(-1.5%, 1%, 0) scale(1.04); }
  }

  /* ---------- Portada: umbral de bienvenida ---------- */
  /* Lo primero que ve cualquiera al entrar: negro puro, humo animado en
     canvas (mismo lenguaje que "Sobre mí") con un aura tibia detrás del
     botón. Se descarta con un clic, Enter o Escape; no vuelve a aparecer
     hasta la próxima carga completa de la página. */
  body.gate-open { overflow: hidden; }
  .intro-gate {
    position: fixed;
    inset: 0;
    z-index: 4000;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #000;
    opacity: 1;
    transition: opacity 0.7s ease;
  }
  .intro-gate[hidden] { display: none; }
  .intro-gate.is-leaving { opacity: 0; pointer-events: none; }
  .intro-gate-content {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1.1rem;
    padding: 0 1.5rem;
    max-width: 28rem;
    animation: gateRise 1s cubic-bezier(0.16, 1, 0.3, 1) 0.2s backwards;
  }
  @keyframes gateRise { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
  .intro-gate-headline {
    font-family: var(--font-display);
    font-style: italic;
    font-weight: 500;
    font-size: clamp(1.5rem, 3.6vw + 0.6rem, 2.5rem);
    line-height: 1.4;
    color: var(--pearl);
    margin: 0 0 0.3rem;
  }
  .intro-gate-headline em { font-style: italic; color: var(--lipstick-bright); }
  .intro-gate-btn {
    font-family: var(--font-label);
    font-weight: 500;
    font-size: 0.7rem;
    letter-spacing: 0.32em;
    text-transform: uppercase;
    line-height: 1.35;
    color: var(--pearl);
    background: none;
    border: none;
    border-bottom: 1px solid var(--hairline);
    border-radius: 0;
    padding: 0 0.05em 0.4rem;
    cursor: pointer;
    box-shadow: none;
    backdrop-filter: none;
    outline: none;
    transition: color 0.3s ease, border-color 0.3s ease, opacity 0.3s ease;
  }
  .intro-gate-btn:hover, .intro-gate-btn:focus-visible {
    border-bottom-color: var(--lipstick-bright);
    outline: none;
  }
  .intro-gate-btn:active { opacity: 0.7; }
  .intro-gate-hint {
    font-family: var(--font-label);
    font-size: 0.68rem;
    letter-spacing: 0.04em;
    color: var(--text-faint);
  }

  a { color: inherit; }
  .lede a, .fragment-cite a {
    color: var(--accent-soft);
    text-decoration: underline;
    text-underline-offset: 0.15em;
  }
  .lede a:hover, .fragment-cite a:hover { color: var(--accent); }
  img { max-width: 100%; display: block; }

  .wrap {
    max-width: 72rem;
    margin: 0 auto;
    padding-inline: clamp(1.25rem, 4vw, 3rem);
    position: relative;
    z-index: 2;
  }

  .measure { max-width: 38rem; }

  h1, h2, h3 { font-family: var(--font-display); font-weight: 600; text-wrap: balance; margin: 0; }
  em, i.accent { font-family: var(--font-display); font-style: italic; font-weight: 500; color: var(--accent-soft); }

  .eyebrow {
    font-family: var(--font-label);
    font-weight: 700;
    font-size: 0.72rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--accent-soft);
    display: inline-flex;
    align-items: center;
    gap: 0.6em;
  }
  .eyebrow::before {
    content: "";
    width: 1.4em;
    height: 1px;
    background: currentColor;
    opacity: 0.7;
  }

  /* ---------- Lace motif (signature texture) ---------- */
  /* a fine scalloped lace pattern, barely-there, blended into dark
     surfaces via soft-light — the literal "encaje negro" of the brief,
     used sparingly so it reads as texture, not wallpaper */
  .lace-bg {
    position: relative;
    isolation: isolate;
  }
  .lace-bg::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    opacity: 0.1;
    mix-blend-mode: soft-light;
    pointer-events: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='72' height='72'%3E%3Cpattern id='l' width='72' height='72' patternUnits='userSpaceOnUse'%3E%3Ccircle cx='36' cy='12' r='6' fill='none' stroke='white' stroke-width='0.6' opacity='0.6'/%3E%3Ccircle cx='12' cy='36' r='6' fill='none' stroke='white' stroke-width='0.6' opacity='0.6'/%3E%3Ccircle cx='60' cy='36' r='6' fill='none' stroke='white' stroke-width='0.6' opacity='0.6'/%3E%3Ccircle cx='36' cy='60' r='6' fill='none' stroke='white' stroke-width='0.6' opacity='0.6'/%3E%3Cpath d='M36 18 Q46 28 36 36 Q26 28 36 18Z' fill='none' stroke='white' stroke-width='0.5' opacity='0.45'/%3E%3Cpath d='M18 36 Q28 46 36 36 Q28 26 18 36Z' fill='none' stroke='white' stroke-width='0.5' opacity='0.45'/%3E%3C/pattern%3E%3Crect width='100%25' height='100%25' fill='url(%23l)'/%3E%3C/svg%3E");
    background-size: 96px 96px;
  }

  /* small vector "kiss mark" — the one figurative motif on the page,
     abstract enough to read as elegant rather than literal */
  .kiss-mark { display: block; }
  .kiss-mark path { fill: currentColor; }

  /* ---------- Header ---------- */
  header.site {
    position: sticky;
    top: 0;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.1rem clamp(1.25rem, 4vw, 3rem);
    backdrop-filter: blur(10px) saturate(1.1);
    background: color-mix(in srgb, var(--bg) 80%, transparent);
    border-bottom: 1px solid var(--hairline);
  }
  .brand {
    font-family: var(--font-display);
    font-style: italic;
    font-weight: 500;
    font-size: 1.35rem;
    letter-spacing: 0.01em;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
  }
  .brand .kiss-mark { width: 1rem; height: 1rem; color: var(--accent-soft); }
  nav.primary {
    display: flex;
    gap: clamp(1rem, 2.4vw, 2.1rem);
    font-family: var(--font-label);
    font-size: 0.78rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    font-weight: 600;
  }
  nav.primary a {
    text-decoration: none;
    color: var(--text-dim);
    position: relative;
    padding-bottom: 0.2rem;
    transition: color 0.25s ease;
  }
  nav.primary a:hover, nav.primary a:focus-visible { color: var(--text); }
  nav.primary a::after {
    content: "";
    position: absolute;
    left: 0; right: 100%; bottom: 0;
    height: 1px;
    background: var(--accent-soft);
    transition: right 0.3s ease;
  }
  nav.primary a:hover::after, nav.primary a:focus-visible::after { right: 0; }
  nav.primary a.active { color: var(--accent-soft); }
  nav.primary a.active::after { right: 0; opacity: 0.6; }
  nav.primary a::before {
    content: "";
    position: absolute;
    inset: -0.85rem -0.4rem;
  }
  .session-menu { position: relative; display: inline-flex; }
  .session-menu[hidden] { display: none; }
  .session-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5em;
    color: var(--accent-soft);
    max-width: 10rem;
    background: none;
    border: none;
    padding: 0;
    font: inherit;
    letter-spacing: inherit;
    text-transform: inherit;
    cursor: pointer;
  }
  #sessionBadgeName { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .session-dropdown {
    position: absolute;
    top: calc(100% + 0.7rem);
    right: 0;
    background: var(--bg-raised);
    border: 1px solid var(--hairline);
    border-radius: 0.5rem;
    padding: 0.4rem;
    min-width: 9.5rem;
    box-shadow: 0 1rem 2rem rgba(0, 0, 0, 0.45);
    z-index: 10;
  }
  .session-dropdown[hidden] { display: none; }
  .session-dropdown-item {
    display: block;
    width: 100%;
    text-align: left;
    background: none;
    border: none;
    color: var(--text);
    font-family: var(--font-label);
    font-size: 0.78rem;
    letter-spacing: 0.05em;
    padding: 0.6rem 0.7rem;
    border-radius: 0.35rem;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease;
  }
  .session-dropdown-item:hover, .session-dropdown-item:focus-visible {
    background: color-mix(in srgb, var(--accent-soft) 15%, transparent);
    color: var(--accent-soft);
    outline: none;
  }
  .session-dot {
    width: 0.45em;
    height: 0.45em;
    border-radius: 50%;
    background: var(--accent-soft);
    box-shadow: 0 0 0.5em var(--accent-soft);
  }

  /* ---------- Nav toggle (mobile) ---------- */
  .nav-toggle {
    display: none;
    background: none;
    border: none;
    padding: 0.5rem;
    margin: -0.5rem;
    color: var(--text);
    cursor: pointer;
  }
  .nav-toggle svg { width: 1.4rem; height: 1.4rem; display: block; }
  .nav-toggle .icon-close { display: none; }
  .nav-toggle[aria-expanded="true"] .icon-open { display: none; }
  .nav-toggle[aria-expanded="true"] .icon-close { display: block; }

  @media (max-width: 760px) {
    header.site { flex-wrap: wrap; }
    .brand { font-size: 1.15rem; }
    .nav-toggle { display: inline-flex; align-items: center; justify-content: center; }
    nav.primary {
      display: none;
      flex-basis: 100%;
      flex-direction: column;
      align-items: stretch;
      gap: 0;
      margin-top: 1.1rem;
      padding-top: 0.9rem;
      border-top: 1px solid var(--hairline);
    }
    nav.primary.open { display: flex; }
    nav.primary a {
      padding: 0.85rem 0.1rem;
      width: 100%;
    }
    nav.primary a::before { inset: 0; }
  }

  /* ---------- Hero ---------- */
  .hero {
    /* Antes centraba el contenido dentro de una sección de casi toda la
       pantalla (92vh + align-items:center), lo que dejaba un bloque
       vacío arriba siempre que el texto no llenara ese alto — casi
       siempre. Ahora el contenido se apoya arriba, con su propio
       padding como respiro bajo el header. */
    position: relative;
    min-height: 78vh;
    display: flex;
    align-items: flex-start;
    padding: clamp(5rem, 12vh, 8rem) clamp(1.25rem, 4vw, 3rem) 4rem;
    overflow: hidden;
  }
  .hero::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background: radial-gradient(120% 95% at 32% 45%, transparent 35%, rgba(0,0,0,var(--vignette)) 100%);
  }
  .hero .glow {
    position: absolute;
    top: 50%;
    right: -10%;
    width: min(60vw, 44rem);
    height: min(60vw, 44rem);
    transform: translateY(-50%);
    background: radial-gradient(circle, color-mix(in srgb, var(--accent) 45%, transparent) 0%, transparent 68%);
    filter: blur(14px);
    animation: breathe 9s ease-in-out infinite;
    pointer-events: none;
  }
  @keyframes breathe {
    0%, 100% { opacity: 0.45; transform: translateY(-50%) scale(1); }
    50% { opacity: 0.72; transform: translateY(-50%) scale(1.08); }
  }
  .hero-inner { position: relative; z-index: 1; max-width: 46rem; }

  @keyframes heroRise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: translateY(0); } }
  @keyframes inkReveal { from { clip-path: inset(0 100% 0 -2%); opacity: 0.4; } to { clip-path: inset(0 0 0 -2%); opacity: 1; } }
  .hero-inner .eyebrow { opacity: 0; animation: heroRise 0.6s cubic-bezier(0.16, 1, 0.3, 1) 0.05s forwards; }
  .hero h1 {
    font-size: clamp(2.6rem, 5.2vw + 0.6rem, 5rem);
    line-height: 1.05;
    margin: 1.1rem 0 1.4rem;
    clip-path: inset(0 100% 0 -2%);
    opacity: 0.4;
    animation: inkReveal 0.9s cubic-bezier(0.65, 0, 0.15, 1) 0.25s forwards;
  }
  .hero p.lede {
    font-family: var(--font-body);
    font-size: 1.15rem;
    color: var(--text-dim);
    max-width: 34rem;
    margin-bottom: 2.1rem;
    opacity: 0;
    animation: heroRise 0.6s cubic-bezier(0.16, 1, 0.3, 1) 0.8s forwards;
  }
  .cta-row {
    display: flex; gap: 1rem; flex-wrap: wrap; align-items: center;
    opacity: 0;
    animation: heroRise 0.6s cubic-bezier(0.16, 1, 0.3, 1) 0.95s forwards;
  }
  .btn {
    font-family: var(--font-label);
    font-weight: 700;
    font-size: 0.78rem;
    letter-spacing: 0.09em;
    text-transform: uppercase;
    text-decoration: none;
    padding: 0.95rem 1.6rem;
    border-radius: 2px;
    display: inline-block;
    border: none;
    cursor: pointer;
    transition: transform 0.25s ease, background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
  }
  .btn.primary {
    background: var(--accent);
    color: var(--on-accent);
  }
  .btn.primary:hover { transform: translateY(-2px); background: color-mix(in srgb, var(--accent) 82%, black); }
  .btn.primary:active { transform: translateY(0) scale(0.97); }
  .btn.ghost {
    color: var(--text);
    border: 1px solid var(--hairline);
    background: transparent;
  }
  .btn.ghost:hover { border-color: var(--accent-soft); color: var(--accent-soft); }
  .btn.ghost:active { transform: scale(0.97); }
  .btn:disabled { opacity: 0.5; cursor: not-allowed; transform: none !important; }

  .scroll-cue {
    position: absolute;
    bottom: 2.2rem;
    left: clamp(1.25rem, 4vw, 3rem);
    font-family: var(--font-label);
    font-size: 0.68rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--text-faint);
    display: flex;
    align-items: center;
    gap: 0.7rem;
  }
  .scroll-cue .line { width: 1px; height: 2.2rem; background: linear-gradient(var(--text-faint), transparent); }

  /* ---------- Section shell ---------- */
  section { padding: clamp(4rem, 9vh, 6.5rem) 0; position: relative; }
  section > .wrap { position: relative; }
  .section-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 2rem;
    margin-bottom: clamp(2.2rem, 5vw, 3.5rem);
    flex-wrap: wrap;
  }
  .section-head h2 { font-size: clamp(1.9rem, 3vw, 2.7rem); }

  .reveal {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1), transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  }
  .reveal.in { opacity: 1; transform: none; }

  /* ---------- About: tinta viva ----------
     El panel de retrato original era una caja de gradiente estática —
     mucha superficie plana con muy poco pasando. En vez de una foto que
     no existe, la sección entera es el fondo: tinta roja animada en
     canvas, difundiéndose sobre negro, con el titular flotando encima.
     Algo que una portada de libro impresa no puede hacer nunca. */
  .about-ink {
    position: relative;
    overflow: hidden;
    padding: clamp(4rem, 9vw, 7rem) 0;
    background: #050203;
  }
  .about-ink-canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    display: block;
  }
  /* disuelve la costura donde termina el hero y arranca el canvas —
     sin esto había un corte duro justo en el borde de la sección */
  .about-ink::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0;
    height: clamp(5rem, 14vh, 9rem);
    background: linear-gradient(180deg, var(--ink) 0%, transparent 100%);
    z-index: 1;
    pointer-events: none;
  }
  .about-ink-grain {
    position: absolute;
    inset: 0;
    opacity: 0.3;
    mix-blend-mode: overlay;
    pointer-events: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
    background-size: 180px 180px;
  }
  .about-ink-content { position: relative; z-index: 2; }
  .about-ink-caption {
    font-family: var(--font-display);
    font-style: italic;
    color: rgba(245, 241, 240, 0.5);
    margin: 0.8rem 0 0;
    font-size: 0.95rem;
  }
  .about-ink-headline {
    font-size: clamp(2.4rem, 6vw, 4.6rem);
    line-height: 1.08;
    max-width: 19ch;
    margin: 1.2rem 0 2.4rem;
    text-wrap: balance;
  }
  .about-ink-body { max-width: 30rem; margin-left: auto; }
  .about-ink-body p { margin: 0 0 1.15rem; color: rgba(245, 241, 240, 0.82); }
  @media (max-width: 760px) {
    .about-ink-body { margin-left: 0; }
  }

  .about-ink-body .signature {
    margin-top: 1.8rem;
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    font-family: var(--font-display);
    font-style: italic;
    font-weight: 500;
    font-size: 1.6rem;
    color: var(--lipstick-bright);
    text-shadow: 0 0 14px color-mix(in srgb, var(--lipstick-bright) 35%, transparent);
  }
  .about-ink-body .signature .kiss-mark { width: 1.15rem; height: 1.15rem; }
  .stat-row {
    display: flex;
    gap: clamp(1.5rem, 4vw, 3rem);
    margin-top: 2.2rem;
    padding-top: 1.6rem;
    border-top: 1px solid var(--hairline);
    flex-wrap: wrap;
  }
  .stat b {
    display: block;
    font-family: var(--font-display);
    font-size: 1.7rem;
    font-weight: 600;
    font-variant-numeric: tabular-nums;
  }
  .stat span {
    font-family: var(--font-label);
    font-size: 0.68rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-faint);
  }

  /* ---------- Fragments ---------- */
  .frag-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(14rem, 1fr));
    gap: 1.4rem;
  }
  @media (max-width: 900px) { .frag-grid { grid-template-columns: repeat(2, 1fr); } }
  @media (max-width: 620px) { .frag-grid { grid-template-columns: 1fr; } }
  .frag-card {
    position: relative;
    overflow: hidden;
    display: block;
    text-decoration: none;
    color: inherit;
    padding: 1.7rem 1.5rem;
    background: linear-gradient(175deg, var(--bg-raised), var(--bg-raised-2));
    border-top: 2px solid var(--accent-soft);
    box-shadow: 0 1rem 2.2rem var(--shadow);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease;
  }
  .frag-card::before {
    content: "";
    position: absolute; inset: 0;
    opacity: 0.22;
    mix-blend-mode: soft-light;
    pointer-events: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='72' height='72'%3E%3Cpattern id='l' width='72' height='72' patternUnits='userSpaceOnUse'%3E%3Ccircle cx='36' cy='12' r='6' fill='none' stroke='white' stroke-width='0.6' opacity='0.6'/%3E%3Ccircle cx='12' cy='36' r='6' fill='none' stroke='white' stroke-width='0.6' opacity='0.6'/%3E%3Ccircle cx='60' cy='36' r='6' fill='none' stroke='white' stroke-width='0.6' opacity='0.6'/%3E%3Ccircle cx='36' cy='60' r='6' fill='none' stroke='white' stroke-width='0.6' opacity='0.6'/%3E%3Cpath d='M36 18 Q46 28 36 36 Q26 28 36 18Z' fill='none' stroke='white' stroke-width='0.5' opacity='0.45'/%3E%3Cpath d='M18 36 Q28 46 36 36 Q28 26 18 36Z' fill='none' stroke='white' stroke-width='0.5' opacity='0.45'/%3E%3C/pattern%3E%3Crect width='100%25' height='100%25' fill='url(%23l)'/%3E%3C/svg%3E");
    background-size: 84px 84px;
  }
  .frag-card > * { position: relative; z-index: 1; }
  .frag-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 1.6rem 3rem var(--shadow), 0 0 2.6rem color-mix(in srgb, var(--lipstick) 32%, transparent);
  }
  .frag-card h3 { font-size: 1.3rem; margin-bottom: 0.7rem; }
  .frag-card p { color: var(--text-dim); font-size: 0.92rem; margin: 0; }
  .frag-card .read-more {
    display: inline-block;
    margin-top: 1.1rem;
    font-family: var(--font-label);
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--accent-soft);
  }

  /* ---------- Placeholder cover (lace, when no photo yet) ---------- */
  .cover-placeholder {
    position: relative;
    aspect-ratio: 4 / 5;
    background: linear-gradient(160deg, var(--smoke-2), var(--ink));
    overflow: hidden;
  }
  .cover-placeholder::before {
    content: "";
    position: absolute;
    inset: 0;
    opacity: 0.16;
    mix-blend-mode: soft-light;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='72' height='72'%3E%3Cpattern id='l' width='72' height='72' patternUnits='userSpaceOnUse'%3E%3Ccircle cx='36' cy='12' r='6' fill='none' stroke='white' stroke-width='0.6' opacity='0.6'/%3E%3Ccircle cx='12' cy='36' r='6' fill='none' stroke='white' stroke-width='0.6' opacity='0.6'/%3E%3Ccircle cx='60' cy='36' r='6' fill='none' stroke='white' stroke-width='0.6' opacity='0.6'/%3E%3Ccircle cx='36' cy='60' r='6' fill='none' stroke='white' stroke-width='0.6' opacity='0.6'/%3E%3C/pattern%3E%3Crect width='100%25' height='100%25' fill='url(%23l)'/%3E%3C/svg%3E");
    background-size: 72px 72px;
  }
  .cover-placeholder .kiss-mark {
    position: absolute;
    bottom: 1rem; right: 1rem;
    width: 1.6rem; height: 1.6rem;
    color: color-mix(in srgb, var(--accent-soft) 70%, transparent);
  }
  .cover-img { position: relative; z-index: 2; aspect-ratio: 4/5; object-fit: cover; width: 100%; }

  /* ---------- Contenido exclusivo ---------- */
  .exclusive-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(14rem, 1fr));
    gap: 1.6rem;
  }
  @media (max-width: 900px) { .exclusive-grid { grid-template-columns: repeat(2, 1fr); } }
  @media (max-width: 620px) { .exclusive-grid { grid-template-columns: 1fr; } }
  .exclusive-card {
    position: relative;
    overflow: hidden;
    background: var(--bg-raised);
    box-shadow: 0 1rem 2.4rem var(--shadow);
    display: flex;
    flex-direction: column;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease;
  }
  .exclusive-card::before {
    content: "";
    position: absolute; inset: 0;
    opacity: 0.16;
    mix-blend-mode: soft-light;
    pointer-events: none;
    z-index: 1;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='72' height='72'%3E%3Cpattern id='l' width='72' height='72' patternUnits='userSpaceOnUse'%3E%3Ccircle cx='36' cy='12' r='6' fill='none' stroke='white' stroke-width='0.6' opacity='0.6'/%3E%3Ccircle cx='12' cy='36' r='6' fill='none' stroke='white' stroke-width='0.6' opacity='0.6'/%3E%3Ccircle cx='60' cy='36' r='6' fill='none' stroke='white' stroke-width='0.6' opacity='0.6'/%3E%3Ccircle cx='36' cy='60' r='6' fill='none' stroke='white' stroke-width='0.6' opacity='0.6'/%3E%3Cpath d='M36 18 Q46 28 36 36 Q26 28 36 18Z' fill='none' stroke='white' stroke-width='0.5' opacity='0.45'/%3E%3Cpath d='M18 36 Q28 46 36 36 Q28 26 18 36Z' fill='none' stroke='white' stroke-width='0.5' opacity='0.45'/%3E%3C/pattern%3E%3Crect width='100%25' height='100%25' fill='url(%23l)'/%3E%3C/svg%3E");
    background-size: 84px 84px;
  }
  .exclusive-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 1.6rem 3rem var(--shadow), 0 0 2.6rem color-mix(in srgb, var(--lipstick) 32%, transparent);
  }
  .exclusive-card .body { position: relative; z-index: 2; padding: 1.4rem 1.4rem 1.6rem; display: flex; flex-direction: column; flex: 1; }
  .exclusive-card h3 { font-size: 1.25rem; margin-bottom: 0.6rem; }
  .exclusive-card .theme { color: var(--text-dim); font-size: 0.9rem; flex: 1; margin: 0 0 1.2rem; }
  .exclusive-card .btn { text-align: center; }
  .exclusive-empty {
    padding: 2.5rem;
    text-align: center;
    color: var(--text-faint);
    border: 1px dashed var(--hairline);
    font-family: var(--font-label);
    font-size: 0.85rem;
  }

  /* ---------- Blog ---------- */
  .blog-list { display: flex; flex-direction: column; }
  .blog-row {
    display: grid;
    grid-template-columns: 8rem 1fr;
    gap: 1.6rem;
    padding: 1.6rem 1rem;
    margin-inline: -1rem;
    border-top: 1px solid var(--hairline);
    border-left: 2px solid transparent;
    align-items: baseline;
    text-decoration: none;
    color: inherit;
    transition: background 0.2s ease, border-left-color 0.2s ease;
  }
  .blog-row:hover {
    background: color-mix(in srgb, var(--bg-raised) 55%, transparent);
    border-left-color: var(--accent-soft);
  }
  .blog-list .blog-row:last-child { border-bottom: 1px solid var(--hairline); }
  .blog-date {
    font-family: var(--font-label);
    font-size: 0.7rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--text-faint);
    font-variant-numeric: tabular-nums;
  }
  .badge-kind {
    display: inline-block;
    margin-bottom: 0.5rem;
    font-family: var(--font-label);
    font-size: 0.6rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 0.22rem 0.55rem;
    border-radius: 999px;
    border: 1px solid var(--hairline);
    color: var(--text-faint);
  }
  .badge-kind.author { color: var(--accent-soft); border-color: color-mix(in srgb, var(--accent-soft) 55%, transparent); }
  .blog-row h3 { font-size: 1.2rem; font-weight: 600; margin: 0 0 0.35rem; transition: color 0.2s ease; }
  .blog-row:hover h3 { color: var(--accent-soft); }
  .blog-row p { margin: 0; color: var(--text-dim); font-size: 0.92rem; max-width: 40rem; }

  /* story submission form */
  .story-form-panel {
    background: linear-gradient(180deg, var(--bg-raised), color-mix(in srgb, var(--bg-raised) 80%, var(--ink)));
    padding: clamp(1.8rem, 4vw, 2.6rem);
    box-shadow: 0 2rem 4rem var(--shadow);
  }
  .field { display: flex; flex-direction: column; gap: 0.4rem; }
  .field-label {
    font-family: var(--font-label);
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-faint);
  }
  .field input, .field textarea {
    background: transparent;
    border: none;
    border-bottom: 1px solid var(--hairline);
    color: var(--text);
    font-family: var(--font-body);
    font-size: 1rem;
    padding: 0.6rem 0.1rem;
    resize: vertical;
  }
  .field input:focus, .field textarea:focus { outline: none; border-color: var(--accent-soft); }
  form.stacked { display: flex; flex-direction: column; gap: 1.2rem; }
  .form-note { margin: 0; min-height: 1.2em; font-size: 0.85rem; color: var(--accent-soft); }

  /* comments */
  .comments-block { margin-top: clamp(3rem, 6vw, 4rem); }
  .comment-list { display: flex; flex-direction: column; gap: 1.4rem; margin: 1.6rem 0 2rem; }
  .comment-item { padding-bottom: 1.4rem; border-bottom: 1px solid var(--hairline); }
  .comment-item .who {
    display: flex; align-items: center; gap: 0.6rem;
    font-family: var(--font-label);
    font-size: 0.72rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--text-faint);
    margin-bottom: 0.5rem;
  }
  .comment-item .who .author-tag {
    color: var(--accent-soft);
    border: 1px solid color-mix(in srgb, var(--accent-soft) 55%, transparent);
    border-radius: 999px;
    padding: 0.12rem 0.5rem;
    font-weight: 700;
  }
  .comment-item p { margin: 0; color: var(--text-dim); }
  .comment-empty { color: var(--text-faint); font-size: 0.9rem; }
  .comment-signin-hint { color: var(--text-faint); font-size: 0.88rem; }
  .comment-signin-hint a { color: var(--accent-soft); text-decoration: none; }
  .comment-signin-hint a:hover { text-decoration: underline; }

  /* respuestas de la autora, anidadas bajo un comentario */
  .comment-item .reply-toggle {
    display: inline-block;
    margin-top: 0.7rem;
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    font-family: var(--font-label);
    font-size: 0.66rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--accent-soft);
  }
  .comment-item .reply-toggle:hover { text-decoration: underline; }
  .comment-item .reply-form { margin-top: 0.9rem; max-width: 32rem; }
  .comment-replies {
    display: flex;
    flex-direction: column;
    gap: 1.1rem;
    margin: 1.1rem 0 0 1.6rem;
    padding-left: 1.2rem;
    border-left: 2px solid color-mix(in srgb, var(--accent-soft) 35%, transparent);
  }
  .comment-reply { border-bottom: none; padding-bottom: 0; }

  /* ---------- Redes sociales ---------- */
  .rrss-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(11rem, 1fr));
    gap: 1rem;
  }
  .rrss-tile {
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    gap: 0.85rem;
    padding: 1.2rem 1.3rem;
    background: var(--bg-raised);
    text-decoration: none;
    color: var(--text);
    border-left: 2px solid transparent;
    transition: border-color 0.2s ease, transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
  }
  .rrss-tile::before {
    content: "";
    position: absolute; inset: 0;
    opacity: 0.14;
    mix-blend-mode: soft-light;
    pointer-events: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='64' height='64'%3E%3Cpattern id='l' width='64' height='64' patternUnits='userSpaceOnUse'%3E%3Ccircle cx='32' cy='10' r='5' fill='none' stroke='white' stroke-width='0.6' opacity='0.6'/%3E%3Ccircle cx='10' cy='32' r='5' fill='none' stroke='white' stroke-width='0.6' opacity='0.6'/%3E%3Ccircle cx='54' cy='32' r='5' fill='none' stroke='white' stroke-width='0.6' opacity='0.6'/%3E%3Ccircle cx='32' cy='54' r='5' fill='none' stroke='white' stroke-width='0.6' opacity='0.6'/%3E%3C/pattern%3E%3Crect width='100%25' height='100%25' fill='url(%23l)'/%3E%3C/svg%3E");
    background-size: 64px 64px;
  }
  .rrss-tile > * { position: relative; z-index: 1; }
  .rrss-tile:hover {
    border-left-color: var(--accent-soft);
    transform: translateX(3px);
    background: var(--bg-raised-2);
    box-shadow: 0 0.6rem 1.8rem color-mix(in srgb, var(--lipstick) 28%, transparent);
  }
  .rrss-tile svg { width: 1.3rem; height: 1.3rem; flex-shrink: 0; color: var(--accent-soft); }
  .rrss-tile .label { font-family: var(--font-label); font-size: 0.85rem; letter-spacing: 0.03em; }
  .rrss-tile .handle { display: block; font-size: 0.72rem; color: var(--text-faint); margin-top: 0.15rem; }

  /* ---------- Fragment / long-form panel ---------- */
  .fragment-panel {
    background: linear-gradient(180deg, var(--bg-raised), color-mix(in srgb, var(--bg-raised) 80%, var(--ink)));
    padding: clamp(2.4rem, 6vw, 4.5rem);
    box-shadow: 0 2rem 4rem var(--shadow);
    position: relative;
  }
  .fragment-panel::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--lipstick-bright), transparent 70%);
  }
  .fragment-body {
    font-family: var(--font-body);
    font-size: 1.08rem;
    line-height: 1.85;
    color: var(--text);
    max-width: 40rem;
  }
  .fragment-body p { margin: 0 0 1.1rem; }
  .fragment-body p:first-of-type::first-letter {
    font-family: var(--font-display);
    font-size: 3.6rem;
    font-weight: 600;
    float: left;
    line-height: 0.82;
    padding: 0.1rem 0.5rem 0 0;
    color: var(--accent-soft);
  }
  .fragment-cite {
    margin-top: 1.6rem;
    font-family: var(--font-label);
    font-size: 0.72rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-faint);
  }

  /* ---------- Footer / newsletter ---------- */
  footer.site {
    position: relative;
    overflow: hidden;
    background: var(--ink-2);
    color: var(--pearl);
    padding: clamp(3.5rem, 8vh, 5.5rem) 0 2.5rem;
    border-top: 1px solid var(--hairline);
  }
  footer.site[hidden] { display: none; }
  footer.site::before {
    content: "";
    position: absolute; inset: 0;
    opacity: 0.16;
    mix-blend-mode: soft-light;
    pointer-events: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='96' height='96'%3E%3Cpattern id='l' width='96' height='96' patternUnits='userSpaceOnUse'%3E%3Ccircle cx='48' cy='16' r='8' fill='none' stroke='white' stroke-width='0.7' opacity='0.6'/%3E%3Ccircle cx='16' cy='48' r='8' fill='none' stroke='white' stroke-width='0.7' opacity='0.6'/%3E%3Ccircle cx='80' cy='48' r='8' fill='none' stroke='white' stroke-width='0.7' opacity='0.6'/%3E%3Ccircle cx='48' cy='80' r='8' fill='none' stroke='white' stroke-width='0.7' opacity='0.6'/%3E%3Cpath d='M48 24 Q61 37 48 48 Q35 37 48 24Z' fill='none' stroke='white' stroke-width='0.6' opacity='0.45'/%3E%3Cpath d='M24 48 Q37 61 48 48 Q37 35 24 48Z' fill='none' stroke='white' stroke-width='0.6' opacity='0.45'/%3E%3C/pattern%3E%3Crect width='100%25' height='100%25' fill='url(%23l)'/%3E%3C/svg%3E");
    background-size: 108px 108px;
  }
  footer.site .wrap { position: relative; z-index: 1; }
  .footer-top {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: clamp(2rem, 5vw, 4rem);
    align-items: start;
    padding-bottom: 2.6rem;
    border-bottom: 1px solid rgba(245,241,240,0.14);
  }
  @media (max-width: 760px) { .footer-top { grid-template-columns: 1fr; } }
  .footer-rrss { margin-top: 2.4rem; }
  footer.site h2 { color: var(--pearl); font-size: clamp(1.7rem, 3vw, 2.3rem); margin-bottom: 0.8rem; }
  footer.site p { color: rgba(245,241,240,0.65); max-width: 30rem; }
  .newsletter-form {
    display: flex;
    gap: 0.75rem;
    margin-top: 1.5rem;
    flex-wrap: wrap;
    align-items: flex-end;
  }
  .newsletter-form .field { flex: 1; min-width: 12rem; }
  .newsletter-form input { width: 100%; }
  .newsletter-form input::placeholder { color: rgba(245,241,240,0.45); }
  .seal {
    width: 3rem; height: 3rem;
    border-radius: 50%;
    background: radial-gradient(circle at 35% 30%, var(--lipstick-bright), var(--lipstick-deep) 60%, #17040A 100%);
    border: none;
    color: var(--pearl);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 0.5rem 1.2rem rgba(0,0,0,0.4);
    transition: transform 0.25s ease;
    flex-shrink: 0;
  }
  .seal .kiss-mark { width: 1.1rem; height: 1.1rem; }
  .seal:hover { transform: scale(1.08) rotate(-4deg); }
  .seal:active { transform: scale(0.95) rotate(-2deg); }
  .newsletter-note { font-size: 0.78rem; margin-top: 0.9rem; color: rgba(245,241,240,0.5); }

  .footer-columns {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 2.6rem 3rem;
    padding-bottom: clamp(2.2rem, 5vh, 3rem);
    border-bottom: 1px solid rgba(245, 241, 240, 0.12);
  }
  .footer-brand {
    color: var(--pearl);
    margin-right: auto;
  }
  .footer-col { display: flex; flex-direction: column; gap: 0.85rem; min-width: 8.5rem; }
  .footer-col-title {
    font-family: var(--font-label);
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(245, 241, 240, 0.4);
    margin-bottom: 0.2rem;
  }
  .footer-col a {
    color: rgba(245, 241, 240, 0.65);
    text-decoration: none;
    font-size: 0.92rem;
    transition: color 0.2s ease;
  }
  .footer-col a:hover, .footer-col a:focus-visible { color: var(--accent-soft); }
  .footer-cta { margin-left: auto; align-self: center; }
  @media (max-width: 640px) {
    .footer-columns { flex-direction: column; gap: 2rem; }
    .footer-brand, .footer-cta { margin: 0; }
  }
  .footer-bottom {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin-top: 2.2rem;
    font-family: var(--font-label);
    font-size: 0.7rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: rgba(245,241,240,0.4);
  }

  :focus-visible { outline: 2px solid var(--accent-soft); outline-offset: 3px; }

  .skip-link {
    position: absolute;
    left: 1rem;
    top: -4rem;
    z-index: 1000;
    background: var(--accent);
    color: var(--on-accent);
    padding: 0.75rem 1.3rem;
    font-family: var(--font-label);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    text-decoration: none;
    border-radius: 2px;
    transition: top 0.2s ease;
  }
  .skip-link:focus { top: 1rem; }

  /* ---------- Routed pages ---------- */
  .view[hidden] { display: none; }
  .view {
    transition: opacity 0.32s cubic-bezier(0.16, 1, 0.3, 1), transform 0.32s cubic-bezier(0.16, 1, 0.3, 1);
  }
  .view.view-leave { opacity: 0; transform: translateY(-10px); pointer-events: none; }
  .view.view-enter { opacity: 0; transform: translateY(14px); }

  .read-progress {
    position: fixed;
    top: 0; left: 0;
    height: 2.5px;
    width: 0%;
    background: linear-gradient(90deg, var(--lipstick), var(--lipstick-bright));
    z-index: 300;
  }
  .read-progress[hidden] { display: none; }

  .page-head { padding: clamp(7rem, 14vh, 9rem) 0 2.5rem; }
  .back-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5em;
    font-family: var(--font-label);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-faint);
    text-decoration: none;
    margin-bottom: 1.6rem;
    transition: color 0.2s ease;
  }
  .back-link:hover { color: var(--accent-soft); }
  .page-head h1 { font-size: clamp(2.3rem, 4.4vw, 3.6rem); margin: 0.8rem 0 1.1rem; }
  .page-head .lede { color: var(--text-dim); font-size: 1.08rem; max-width: 40rem; }
  .page-head .meta-row { display: flex; align-items: center; gap: 0.9rem; margin-top: 1.4rem; flex-wrap: wrap; }

  .post-meta {
    display: flex;
    gap: 1rem;
    align-items: baseline;
    color: var(--text-faint);
    font-family: var(--font-label);
    font-size: 0.72rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
  }

  .loading-note, .empty-note { color: var(--text-faint); font-family: var(--font-label); font-size: 0.85rem; }

  /* ---------- Auth (para comentar) ---------- */
  code {
    font-family: var(--font-label);
    font-size: 0.85em;
    background: color-mix(in srgb, var(--bg-raised) 60%, transparent);
    padding: 0.1em 0.4em;
    border-radius: 2px;
  }
  .auth-panel {
    max-width: 26rem;
    background: linear-gradient(180deg, var(--bg-raised), color-mix(in srgb, var(--bg-raised) 80%, var(--ink)));
    padding: clamp(1.8rem, 4vw, 2.6rem);
    box-shadow: 0 2rem 4rem var(--shadow);
  }
  .auth-tabs { display: flex; gap: 0.5rem; margin-bottom: 1.8rem; border-bottom: 1px solid var(--hairline); }
  .auth-tab {
    background: none;
    border: none;
    color: var(--text-faint);
    font-family: var(--font-label);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 0.7rem 0.2rem;
    cursor: pointer;
    position: relative;
  }
  .auth-tab + .auth-tab { margin-left: 1.2rem; }
  .auth-tab::after {
    content: "";
    position: absolute;
    left: 0; right: 100%; bottom: -1px;
    height: 2px;
    background: var(--accent-soft);
    transition: right 0.25s ease;
  }
  .auth-tab.active { color: var(--text); }
  .auth-tab.active::after { right: 0; }
  .auth-form { display: flex; flex-direction: column; gap: 1.2rem; }
  .auth-form[hidden] { display: none; }
  .auth-form .btn { align-self: flex-start; }
  .auth-hint { margin: -0.6rem 0 0; font-size: 0.78rem; color: var(--text-faint); }
  .field-tip {
    margin: 0;
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    font-size: 0.72rem;
    line-height: 1.4;
    color: var(--text-faint);
    transition: max-height 0.25s ease, opacity 0.2s ease, margin-top 0.25s ease;
  }
  .field-has-tip:focus-within .field-tip { max-height: 3rem; opacity: 1; margin-top: 0.4rem; }
  .auth-note { margin: 0; min-height: 1.2em; font-size: 0.85rem; color: var(--accent-soft); }
  .password-input { position: relative; display: flex; align-items: center; }
  .password-input input { flex: 1; padding-right: 2.1rem; }
  .password-toggle {
    position: absolute;
    right: 0.1rem;
    background: none;
    border: none;
    padding: 0.3rem;
    display: flex;
    color: var(--text-faint);
    cursor: pointer;
  }
  .password-toggle:hover, .password-toggle:focus-visible { color: var(--text); }
  .password-toggle svg { width: 1.1rem; height: 1.1rem; }
  .password-toggle .icon-eye-off { display: none; }
  .password-toggle[aria-pressed="true"] .icon-eye { display: none; }
  .password-toggle[aria-pressed="true"] .icon-eye-off { display: block; }

  /* ---------- Tipografía en celular ----------
     Los clamp() de los títulos llegan a su mínimo ya desde ~385-480px de
     ancho, así que en un celular normal (375-430px) el texto queda
     "plano" en ese mínimo — pensado para verse bien en tablet, no en
     celular. Va al final del archivo a propósito: mismo selector, misma
     especificidad que la regla original, así que por orden de cascada
     esta es la que gana por debajo de 480px. No toca tablet ni escritorio. */
  @media (max-width: 480px) {
    .hero h1 { font-size: clamp(1.9rem, 9vw, 2.6rem); }
    .hero p.lede { font-size: 1.05rem; }
    .section-head h2 { font-size: clamp(1.5rem, 7vw, 1.9rem); }
    .page-head h1 { font-size: clamp(1.8rem, 8vw, 2.3rem); }

    /* El 92vh + centrado vertical del hero es lo que dejaba ese bloque
       vacío arriba del texto: en celular el contenido pasa a apoyarse
       arriba, con un margen razonable, en vez de flotar centrado en
       una sección casi del alto completo de la pantalla. */
    .hero {
      min-height: auto;
      align-items: flex-start;
      padding-top: 2.75rem;
      padding-bottom: 3.5rem;
    }
    /* "Desliza" asumía una sección larga con espacio de sobra al fondo
       para flotar sin chocar con nada; con el hero ya ajustado al
       contenido, no hay dónde ponerlo sin que se monte encima. */
    .hero .scroll-cue { display: none; }
  }
