
      @font-face { font-family: "Fraunces"; font-style: normal; font-weight: 400; font-display: swap; src: url(../fonts/fraunces-400.woff2) format("woff2"); }
      @font-face { font-family: "Fraunces"; font-style: italic; font-weight: 400; font-display: swap; src: url(../fonts/fraunces-400-italic.woff2) format("woff2"); }
      @font-face { font-family: "Inter"; font-style: normal; font-weight: 400; font-display: swap; src: url(../fonts/inter-400.woff2) format("woff2"); }
      :root {
        --bg: #070b14;
        --panel: #0b111f;
        --ink: #e9edf5;
        --muted: #9aa5bd;
        --faint: #707c97;
        --hair: rgba(154, 165, 189, 0.16);
        --hair-strong: rgba(154, 165, 189, 0.30);
        --gold: #cfc0a0;
        --peri: #9db4e8;
        --serif: "Fraunces", Georgia, "Times New Roman", serif;
        --sans: "Inter", system-ui, "Segoe UI", Verdana, sans-serif;
      }
      * { margin: 0; padding: 0; box-sizing: border-box; }
      @media (prefers-reduced-motion: no-preference) {
        html { scroll-behavior: smooth; }
      }
      .sprite { position: absolute; }

      /* accessibility: skip link + keyboard focus */
      .skip-link {
        position: absolute; left: 12px; top: -100px; z-index: 100;
        background: var(--panel); color: var(--gold); border: 1px solid var(--hair-strong);
        padding: 10px 16px; font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase;
        text-decoration: none;
      }
      .skip-link:focus, .skip-link:focus-visible { top: 12px; }
      :focus-visible { outline: 2px solid rgba(207, 192, 160, 0.8); outline-offset: 3px; }
      body {
        background: var(--bg);
        color: var(--ink);
        font-family: var(--sans);
        font-size: 16px;
        line-height: 1.7;
        -webkit-font-smoothing: antialiased;
      }
      ::selection { background: var(--gold); color: var(--bg); }
      .wrap { max-width: 1060px; margin: 0 auto; padding: 0 30px; }

      /* labels & type helpers */
      .label {
        font-family: var(--sans); font-size: 11px;
        letter-spacing: 0.34em; text-transform: uppercase;
        color: var(--gold);
      }
      .rule { border: 0; border-top: 1px solid var(--hair); }

      /* ---------- nav ---------- */
      nav { position: sticky; top: 0; z-index: 20; background: rgba(7, 11, 20, 0.85); backdrop-filter: blur(10px); }
      .nav-inner {
        max-width: 1060px; margin: 0 auto; padding: 20px 30px;
        display: flex; justify-content: space-between; align-items: center;
      }
      .wordmark { font-family: var(--serif); font-size: 17px; letter-spacing: 0.02em; color: var(--ink); text-decoration: none; }
      .wordmark em { font-style: italic; color: var(--gold); }
      nav ul { display: flex; gap: 34px; list-style: none; }
      nav ul a {
        font-size: 11px; letter-spacing: 0.26em; text-transform: uppercase;
        color: var(--muted); text-decoration: none; transition: color 0.25s;
      }
      .nav-right { display: flex; align-items: center; gap: 34px; }
      .lang-switch { display: flex; align-items: baseline; gap: 7px; }
      .lang-switch button, .lang-switch a {
        background: none; border: 0; padding: 0; cursor: pointer; font-family: var(--sans);
        font-size: 11px; letter-spacing: 0.26em; text-transform: uppercase;
        color: var(--muted); text-decoration: none; transition: color 0.25s;
      }
      .lang-switch button.active, .lang-switch button:hover,
      .lang-switch a.active, .lang-switch a[aria-current], .lang-switch a:hover { color: var(--gold); }
      .lang-switch span { color: var(--faint); font-size: 11px; }

      /* ---------- hero ---------- */
      header { padding: 96px 0 0; position: relative; }
      .hero-grid { position: relative; z-index: 1; }
      .hero-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 64px; align-items: end; }
      h1 {
        font-family: var(--serif); font-weight: 400;
        font-size: clamp(44px, 6.4vw, 78px);
        line-height: 1.06; letter-spacing: -0.015em; margin-top: 26px;
      }
      h1 em { color: var(--gold); }
      .lede { margin-top: 28px; max-width: 50ch; color: var(--muted); font-size: 16.5px; }
      .hero-meta {
        margin-top: 44px; padding-top: 22px; border-top: 1px solid var(--hair);
        display: flex; gap: 34px; flex-wrap: wrap;
      }
      .hero-meta div { font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--faint); }
      .hero-meta b { display: block; font-weight: 400; color: var(--ink); font-size: 13px; margin-bottom: 3px; }
      .status { display: inline-flex; align-items: center; gap: 8px; }
      .status::before {
        content: ""; width: 6px; height: 6px; border-radius: 50%;
        background: var(--gold); display: inline-block;
      }

      /* hidden turtle — cursor lens */
      header { padding: 96px 0 0; position: relative; }
      .hero-grid { position: relative; z-index: 1; }
      .hero-art { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
      .art-wrap {
        position: absolute; right: -40px; bottom: -70px;
        -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, 0.55) 24%, #000 54%);
        mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, 0.55) 24%, #000 54%);
      }
      .art-inner {
        -webkit-mask-image: linear-gradient(270deg, transparent 0%, rgba(0, 0, 0, 0.55) 24%, #000 54%);
        mask-image: linear-gradient(270deg, transparent 0%, rgba(0, 0, 0, 0.55) 24%, #000 54%);
      }
      .art-layer {
        font-family: ui-monospace, "Courier New", Menlo, monospace;
        font-size: 8px; line-height: 1.15; letter-spacing: 0;
        color: #00d4ff; white-space: pre; margin: 0;
      }
      .art-dim { opacity: 0.07; }
      .art-lit {
        position: absolute; inset: 0; opacity: 0.95;
        -webkit-mask-image: radial-gradient(circle 150px at var(--mx, -999px) var(--my, -999px), #000 0%, #000 55%, transparent 100%);
        mask-image: radial-gradient(circle 150px at var(--mx, -999px) var(--my, -999px), #000 0%, #000 55%, transparent 100%);
      }
      .art-layer .ln { white-space: pre; display: block; opacity: 0; animation: lnIn 0.7s ease forwards; }
      @keyframes lnIn { to { opacity: 1; } }
      /* ---------- sections ---------- */
      section { padding: 110px 0 0; }
      .sec-head { display: flex; align-items: baseline; gap: 22px; margin-bottom: 56px; }
      .sec-head .no { font-family: var(--serif); font-size: 15px; color: var(--gold); letter-spacing: 0.1em; }
      .sec-head h2 {
        font-family: var(--serif); font-weight: 400; font-size: clamp(28px, 3.6vw, 40px);
        letter-spacing: -0.01em;
      }
      .sec-head .fill { flex: 1; border-top: 1px solid var(--hair); transform: translateY(-6px); }

      /* about */
      .about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; }
      .manifesto {
        font-family: var(--serif); font-size: clamp(23px, 2.9vw, 31px);
        line-height: 1.5; letter-spacing: -0.005em;
      }
      .manifesto em { color: var(--gold); }
      .bio p { color: var(--muted); font-size: 15.5px; margin-bottom: 18px; }
      .bio p:first-child::first-letter {
        font-family: var(--serif); font-size: 44px; float: left;
        line-height: 0.85; padding: 6px 10px 0 0; color: var(--gold);
      }
      .sig { margin-top: 30px; font-family: var(--serif); font-style: italic; font-size: 22px; color: var(--peri); }

      /* ---------- projects ---------- */
      .proj-list { border-top: 1px solid var(--hair-strong); }
      .proj {
        border-bottom: 1px solid var(--hair-strong);
        padding: 44px 8px 46px;
        display: grid; grid-template-columns: 56px 1fr 210px; gap: 30px;
        transition: background 0.35s;
        position: relative;
      }
      .proj > * { transition: translate 0.35s; }
      .proj:hover { background: rgba(11, 17, 31, 0.75); }
      .proj:hover > * { translate: 12px 0; }
      .proj:hover > :last-child { translate: -12px 0; }
      .proj .idx {
        font-family: var(--serif); font-size: 15px; color: var(--faint);
        padding-top: 8px; letter-spacing: 0.08em;
      }
      .proj h3 {
        font-family: var(--serif); font-weight: 400;
        font-size: clamp(24px, 3vw, 34px); line-height: 1.15; letter-spacing: -0.01em;
        transition: color 0.25s;
      }
      .proj:hover h3 { color: var(--gold); }
      .proj h3 .ptitle { color: inherit; text-decoration: none; }
      .proj h3 .ptitle::after { content: " ↗"; color: var(--gold); font-size: 0.45em; vertical-align: 0.6em; }
      .proj .tag {
        display: block; margin: 10px 0 14px;
        font-size: 11px; letter-spacing: 0.28em; text-transform: uppercase; color: var(--faint);
      }
      .proj .desc { color: var(--muted); font-size: 15px; max-width: 58ch; }
      .proj-side { display: flex; flex-direction: column; justify-content: space-between; padding-top: 8px; }
      .proj-links { display: flex; flex-direction: column; gap: 12px; }
      .plnk {
        font-size: 11.5px; letter-spacing: 0.24em; text-transform: uppercase;
        color: var(--muted); text-decoration: none; width: fit-content;
        padding-bottom: 4px;
        background: linear-gradient(var(--gold), var(--gold)) left bottom / 0 1px no-repeat;
        transition: background-size 0.35s ease, color 0.25s;
      }
      .plnk:hover { color: var(--gold); background-size: 100% 1px; }
      .plnk::after { content: " ↗"; color: var(--gold); }
      .plnk.dl::after { content: none; }
      .plnk.play { color: var(--ink); }
      .plnk.play .ic { width: 15px; height: 15px; vertical-align: -3px; color: var(--gold); }
      .plnk .ic { width: 12px; height: 12px; fill: currentColor; margin-right: 9px; vertical-align: -1.5px; }
      .proj .year { font-family: var(--serif); font-size: 14px; color: var(--faint); text-align: right; }

      /* verify sha chip */
      .p-verify {
        display: inline-flex; align-items: baseline; gap: 10px; width: fit-content;
        font-size: 10.5px; letter-spacing: 0.2em; text-transform: uppercase;
        color: var(--faint); text-decoration: none;
        border: 1px solid var(--hair); padding: 8px 12px; margin-top: 14px;
        transition: color 0.25s, border-color 0.25s;
      }
      .p-verify:hover { color: var(--gold); border-color: var(--hair-strong); }
      .p-verify code {
        font-family: ui-monospace, "Courier New", Menlo, monospace;
        font-size: 11px; letter-spacing: 0.08em; text-transform: none;
        color: var(--gold); cursor: pointer;
      }

      /* auto-hide empty links: a slot without a real href disappears (css only) */
      .plnk:is(:not([href]), [href=""], [href="#"]),
      .p-verify:is(:not([href]), [href=""], [href="#"]),
      .foot-links a:is(:not([href]), [href=""], [href="#"]) { display: none; }
      .proj-links:not(:has(:is(.plnk, .pbtn)[href]:not([href=""]):not([href="#"]))),
      .foot-links:not(:has(a[href]:not([href=""]):not([href="#"]))) { display: none; }

      /* breathing — la lista respira, como la tortuga meditando */
      @media (prefers-reduced-motion: no-preference) {
        .proj { animation: projBreathe 13s ease-in-out infinite; }
        .proj:nth-child(2) { animation-delay: -4.3s; }
        .proj:nth-child(3) { animation-delay: -8.6s; }
        .art-dim { animation: dimBreathe 15s ease-in-out infinite; }
      }
      @keyframes projBreathe {
        0%, 100% { transform: translateY(0); }
        50% { transform: translateY(3px); }
      }
      @keyframes dimBreathe {
        0%, 100% { opacity: 0.05; }
        50% { opacity: 0.09; }
      }

      /* ---------- contact ---------- */
      .contact { text-align: center; padding-bottom: 30px; }
      .contact h3 {
        font-family: var(--serif); font-weight: 400;
        font-size: clamp(36px, 6vw, 64px); line-height: 1.12; letter-spacing: -0.015em;
      }
      .contact h3 em { color: var(--gold); }
      .contact p { color: var(--muted); margin: 26px auto 38px; max-width: 46ch; font-size: 15.5px; }
      .find { font-family: var(--serif); font-style: italic; font-size: 17px; color: var(--muted); }
      .find em { color: var(--gold); }

      /* ---------- el mar del pie — footer acuático ---------- */
      .sea {
        position: relative; height: 250px; margin-top: 96px; z-index: 5;
        background: linear-gradient(180deg, rgba(11,21,38,0) 0%, rgba(12,22,41,0.92) 40%, #0a1322 100%);
      }
      .wave-band { position: absolute; left: 0; right: 0; bottom: 0; height: 60px; overflow: hidden; pointer-events: none; }
      .wave-band.back { bottom: 16px; opacity: 0.5; }
      .wave-band.front { z-index: 40; }
      .wave { position: absolute; bottom: 0; left: 0; width: 200%; height: 100%; animation: waveDrift 31s linear infinite; }
      .wave svg { display: block; width: 100%; height: 100%; }
      .wave-back { animation-duration: 49s; animation-direction: reverse; }
      @keyframes waveDrift { from { transform: translateX(0); } to { transform: translateX(-50%); } }
      .sea-text {
        position: absolute; left: 30px; right: 30px; bottom: 20px; z-index: 50;
        display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px;
      }
      .sea-text .label { color: var(--faint); }
      .foot-links { display: flex; gap: 24px; }
      .foot-links a {
        font-size: 10.5px; letter-spacing: 0.26em; text-transform: uppercase;
        color: var(--muted); text-decoration: none;
      }
      .foot-links a:hover { color: var(--gold); }
      .wch { display: inline-block; transform-origin: 50% 100%; }

      /* ---------- tuga, la tortuga — nada en el mar ---------- */
      .tuga {
        position: absolute; top: 0; left: 0; z-index: 30;
        display: block; text-decoration: none; will-change: transform;
      }
      body.calm .tuga { left: auto; right: 34px; top: auto; bottom: 58px; transform: none; }
      .tuga .tip {
        position: absolute; right: 2px; bottom: calc(100% + 18px); white-space: nowrap;
        font-size: 10.5px; letter-spacing: 0.22em; text-transform: uppercase;
        color: var(--gold); background: var(--panel); border: 1px solid var(--hair);
        padding: 11px 16px; opacity: 0; transform: translateY(8px);
        transition: opacity 0.35s ease, transform 0.35s ease; pointer-events: none;
      }
      .tuga .tip::after {
        content: ""; position: absolute; right: 26px; bottom: -4.5px; width: 8px; height: 8px;
        background: var(--panel); border-right: 1px solid var(--hair); border-bottom: 1px solid var(--hair);
        transform: rotate(45deg);
      }
      .tuga:hover .tip { opacity: 1; transform: translateY(0); }
      .t-body { display: block; will-change: transform; }
      .turtle-side-body {
        display: block; position: relative; width: 140px; height: 96px;
        transform-origin: 50% 60%; will-change: transform;
      }
      .turtle-side-body svg { display: block; width: 100%; height: 100%; filter: drop-shadow(0 10px 14px rgba(0, 0, 0, 0.45)); }
      .side-flipper-front { transform-origin: 185px 125px; animation: frontFlipperStroke 3.9s infinite ease-in-out; }
      @keyframes frontFlipperStroke {
        0%, 100% { transform: rotate(0deg); }
        35% { transform: rotate(-35deg) skewX(-5deg); }
        70% { transform: rotate(15deg) skewX(5deg); }
      }
      .side-flipper-rear { transform-origin: 85px 145px; animation: rearFlipperSteer 3.9s infinite ease-in-out; }
      @keyframes rearFlipperSteer {
        0%, 100% { transform: rotate(0deg); }
        50% { transform: rotate(-16deg); }
      }
      .eye-blink { transform-box: fill-box; transform-origin: center; animation: tuga-blink 7.3s ease-in-out infinite; }
      @keyframes tuga-blink {
        0%, 94%, 100% { transform: scaleY(1); }
        96.5% { transform: scaleY(0.08); }
      }
      .head-track { transform-box: view-box; transform-origin: 200px 125px; }
      .tuga.asleep .eye-blink { animation-duration: 13s; }
      .tuga.asleep .side-flipper-front { animation-duration: 7.5s; }
      .tuga.asleep .side-flipper-rear { animation-duration: 7.5s; }
      .tuga .bubble {
        position: absolute; border-radius: 50%;
        border: 1px solid rgba(157, 180, 232, 0.5);
        background: rgba(157, 180, 232, 0.07);
        pointer-events: none; opacity: 0;
        animation: bubbleRise linear forwards;
      }
      @keyframes bubbleRise {
        0% { transform: translateY(0) translateX(0); opacity: 0; }
        12% { opacity: 0.65; }
        100% { transform: translateY(-46px) translateX(8px); opacity: 0; }
      }

      /* código Konami — la marea sube */
      body.flood .sea {
        position: fixed; top: 0; left: 0; right: 0; height: 100vh; margin: 0; z-index: 900;
        background: linear-gradient(180deg, rgba(10,18,34,0.9) 0%, rgba(7,12,24,0.97) 62%, #060b16 100%);
        animation: floodIn 2.6s cubic-bezier(0.22, 0.61, 0.36, 1) both;
      }
      @keyframes floodIn { from { transform: translateY(100%); } to { transform: translateY(0); } }
      body.flood-out .sea { animation: floodOut 1.4s cubic-bezier(0.55, 0.06, 0.68, 0.19) both; }
      @keyframes floodOut { from { transform: translateY(0); } to { transform: translateY(100%); } }
      body.flood .wave-band.front { bottom: auto; top: 0; transform: scaleY(-1); }
      .tuga .speech {
        position: absolute; right: -8px; bottom: calc(100% + 16px); width: 300px;
        background: var(--panel); border: 1px solid var(--hair);
        padding: 14px 16px; opacity: 0; transform: translateY(8px);
        transition: opacity 0.5s ease 1.4s, transform 0.5s ease 1.4s;
        pointer-events: none;
      }
      body.flood .tuga .speech { opacity: 1; transform: translateY(0); }
      .tuga .speech::after {
        content: ""; position: absolute; right: 22px; bottom: -4.5px; width: 8px; height: 8px;
        background: var(--panel); border-right: 1px solid var(--hair); border-bottom: 1px solid var(--hair);
        transform: rotate(45deg);
      }
      .tuga .speech .who {
        display: block; font-family: system-ui, sans-serif; font-weight: 400;
        font-size: 10px; letter-spacing: 0.22em; text-transform: uppercase;
        color: var(--gold); margin-bottom: 7px;
      }
      .tuga .speech .msg {
        font-family: var(--serif); font-style: italic; font-size: 14px;
        line-height: 1.55; color: var(--ink);
      }
      .tuga:hover .side-flipper-front,
      .tuga:hover .side-flipper-rear,
      .tuga:hover .eye-blink { animation-play-state: paused; }
      body.calm .wave { animation: none; }
      @media (prefers-reduced-motion: reduce) {
        .side-flipper-front, .side-flipper-rear, .eye-blink, .wave { animation: none !important; }
      }

      /* ko-fi flotante (enlace con estilo propio, sin scripts ni imagenes externas) */
      .kofi {
        position: fixed; left: 18px; bottom: 18px; z-index: 60;
        display: inline-flex; align-items: center; gap: 9px; padding: 11px 16px;
        font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; text-decoration: none;
        color: var(--ink); background: rgba(11, 17, 31, 0.92); border: 1px solid var(--hair-strong);
        transition: opacity 0.3s ease, transform 0.3s ease, color 0.25s, border-color 0.25s;
      }
      .kofi .ic { width: 14px; height: 14px; fill: currentColor; }
      .kofi:hover, .kofi:focus-visible { color: var(--gold); border-color: var(--gold); }
      .kofi.kofi-hide { opacity: 0; transform: translateY(8px); pointer-events: none; visibility: hidden; transition: opacity 0.3s ease, transform 0.3s ease, visibility 0s linear 0.3s; }
      /* volver arriba: anillo dorado que se completa al leer; aparece al salir de la cabecera, se oculta en el pie */
      .totop {
        position: fixed; right: 18px; bottom: 18px; z-index: 60;
        width: 56px; height: 56px; display: block; color: var(--gold); border-radius: 50%;
        opacity: 0; visibility: hidden; transform: translateY(10px);
        transition: opacity 0.35s ease, transform 0.35s ease, visibility 0s linear 0.35s, color 0.25s;
      }
      .totop svg { display: block; width: 100%; height: 100%; overflow: visible; }
      .totop .t-disc { fill: rgba(11, 17, 31, 0.92); stroke: none; }
      .totop .t-track { fill: none; stroke: var(--hair-strong); stroke-width: 1; }
      .totop .t-prog { fill: none; stroke: var(--gold); stroke-width: 1.5; stroke-linecap: round; stroke-dasharray: 163.4; stroke-dashoffset: 163.4; transform: rotate(-90deg); transform-origin: 28px 28px; }
      .totop .t-arrow { fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; transition: transform 0.3s ease; }
      .totop .t-tick { fill: none; stroke: currentColor; stroke-width: 1; stroke-linecap: round; opacity: 0.45; }
      .totop.totop-show { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
      .totop:hover, .totop:focus-visible { color: var(--ink); }
      .totop:hover .t-arrow, .totop:focus-visible .t-arrow { transform: translateY(-2px); }
      .totop:hover .t-track, .totop:focus-visible .t-track { stroke: var(--gold); }
      @keyframes readProg { to { stroke-dashoffset: 0; } }
      @supports (animation-timeline: scroll()) {
        .totop .t-prog { animation: readProg linear both; animation-timeline: scroll(root block); }
      }
            @media (max-width: 900px) { .kofi { left: 12px; bottom: 12px; padding: 9px 12px; font-size: 10px; letter-spacing: 0.14em; } .totop { right: 12px; bottom: 12px; width: 48px; height: 48px; } }

      .proj .desc.role { font-family: var(--serif); font-style: italic; font-size: 17px; color: var(--gold); margin-bottom: 8px; }
      /* tip del correo: se abre hacia el lado con mas sitio */
      .tuga.tip-l .tip { right: auto; left: 2px; }
      .tuga.tip-l .tip::after { right: auto; left: 26px; }

      /* segunda tortuga (bug report): mismo cuerpo, otro color. Cambia aqui el color del caparazon y la piel. */
      .tuga-b {
        --b-sh1: #5aa591; --b-sh2: #32786a; --b-sh3: #1b463c; --b-sh4: #0a1f1a;
        --b-sk1: #3f8472; --b-sk2: #2a6052; --b-sk3: #133229; --b-sk4: #0a1f1a;
      }
      .tuga-b #sideShellGrad-b stop:nth-child(1) { stop-color: var(--b-sh1); }
      .tuga-b #sideShellGrad-b stop:nth-child(2) { stop-color: var(--b-sh2); }
      .tuga-b #sideShellGrad-b stop:nth-child(3) { stop-color: var(--b-sh3); }
      .tuga-b #sideShellGrad-b stop:nth-child(4) { stop-color: var(--b-sh4); }
      .tuga-b #sideSkinGrad-b stop:nth-child(1) { stop-color: var(--b-sk1); }
      .tuga-b #sideSkinGrad-b stop:nth-child(2) { stop-color: var(--b-sk2); }
      .tuga-b #sideSkinGrad-b stop:nth-child(3) { stop-color: var(--b-sk3); }
      .tuga-b #sideSkinGrad-b stop:nth-child(4) { stop-color: var(--b-sk4); }
      body.calm .tuga.tuga-b { left: 34px; right: auto; }
      @media (max-width: 900px) { body.calm .tuga.tuga-b { left: 14px; right: auto; bottom: 96px; } }

      /* proyectos: familia de plugins, estado beta, boton PRO */
      .subs { list-style: none; margin: 26px 0 0; padding: 0; border-top: 1px solid var(--hair); max-width: 66ch; }
      .sub {
        display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
        gap: 10px 28px; padding: 16px 0; border-bottom: 1px solid var(--hair);
      }
      .sub-main { flex: 1 1 250px; }
      .sub h4 { margin: 0; font-family: var(--serif); font-weight: 400; font-size: 19px; color: var(--ink); }
      .sub h4::before { content: ""; display: inline-block; width: 14px; height: 1px; background: var(--gold); margin-right: 12px; vertical-align: 5px; }
      .sub p { margin: 5px 0 0 26px; color: var(--muted); font-size: 13.5px; max-width: 44ch; }
      .sub-act { display: flex; align-items: center; flex-wrap: wrap; gap: 12px 18px; }
      .beta {
        display: none; width: fit-content; white-space: nowrap;
        font-size: 10px; letter-spacing: 0.22em; text-transform: uppercase;
        color: var(--peri); border: 1px solid rgba(157, 180, 232, 0.35); padding: 6px 11px;
      }
      .beta::before {
        content: ""; display: inline-block; width: 5px; height: 5px; border-radius: 50%;
        background: var(--peri); margin-right: 9px; vertical-align: 1px;
      }
      .sub:not(:has(.plnk[href]:not([href=""]):not([href="#"]))) .beta,
      .proj:not(.suite):not(:has(.plnk[href]:not([href=""]):not([href="#"]))) .beta { display: inline-block; }
      .proj .desc + .beta { margin-top: 16px; }
      @media (prefers-reduced-motion: no-preference) {
        .beta::before { animation: betaPulse 2.6s ease-in-out infinite; }
        @keyframes betaPulse { 0%, 100% { opacity: 0.35; } 50% { opacity: 1; } }
      }
      .pbtn {
        display: inline-flex; align-items: center; width: fit-content; padding: 8px 15px;
        font-size: 10.5px; letter-spacing: 0.22em; text-transform: uppercase; text-decoration: none;
        color: var(--gold); border: 1px solid var(--gold); background: rgba(207, 192, 160, 0.07);
        transition: background 0.25s ease, color 0.25s ease;
      }
      .pbtn::after { content: " \2192"; margin-left: 8px; }
      .pbtn:hover, .pbtn:focus-visible { background: var(--gold); color: var(--bg); }
      .pbtn:is(:not([href]), [href=""], [href="#"]) { display: none; }

      /* volver arriba: entra nadando desde la derecha */
      @keyframes swimIn { 0% { transform: translateX(84px) rotate(8deg); opacity: 0; } 55% { opacity: 1; } 100% { transform: none; opacity: 1; } }
      @keyframes totopBob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-3px); } }
      @media (prefers-reduced-motion: no-preference) {
        .totop.totop-show { animation: swimIn 1s cubic-bezier(0.22, 0.61, 0.36, 1) both; }
        .totop.totop-show svg { animation: totopBob 5.5s ease-in-out 1s infinite; }
      }

      /* reveal */
      .reveal { opacity: 0; transform: translateY(14px); transition: opacity 0.9s ease, transform 0.9s ease; }
      .reveal.visible { opacity: 1; transform: none; }
      @media (scripting: none) { .reveal { opacity: 1; transform: none; } }

      @media (max-width: 900px) {
        .hero-grid { grid-template-columns: 1fr; gap: 48px; }
        .about-grid { grid-template-columns: 1fr; gap: 40px; }
        .proj { grid-template-columns: 1fr; gap: 16px; padding: 36px 8px; }
        .proj:hover > * { translate: none; }
        .proj:hover > :last-child { translate: none; }
        .proj .idx { padding-top: 0; }
        .proj-side { padding-top: 6px; }
        .proj-side:not(:has(.year, .plnk[href]:not([href=""]):not([href="#"]), .p-verify[href]:not([href=""]):not([href="#"]))) { display: none; }
        .proj-links { flex-direction: row; flex-wrap: wrap; gap: 18px; }
        .proj .year { text-align: left; order: -1; }
        nav ul { gap: 18px; }
        .nav-right { gap: 16px; }
        body.calm .tuga { right: 14px; bottom: 24px; }
        .sea-text { left: 16px; right: 16px; flex-direction: column; align-items: flex-start; gap: 8px; }
        nav ul a { font-size: 10px; letter-spacing: 0.14em; }
        section { padding-top: 84px; }
      }
    