/* ============================================================
   TOKENS (colores en la línea del CV: azul noche + cian eléctrico + índigo)
   Si quieres clavar los tonos exactos del CV, cambia solo estas variables.
   ============================================================ */
.home,
.hm-cursor {
    --hm-bg: #0c0806;
    --hm-panel: rgba(29, 19, 13, .58);
    --hm-line: rgba(220, 145, 120, .16);
    --hm-text: #f9ece8;
    --hm-muted: #baa098;
    --hm-acc-rgb: 238 128 34;
    --hm-sec-rgb: 241 110 99;
    --hm-acc: rgb(var(--hm-acc-rgb));
    --hm-acc-text: #ee8022;
    --hm-btn-bg: #ee8022;
    --hm-btn-fg: #170d07;
    --hm-shadow: 0 20px 50px -25px rgba(0, 0, 0, .8);
}

:root[data-theme="light"] .home,
:root[data-theme="light"] .hm-cursor {
    --hm-bg: #fbf1ee;
    --hm-panel: rgba(255, 255, 255, .72);
    --hm-line: rgba(88, 53, 32, .14);
    --hm-text: #1e140e;
    --hm-muted: #755c54;
    --hm-acc-rgb: 178 82 8;
    --hm-sec-rgb: 202 61 56;
    --hm-acc-text: #90450e;
    --hm-btn-bg: #90450e;
    --hm-btn-fg: #ffffff;
    --hm-shadow: 0 20px 50px -28px rgba(88, 53, 32, .35);
}

/* ============================================================
   BASE
   ============================================================ */
.home,
.home *,
.home *::before,
.home *::after { box-sizing: border-box; }

.home {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    background: var(--hm-bg);
    clip-path: inset(0);          /* recorta el fondo fijo al área de la portada */
    color: var(--hm-text);
    font-family: 'Manrope', system-ui, sans-serif;
    line-height: 1.6;
    transition: background-color .5s ease, color .5s ease;
}

.home a { color: inherit; }

.hm-wrap {
    position: relative;
    z-index: 1;
    width: min(1180px, 100% - 2.5rem);
    margin-inline: auto;
}

/* ---------- Fondo espacial (fijo, detrás de todo) ---------- */
.hm-space {
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background:
        radial-gradient(60% 50% at 78% 18%, rgb(var(--hm-sec-rgb) / .16), transparent 70%),
        radial-gradient(50% 45% at 12% 70%, rgb(var(--hm-acc-rgb) / .10), transparent 70%),
        var(--hm-bg);
}
.hm-neb,
.hm-dots {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    display: block;
}
.hm-neb { animation: fadeIn 2s ease both; }
.hm-dots { animation: fadeIn 1.4s ease .3s both; }
.hm-nogl .hm-neb { display: none; }

.home :focus-visible {
    outline: 2px solid var(--hm-acc);
    outline-offset: 3px;
}

/* ============================================================
   HERO
   ============================================================ */
.hm-hero {
    position: relative;
    display: flex;
    align-items: center;
    min-height: calc(100vh - 3.25rem);
    min-height: calc(100svh - 3.25rem);
    padding: 4.5rem 0;
}

.hm-hero-grid {
    display: grid;
    grid-template-columns: 1.15fr .85fr;
    gap: 3.5rem;
    align-items: center;
}

.hm-badge {
    display: inline-flex;
    align-items: center;
    gap: .8rem;
    margin: 0;
    padding: 0;
    border: 0;
    background: none;
    color: var(--hm-muted);
    font-family: 'Chakra Petch', sans-serif;
    font-size: .8rem;
    font-weight: 600;
    letter-spacing: .2em;
    line-height: 1.6;
    text-transform: uppercase;
    animation: fadeIn .8s ease .3s both;
}
/* etiqueta editorial: línea de acento + texto en versalitas (sin punto que late) */
.hm-badge::before {
    content: "";
    width: 2.4rem;
    height: 2px;
    border-radius: 2px;
    background: linear-gradient(90deg, var(--hm-acc), rgb(var(--hm-sec-rgb)));
}
.hm-badge .hm-badge-k { color: var(--hm-acc-text); }
.hm-badge .hm-badge-sep {
    width: 5px;
    height: 5px;
    background: currentColor;
    opacity: .45;
    transform: rotate(45deg);
}

.hm-title {
    margin: 1.5rem 0;
    font-family: 'Chakra Petch', sans-serif;
    font-weight: 700;
    font-size: clamp(2.5rem, 6.2vw, 5rem);
    line-height: 1.05;
    letter-spacing: -.02em;
    color: var(--hm-text);
}
.hm-title .w {
    display: inline-block;
    overflow: hidden;
    vertical-align: top;
    padding-bottom: .1em;
}
.hm-title .w > span {
    display: inline-block;
    animation: rise 1s cubic-bezier(.2, .8, .2, 1) calc(.45s + var(--i) * .1s) both;
}
/* segunda línea del título con el degradado de la web */
.hm-title .w > span.g {
    background: linear-gradient(100deg, var(--hm-acc-text) 10%, rgb(var(--hm-sec-rgb)) 90%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

.hm-lead {
    max-width: 54ch;
    margin: 0 0 2.2rem;
    font-size: 1.15rem;
    color: var(--hm-muted);
    animation: fadeIn 1s ease 1.3s both;
}

.hm-cta {
    display: flex;
    flex-wrap: wrap;
    gap: .9rem;
    animation: fadeIn 1s ease 1.55s both;
}

.hm-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: .6rem;
    padding: .85rem 1.4rem;
    border: 1px solid transparent;
    border-radius: 10px;
    overflow: hidden;
    font: 700 .98rem 'Manrope', sans-serif;
    text-decoration: none;
    cursor: pointer;
    transition: transform .25s ease, border-color .25s ease, background-color .25s ease;
}
.hm-btn:hover { transform: translateY(-2px); }

.hm-btn-primary {
    background: var(--hm-btn-bg);
    color: var(--hm-btn-fg) !important;
}
.hm-btn-primary::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .45) 50%, transparent 70%);
    transform: translateX(-120%);
}
.hm-btn-primary:hover::after {
    transform: translateX(120%);
    transition: transform .7s ease;
}

.hm-btn-ghost {
    border-color: var(--hm-line);
    background: var(--hm-panel);
}
.hm-btn-ghost:hover { border-color: rgb(var(--hm-acc-rgb) / .6); }

/* ---------- Terminal de arranque ---------- */
.hm-term {
    position: relative;
    border: 1px solid var(--hm-line);
    border-radius: 16px;
    background: var(--hm-panel);
    -webkit-backdrop-filter: blur(16px) saturate(130%);
    backdrop-filter: blur(16px) saturate(130%);
    box-shadow: var(--hm-shadow);
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: .92rem;
    animation: termIn 1s cubic-bezier(.2, .8, .2, 1) .6s both;
    transition: border-color .8s ease, box-shadow .8s ease;
}
.hm-term.ready {
    border-color: rgb(var(--hm-acc-rgb) / .5);
    box-shadow: var(--hm-shadow), 0 0 40px -8px rgb(var(--hm-acc-rgb) / .4);
}
.hm-term-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: .8rem 1.1rem;
    border-bottom: 1px solid var(--hm-line);
    color: var(--hm-muted);
    font-size: .8rem;
}
.hm-status {
    padding: .1rem .55rem;
    border: 1px solid rgb(var(--hm-acc-rgb) / .4);
    border-radius: 6px;
    color: var(--hm-acc-text);
    font-family: 'Chakra Petch', sans-serif;
    font-size: .72rem;
    letter-spacing: .12em;
    text-transform: uppercase;
}
.hm-term-body { padding: 1.2rem 1.1rem 1.4rem; }

.hm-row {
    display: flex;
    align-items: baseline;
    gap: .6rem;
    min-height: 1.9em;
    color: var(--hm-text);
}
.hm-prompt { color: var(--hm-acc-text); }
.hm-ok {
    margin-left: auto;
    color: var(--hm-acc-text);
    font-weight: 700;
}
.hm-row-final {
    margin-top: .8rem;
    padding-top: .8rem;
    border-top: 1px dashed var(--hm-line);
    font-weight: 700;
}
.hm-caret {
    display: inline-block;
    width: .55em;
    height: 1.05em;
    margin-left: .15em;
    vertical-align: text-bottom;
    background: var(--hm-acc);
    animation: blink 1s steps(1) infinite;
}

/* Estado inicial solo si hay animación activa (JS) */
:root.hm-anim .hm-row { opacity: 0; }
:root.hm-anim .hm-row.show { opacity: 1; }
:root.hm-anim .hm-ok { opacity: 0; }
:root.hm-anim .hm-ok.on { opacity: 1; }

/* ============================================================
   SECCIONES
   ============================================================ */
.hm-sec { padding: 5rem 0; }

.hm-sec-h { max-width: 46rem; margin-bottom: 2.6rem; }
.hm-sec-h h2 {
    margin: 0 0 .7rem;
    font-family: 'Chakra Petch', sans-serif;
    font-weight: 700;
    font-size: clamp(1.9rem, 3.6vw, 2.8rem);
    line-height: 1.12;
    letter-spacing: -.01em;
    color: var(--hm-text);
}
.hm-sec-h p {
    margin: 0;
    max-width: 56ch;
    font-size: 1.08rem;
    color: var(--hm-muted);
}

/* ---------- Bento de módulos ---------- */
.hm-bento {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 1.1rem;
}

.hm-card {
    --mx: -999px;
    --my: -999px;
    position: relative;
    display: flex;
    flex-direction: column;
    gap: .9rem;
    grid-column: span 2;
    min-height: 15.5rem;
    padding: 1.7rem;
    border: 1px solid var(--hm-line);
    border-radius: 16px;
    overflow: hidden;
    color: inherit;
    text-decoration: none;
    box-shadow: inset 0 1px 0 rgb(255 255 255 / .05), var(--hm-shadow);
    background:
        radial-gradient(300px circle at var(--mx) var(--my), rgb(var(--hm-acc-rgb) / .15), transparent 70%),
        var(--hm-panel);
    -webkit-backdrop-filter: blur(14px) saturate(130%);
    backdrop-filter: blur(14px) saturate(130%);
    transition: border-color .3s ease, transform .3s ease, box-shadow .3s ease;
}
.hm-card.wide { grid-column: span 4; }
.hm-card.full { grid-column: span 6; min-height: 13rem; }
.hm-card.full .hm-body { max-width: 50%; }

/* mini ecualizador de la tarjeta Pulso */
.hm-eq {
    position: absolute;
    right: 1.7rem;
    bottom: 1.7rem;
    top: 1.7rem;
    width: 42%;
    display: flex;
    align-items: flex-end;
    gap: 4px;
    pointer-events: none;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 25%);
    mask-image: linear-gradient(90deg, transparent, #000 25%);
}
.hm-eq i {
    flex: 1;
    height: 30%;
    border-radius: 3px 3px 1px 1px;
    background: linear-gradient(to top, rgb(var(--hm-sec-rgb) / .55), rgb(var(--hm-acc-rgb) / .9));
    transform-origin: bottom;
    animation: hmEq 1.1s ease-in-out infinite alternate;
    animation-delay: calc(var(--k) * -.137s);
}
.hm-eq i:nth-child(3n) { animation-duration: .8s; }
.hm-eq i:nth-child(4n+1) { animation-duration: 1.4s; }
@keyframes hmEq {
    0%   { transform: scaleY(.25); }
    50%  { transform: scaleY(1.6); }
    100% { transform: scaleY(2.9); }
}

/* esquinas tipo HUD */
.hm-card::before,
.hm-card::after {
    content: "";
    position: absolute;
    width: 14px;
    height: 14px;
    border: 0 solid var(--hm-acc);
    opacity: .55;
    transition: width .3s ease, height .3s ease, opacity .3s ease;
    pointer-events: none;
}
.hm-card::before { top: 9px; left: 9px; border-top-width: 2px; border-left-width: 2px; }
.hm-card::after { right: 9px; bottom: 9px; border-right-width: 2px; border-bottom-width: 2px; }

a.hm-card:hover {
    transform: translateY(-4px);
    border-color: rgb(var(--hm-acc-rgb) / .55);
    box-shadow: inset 0 1px 0 rgb(255 255 255 / .06), 0 24px 60px -28px rgb(var(--hm-acc-rgb) / .55);
}
a.hm-card:hover::before,
a.hm-card:hover::after { width: 26px; height: 26px; opacity: 1; }

.hm-ico {
    display: grid;
    place-items: center;
    width: 3rem;
    height: 3rem;
    border: 1px solid rgb(var(--hm-acc-rgb) / .4);
    border-radius: 10px;
    background: rgb(var(--hm-acc-rgb) / .09);
    color: var(--hm-acc-text);
    font-size: 1.25rem;
    transition: box-shadow .3s ease;
}
a.hm-card:hover .hm-ico { box-shadow: 0 0 22px -2px rgb(var(--hm-acc-rgb) / .6); }

.hm-open {
    position: absolute;
    top: 1.6rem;
    right: 1.6rem;
    color: var(--hm-muted);
    font-size: .95rem;
    transition: transform .3s ease, color .3s ease;
}
a.hm-card:hover .hm-open {
    color: var(--hm-acc-text);
    transform: translate(3px, -3px);
}

.hm-card h3 {
    margin: .3rem 0 0;
    font-family: 'Chakra Petch', sans-serif;
    font-weight: 600;
    font-size: 1.4rem;
    line-height: 1.2;
    color: var(--hm-text);
}
.hm-card p {
    margin: 0;
    color: var(--hm-muted);
    font-size: 1rem;
}
.hm-card.wide .hm-body { max-width: 52%; }

.hm-act {
    margin-top: auto;
    padding-top: .6rem;
    font-size: .92rem;
    font-weight: 700;
    color: var(--hm-acc-text);
}
div.hm-card .hm-act { color: var(--hm-muted); font-weight: 600; }

/* maqueta decorativa de la tarjeta de proyectos */
.hm-proj {
    position: absolute;
    right: 1.7rem;
    top: 50%;
    width: 38%;
    max-width: 360px;
    padding: .75rem 1rem .4rem;
    border: 1px solid var(--hm-line);
    border-radius: 14px;
    background: rgb(var(--hm-acc-rgb) / .04);
    transform: translateY(-50%);
}
.hm-proj-h {
    margin: 0 0 .35rem;
    color: var(--hm-muted);
    font-family: 'Chakra Petch', sans-serif;
    font-size: .7rem;
    font-weight: 600;
    letter-spacing: .18em;
    text-transform: uppercase;
}
.hm-proj-row {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: .7rem;
    padding: .45rem 0;
    border-top: 1px solid var(--hm-line);
    transition: transform .35s cubic-bezier(.2, .8, .2, 1) calc(var(--j) * 40ms);
}
.hm-proj-row:first-of-type { border-top: 0; }
.hm-proj-ico {
    display: grid;
    place-items: center;
    width: 1.9rem;
    height: 1.9rem;
    border-radius: 8px;
    background: rgb(var(--hm-acc-rgb) / .12);
    color: var(--hm-acc-text);
    font-size: .85rem;
}
.hm-proj-name { color: var(--hm-text); font-weight: 700; font-size: .92rem; }
.hm-proj-tag {
    color: var(--hm-muted);
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: .72rem;
    white-space: nowrap;
}
.hm-card:hover .hm-proj-row { transform: translateX(-4px); }

/* aparición de tarjetas: "encendido" una sola vez al entrar en pantalla */
:root.hm-anim .hm-card { opacity: 0; }
:root.hm-anim .hm-card.in {
    animation: cardIn .8s cubic-bezier(.2, .8, .2, 1) calc(var(--i) * .08s) both;
}

/* ---------- Cierre ---------- */
.hm-end { padding-top: 1rem; padding-bottom: 6.5rem; }
.hm-end-box {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 2rem;
    align-items: center;
    padding: 2.6rem;
    border: 1px solid var(--hm-line);
    border-radius: 18px;
    background:
        linear-gradient(120deg, rgb(var(--hm-acc-rgb) / .1), rgb(var(--hm-sec-rgb) / .1)),
        var(--hm-panel);
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
}
.hm-end-box h2 {
    margin: 0 0 .6rem;
    font-family: 'Chakra Petch', sans-serif;
    font-weight: 700;
    font-size: clamp(1.6rem, 3vw, 2.3rem);
    line-height: 1.15;
    color: var(--hm-text);
}
.hm-end-box p { margin: 0; max-width: 50ch; color: var(--hm-muted); }
.hm-end-box .hm-cta { justify-content: flex-end; animation: none; }

/* ============================================================
   KEYFRAMES
   ============================================================ */
@keyframes rise { from { transform: translateY(110%); filter: blur(8px); } }
@keyframes fadeIn { from { opacity: 0; } }
@keyframes termIn { from { opacity: 0; transform: translateY(24px) scale(.97); } }
@keyframes blink { 50% { opacity: 0; } }
@keyframes shimmer { to { background-position: -220% 0; } }
@keyframes cardIn {
    from { opacity: 0; transform: translateY(22px) scale(.98); filter: blur(4px); }
    to { opacity: 1; transform: none; filter: none; }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1000px) {
    .hm-hero-grid { grid-template-columns: 1fr; gap: 2.6rem; }
    .hm-term { max-width: 34rem; }
    .hm-proj { display: none; }
    .hm-card.wide .hm-body { max-width: none; }
    .hm-card.full .hm-body { max-width: 55%; }
    .hm-end-box { grid-template-columns: 1fr; }
    .hm-end-box .hm-cta { justify-content: flex-start; }
}
@media (max-width: 900px) {
    .hm-bento { grid-template-columns: repeat(2, 1fr); }
    .hm-card { grid-column: span 1; }
    .hm-card.wide, .hm-card.full { grid-column: span 2; }
}
@media (max-width: 600px) {
    .hm-bento { grid-template-columns: 1fr; }
    .hm-card, .hm-card.wide, .hm-card.full { grid-column: span 1; }
    .hm-card.full .hm-body { max-width: none; }
    .hm-eq { position: relative; inset: auto; width: 100%; height: 3.2rem; }
    .hm-sec { padding: 3.6rem 0; }
    .hm-end-box { padding: 1.8rem; }
}

/* ============================================================
   MOVIMIENTO REDUCIDO
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
    .home *,
    .home *::before,
    .home *::after {
        animation: none !important;
        transition: none !important;
    }
}
/* =========================================================
   EFECTOS CREATIVOS DE LA PORTADA
   (inspirados en Studio Size y Waaark)
   ========================================================= */

/* ---------- Cursor propio ---------- */
.hm-cursor {
    position: fixed;
    inset: 0;
    z-index: 2147483000;          /* cursor.js lo saca a <body>: siempre por encima de todo */
    pointer-events: none;
    opacity: 0;
    transition: opacity .3s ease;
}
.hm-cursor.is-on.is-in { opacity: 1; }
@media (hover: hover) and (pointer: fine) {
    .home.has-cursor,
    .home.has-cursor a,
    .home.has-cursor button,
    .home.has-cursor .hm-marquee,
    .home.has-cursor .hm-play-box { cursor: none; }
}
.hm-cursor-dot,
.hm-cursor-ring {
    position: fixed;
    left: 0;
    top: 0;
    border-radius: 50%;
    will-change: transform;
}
.hm-cursor-dot {
    width: 6px;
    height: 6px;
    margin: -3px 0 0 -3px;
    background: var(--hm-acc-text);
    transition: opacity .2s ease;
}
.hm-cursor-ring {
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    margin: -19px 0 0 -19px;
    border: 1px solid rgb(var(--hm-acc-rgb) / .6);
    transition: width .4s cubic-bezier(.2, .8, .2, 1), height .4s cubic-bezier(.2, .8, .2, 1),
        margin .4s cubic-bezier(.2, .8, .2, 1), background-color .3s ease, border-color .3s ease,
        opacity .15s ease;
}
.hm-cursor.is-link .hm-cursor-ring {
    width: 62px;
    height: 62px;
    margin: -31px 0 0 -31px;
    background: rgb(var(--hm-acc-rgb) / .12);
}
.hm-cursor.is-label .hm-cursor-ring {
    width: 88px;
    height: 88px;
    margin: -44px 0 0 -44px;
    background: rgb(var(--hm-acc-rgb));
    border-color: transparent;
}
.hm-cursor.is-link .hm-cursor-dot,
.hm-cursor.is-label .hm-cursor-dot { opacity: 0; }
/* al pulsar o mantener pulsado, el círculo y la etiqueta se quitan y queda
   solo el punto (solo con opacidad: «scale» movía el círculo hacia arriba) */
.hm-cursor.is-down .hm-cursor-ring { opacity: 0; }
.hm-cursor.is-down .hm-cursor-dot { opacity: 1; }
.hm-cursor-label {
    color: #170d07;
    font: 700 .7rem/1 'Chakra Petch', sans-serif;
    letter-spacing: .14em;
    text-transform: uppercase;
    opacity: 0;
    transform: scale(.6);
    transition: opacity .25s ease, transform .3s ease;
}
.hm-cursor.is-label .hm-cursor-label { opacity: 1; transform: none; }
:root[data-theme="light"] .hm-cursor-label { color: #ffffff; }

/* ---------- Título que reacciona al ratón ---------- */
.hm-title { perspective: 900px; }
.hm-title .w { will-change: transform; }

/* ---------- Banda de texto ---------- */
.hm-marquee {
    position: relative;
    overflow: hidden;
    padding: 1.5rem 0;
    border-block: 1px solid var(--hm-line);
    background: linear-gradient(90deg, rgb(var(--hm-acc-rgb) / .05), rgb(var(--hm-sec-rgb) / .07));
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
    mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
    user-select: none;
    -webkit-user-select: none;
    touch-action: pan-y;
    cursor: grab;
}
.hm-marquee.is-drag { cursor: grabbing; }
.hm-mq-track { display: flex; width: max-content; will-change: transform; }
.hm-mq-group { display: flex; align-items: center; flex: none; }
.hm-mq-item {
    padding: 0 .35em;
    color: var(--hm-text);
    font: 700 clamp(2.1rem, 5.6vw, 4.6rem)/1.05 'Chakra Petch', sans-serif;
    letter-spacing: -.01em;
    text-transform: uppercase;
    white-space: nowrap;
    transition: color .3s ease;
}
.hm-mq-item.is-o {
    color: transparent;
    -webkit-text-stroke: 1.2px rgb(var(--hm-acc-rgb) / .8);
}
.hm-mq-star {
    color: rgb(var(--hm-sec-rgb));
    font-size: clamp(1.1rem, 2.6vw, 2rem);
}

/* ---------- Zona con física ---------- */
.hm-play-box {
    position: relative;
    height: clamp(360px, 52vh, 520px);
    overflow: hidden;
    border: 1px solid var(--hm-line);
    border-radius: 20px;
    background:
        radial-gradient(80% 60% at 50% 105%, rgb(var(--hm-acc-rgb) / .12), transparent 70%),
        var(--hm-panel);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    touch-action: pan-y;
}
.hm-play-cv { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.hm-play-reset {
    position: absolute;
    top: 1rem;
    right: 1rem;
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    padding: .5rem .9rem;
    border: 1px solid var(--hm-line);
    border-radius: 999px;
    background: var(--hm-panel);
    color: var(--hm-text);
    font: 600 .82rem 'Manrope', sans-serif;
    cursor: pointer;
    transition: border-color .25s ease, color .25s ease;
}
.hm-play-reset:hover { border-color: rgb(var(--hm-acc-rgb) / .6); color: var(--hm-acc-text); }
.hm-sr {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
}

@media (prefers-reduced-motion: reduce) {
    .hm-cursor { display: none; }
}
