:root {
    --bg: #ffffff;
    --bg-subtle: #f8f9fa;
    --bg-sunken: #f1f3f4;

    --text: #16191c;
    --text-2: #4a5257;
    --text-3: #6b7479;

    --border: #e4e7e9;
    --border-strong: #cbd1d4;

    --accent: #1d4f57;
    --accent-hover: #2a6b75;
    --accent-wash: #edf3f3;

    --ok: #2f8a5b;
    --warn: #b8791f;
    --bad: #a12b23;

    --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
            "Helvetica Neue", Arial, sans-serif;
    --font-mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;

    --measure: 1280px;
    --gutter: 24px;
    --section-y: 112px;

    --radius: 6px;
    --radius-lg: 16px;

    --ease-out: cubic-bezier(.23, 1, .32, 1);
    --ease-in-out: cubic-bezier(.77, 0, .175, 1);

    --aside-w: 270px;
    --shell-gap: 26px;
    --rail-top: 92px;

    --panel-pad: 46px 44px 50px;

    --footer-gap: 34px;

    --footer-lead: 8px;

    --ficha-photo: 203px;
    --ficha-lift: 40px;
    --shadow-1: 0 1px 2px rgba(22, 25, 28, .04),
                0 3px 8px -3px rgba(22, 25, 28, .05),
                0 12px 28px -16px rgba(22, 25, 28, .10);

    --shadow-2: 0 1px 2px rgba(22, 25, 28, .05),
                0 4px 10px -3px rgba(22, 25, 28, .06),
                0 16px 36px -18px rgba(22, 25, 28, .15);

    --shadow-3: 0 2px 4px rgba(22, 25, 28, .06),
                0 8px 16px -6px rgba(22, 25, 28, .10),
                0 20px 40px -20px rgba(22, 25, 28, .24);
}

*, *::before, *::after { box-sizing: border-box; }

html {
    -webkit-text-size-adjust: 100%;
    scroll-behavior: smooth;
    scroll-padding-top: 90px;

    touch-action: manipulation;

    overflow-x: clip;
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }

    *, *::before, *::after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
    }
}

body {
    margin: 0;
    min-height: 100vh;
    min-height: 100svh;
    display: flex;
    flex-direction: column;
    overflow-x: clip;
    background: var(--bg);
    color: var(--text);
    font-family: var(--font);
    font-size: 17px;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

main { flex: 1 0 auto; }

img, svg { max-width: 100%; height: auto; display: block; }

h1, h2, h3, h4 {
    margin: 0;
    font-weight: 600;
    line-height: 1.15;
    letter-spacing: -0.025em;
    color: var(--text);
}

p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }

a { color: var(--accent); text-decoration: none; transition: color .18s ease; }
a:hover { color: var(--accent-hover); }

:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 3px;
    border-radius: 3px;
}

.visually-hidden {
    position: absolute; width: 1px; height: 1px;
    padding: 0; margin: -1px; overflow: hidden;
    clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip-link {
    position: absolute; left: 16px; top: -60px; z-index: 200;
    padding: 10px 18px; background: var(--accent); color: #fff;
    border-radius: var(--radius); font-size: 14px; font-weight: 500;
    transition: top .15s ease;
}
.skip-link:focus { top: 16px; color: #fff; }

.wrap {
    width: 100%;
    max-width: var(--measure);
    margin-inline: auto;
    padding-inline: var(--gutter);
}

.section__head { max-width: 66ch; margin-bottom: 58px; }
.section__title { font-size: clamp(30px, 3.8vw, 42px); letter-spacing: -0.032em; }
.section__intro {
    margin-top: 18px;
    padding-left: 14px;
    border-left: 2px solid var(--border-strong);
    font-size: 15.5px;
    font-style: italic;
    line-height: 1.5;
    color: var(--text-3);
}

.marker { display: flex; align-items: center; gap: 10px; margin-bottom: 22px; }

.marker::before {
    content: "";
    flex: 0 0 auto;
    width: 2px;
    height: 15px;
    margin-right: 5px;
    border-radius: 1px;
    background: var(--accent);
}

.marker__num {
    font-family: var(--font-mono);
    font-size: 12.5px;
    font-weight: 500;
    color: var(--accent);
    letter-spacing: .04em;
}
.marker__num--estrecho { display: none; }
.marker__sep { color: var(--text-3); font-size: 12.5px; }
.marker__label {
    font-size: 11.5px;
    font-weight: 600;
    letter-spacing: .13em;
    text-transform: uppercase;
    color: var(--text-3);
}
.marker::after {
    content: "";
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, var(--accent), var(--border) 88px);
    margin-left: 6px;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 13px 24px;
    border-radius: var(--radius);
    border: 1px solid transparent;
    font-family: inherit;
    font-size: 15px;
    font-weight: 500;
    line-height: 1;
    cursor: pointer;
    transition: background-color .15s ease, border-color .15s ease,
                color .15s ease, box-shadow .18s ease,
                transform .16s var(--ease-out);
}

@media (hover: hover) and (pointer: fine) {
    .btn--primary:hover {
        transform: translateY(-1px);
        box-shadow: 0 2px 4px rgba(22, 25, 28, .12),
                    0 10px 20px -7px rgba(29, 79, 87, .45);
    }
    .ficha__social a:hover { transform: translateY(-2px); }
}

.btn:active {
    transform: translateY(0) scale(.97);
    box-shadow: 0 1px 2px rgba(22, 25, 28, .10);
}
.btn--primary {
    background: var(--accent);
    color: #fff;
    box-shadow: 0 1px 2px rgba(22, 25, 28, .10),
                0 5px 12px -5px rgba(29, 79, 87, .40);
}
.btn--primary:hover { background: var(--accent-hover); color: #fff; }

.btn[disabled] { opacity: .55; cursor: not-allowed; }

.btn__label { transition: filter .18s ease, opacity .18s ease; }
.btn.is-swapping .btn__label { filter: blur(2.5px); opacity: .55; }

.header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: var(--bg);
    border-bottom: 1px solid transparent;
}
.header {
    box-shadow: 0 8px 24px -20px rgba(22, 25, 28, 0);
    transition: border-color .25s ease, box-shadow .25s ease;
}
.header.is-stuck {
    border-bottom-color: var(--border);
    box-shadow: 0 8px 24px -18px rgba(22, 25, 28, .5);
}

.header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    height: 74px;
}

.brand { font-size: 17.5px; font-weight: 600; letter-spacing: -0.018em; color: var(--text); white-space: nowrap; }
.brand:hover { color: var(--text); }

.nav { display: flex; align-items: center; gap: 30px; }
.nav__link--nota, .nav__num { display: none; }

.nav__link { font-size: 14.5px; color: var(--text-2); position: relative; padding-block: 6px; }
.nav__link:hover { color: var(--text); }
.nav__link.is-active { color: var(--text); }
.nav__link::after {
    content: "";
    position: absolute;
    left: 0; right: 0; bottom: -1px;
    height: 1.5px;
    background: var(--accent);
    transform: scaleX(0);
    transition: transform .18s var(--ease-out);
}
.nav__link.is-active::after { transform: scaleX(1); }

.nav-scrim {
    position: fixed;
    inset: 0;
    z-index: 90;
    background: rgba(22, 25, 28, .30);
    -webkit-backdrop-filter: blur(7px);
    backdrop-filter: blur(7px);
    opacity: 0;
    visibility: hidden;
    transition: opacity .22s var(--ease-out), visibility .22s;
}
.nav-scrim.is-open { opacity: 1; visibility: visible; }

@media (min-width: 981px) { .nav-scrim { display: none; } }

.nav__toggle {
    display: none;
    width: 42px; height: 42px;
    align-items: center; justify-content: center;
    background: transparent;
    border: 1px solid var(--border-strong);
    border-radius: var(--radius);
    cursor: pointer;
    color: var(--text);
    transition: transform .16s var(--ease-out), border-color .15s ease;
}
.nav__toggle:active { transform: scale(.94); }
.nav__toggle[aria-expanded="true"] { color: var(--accent); border-color: var(--accent); }

.nav__burger { position: relative; display: block; width: 18px; height: 11px; }
.nav__burger > span {
    position: absolute;
    left: 0; right: 0;
    height: 1.6px;
    border-radius: 1px;
    background: currentColor;
    transition: top .26s var(--ease-out),
                transform .26s var(--ease-out),
                opacity .16s ease;
}
.nav__burger > span:nth-child(1) { top: 0; }
.nav__burger > span:nth-child(2) { top: 4.7px; }
.nav__burger > span:nth-child(3) { top: 9.4px; }

.nav__toggle[aria-expanded="true"] .nav__burger > span:nth-child(1) {
    top: 4.7px; transform: rotate(45deg);
}
.nav__toggle[aria-expanded="true"] .nav__burger > span:nth-child(2) {
    opacity: 0; transform: scaleX(.3);
}
.nav__toggle[aria-expanded="true"] .nav__burger > span:nth-child(3) {
    top: 4.7px; transform: rotate(-45deg);
}

.page-surface { background: var(--bg-sunken); padding-block: 30px var(--footer-gap); }

.shell {
    display: grid;
    grid-template-columns: var(--aside-w) minmax(0, 1fr);
    gap: var(--shell-gap);
    align-items: stretch;
}

.shell__main {
    display: flex;
    flex-direction: column;
    gap: var(--shell-gap);
    min-width: 0;
}

.shell__aside {
    display: flex;
    flex-direction: column;
    gap: var(--shell-gap);
    padding-top: calc(var(--ficha-lift) - 1px);
}

.rail__notes { display: contents; }

.rail__slot { flex: 1 1 0; }
.rail__slot > .card { position: sticky; top: var(--rail-top); }

.rail__slot--ficha > .ficha {
    top: calc(var(--rail-top) + var(--ficha-lift) - 1px);
}

.card {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-1);
}

.panel { padding: var(--panel-pad); }
.panel .section__head { margin-bottom: 40px; }

.panel--intro .section__head { margin-bottom: 24px; }

.ficha { padding: 0 12px 23px; box-shadow: var(--shadow-2); }
.ficha__id { text-align: center; }

.ficha__portrait {
    width: var(--ficha-photo);
    max-width: 100%;
    margin: calc(var(--ficha-lift) * -1) auto 0;
    border-radius: 14px;
    overflow: hidden;
    background: var(--bg-sunken);
    aspect-ratio: 1 / 1;
    box-shadow: var(--shadow-3);
}
.ficha__portrait img { width: 100%; height: 100%; object-fit: cover; }

.ficha__name {
    margin-top: 16px;
    font-size: 20px;
    font-weight: 600;
    letter-spacing: -0.022em;
}

.ficha__role {
    display: inline-block;
    margin-top: 10px;
    padding: 5px 12px;
    border-radius: 100px;
    background: var(--accent-wash);
    color: var(--accent);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.ficha__social { display: flex; justify-content: center; gap: 8px; margin-top: 14px; }
.ficha__social a {
    width: 36px; height: 36px;
    display: grid; place-items: center;
    border: 1px solid var(--border);
    border-radius: 10px;
    color: var(--text-2);
    transition: color .15s ease, border-color .15s ease,
                background-color .15s ease, transform .16s var(--ease-out);
}
.ficha__social a:active { transform: scale(.94); }
.ficha__social a:hover,
.ficha__social a:focus-visible {
    color: var(--accent);
    border-color: var(--accent);
    background: var(--accent-wash);
}

.ficha__data {
    margin: 19px 0 0;
    padding-inline: 6px;
    background: var(--bg-subtle);
    border: 1px solid var(--border);
    border-radius: 12px;
}
.ficha__row { display: flex; align-items: center; gap: 7px; padding-block: 10px; }
.ficha__row + .ficha__row { border-top: 1px solid var(--border); }

.ficha__icon {
    flex-shrink: 0;
    width: 26px; height: 26px;
    display: grid; place-items: center;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 9px;
    color: var(--accent);
}
.ficha__field { min-width: 0; }
.ficha__label {
    font-size: 10.5px; font-weight: 600; letter-spacing: .1em;
    text-transform: uppercase; color: var(--text-3);
    line-height: 1.4;
}
.ficha__value {
    margin: 1px 0 0;
    font-size: 13px;
    line-height: 1.4;
    color: var(--text);
    overflow-wrap: break-word;
}
.ficha__value a { color: var(--text); }
.ficha__value a:hover { color: var(--accent); }

.ficha__actions { margin-top: 16px; display: flex; flex-direction: column; gap: 8px; }
.ficha__actions .btn { justify-content: center; padding-block: 12px; }

.rail-card { padding: 24px 22px 26px; }

.rail-card__kicker {
    display: flex;
    align-items: center;
    gap: 9px;
    font-size: 10.5px;
    font-weight: 600;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--accent);
}
.rail-card__kicker::after {
    content: "";
    flex: 1;
    height: 1px;
    background: var(--border);
}

.rail-card__title { margin-top: 12px; font-size: 19px; letter-spacing: -0.022em; }

@media (min-width: 981px) {
    .rail-card__head { max-width: none; margin-bottom: 0; }
    .rail-card .marker { display: none; }

    .js .rail-card.reveal-card,
    .js .rail-card .reveal { opacity: 1; transform: none; transition: none; }
}
.rail-card__intro { margin-top: 8px; font-size: 13.5px; line-height: 1.5; color: var(--text-3); }

.rail-tools__label {
    margin-top: 17px;
    padding-top: 13px;
    border-top: 1px solid var(--border);
    font-size: 10.5px; font-weight: 600; letter-spacing: .12em;
    text-transform: uppercase; color: var(--text-3);
}
.rail-tools__label:first-of-type { margin-top: 18px; }

.rail-tools { margin-top: 8px; display: flex; flex-direction: column; gap: 5px; }
.rail-tools__item {
    position: relative;
    padding-left: 13px;
    font-size: 13.5px; line-height: 1.45; color: var(--text-2);
}
.rail-tools__item::before {
    content: "";
    position: absolute; left: 2px; top: .58em;
    width: 3px; height: 3px; border-radius: 50%;
    background: var(--border-strong);
    transition: background-color .18s ease;
}
.rail-tools__item a { color: var(--text-2); }
.rail-tools__item a:hover { color: var(--accent); }
.rail-tools__item:has(a:hover)::before { background: var(--accent); }

.rail-faq { margin-top: 18px; }
.rail-faq__item { border-top: 1px solid var(--border); }

.rail-faq__q {
    display: flex; align-items: flex-start; justify-content: space-between; gap: 10px;
    padding-block: 12px;
    font-size: 13.5px; line-height: 1.45; font-weight: 500; color: var(--text);
    cursor: pointer;
    list-style: none;
    transition: color .18s ease;
}
.rail-faq__q::-webkit-details-marker { display: none; }
.rail-faq__q:hover { color: var(--accent); }
.rail-faq__item[open] .rail-faq__q { color: var(--accent); }

.rail-faq__arrow {
    flex: 0 0 auto; margin-top: 4px; color: var(--text-3);
    transition: transform .22s var(--ease-out), color .18s ease;
}
.rail-faq__item[open] .rail-faq__arrow { transform: rotate(180deg); color: var(--accent); }

.rail-faq__a {
    padding-bottom: 13px;
    font-size: 13px; line-height: 1.55; color: var(--text-2);
}

.rail-stack__label { margin-top: 18px; }
.rail-stack { margin-top: 9px; display: flex; flex-direction: column; gap: 11px; }

.rail-stack__item { position: relative; padding-left: 13px; }
.rail-stack__item::before {
    content: "";
    position: absolute; left: 2px; top: .62em;
    width: 3px; height: 3px; border-radius: 50%;
    background: var(--border-strong);
    transition: background-color .18s ease;
}
.rail-stack__item:has(a:hover)::before { background: var(--accent); }

.rail-stack__name { font-size: 14px; font-weight: 500; color: var(--text); }
.rail-stack__name a { color: var(--text); }
.rail-stack__name a:hover { color: var(--accent); }
.rail-stack__role { margin-top: 1px; font-size: 12.5px; color: var(--text-3); }

.rail-comp__label { margin-top: 20px; }

.rail-comp__bar {
    margin-top: 10px;
    display: flex;
    height: 8px;
    border-radius: 999px;
    overflow: hidden;
    background: var(--bg-sunken);
}
.rail-comp__seg { display: block; height: 100%; }

.rail-comp__key {
    margin-top: 11px;
    display: flex; flex-direction: column; gap: 6px;
}
.rail-comp__item { display: flex; align-items: center; gap: 6px; font-size: 12.5px; }
.rail-comp__dot { flex: 0 0 auto; width: 7px; height: 7px; border-radius: 50%; }
.rail-comp__name { color: var(--text-2); flex: 1 1 auto; }
.rail-comp__pct { color: var(--text-3); font-variant-numeric: tabular-nums; }

.rail-spec { margin: 18px 0 0; }
.rail-spec__row { padding-block: 11px; border-top: 1px solid var(--border); }
.rail-spec__label {
    font-size: 10px; font-weight: 600; letter-spacing: .12em;
    text-transform: uppercase; color: var(--text-3);
}
.rail-spec__value {
    position: relative;
    margin: 3px 0 0;
    padding-left: 13px;
    font-size: 13.5px; line-height: 1.45; color: var(--text);
}
.rail-spec__value::before {
    content: "";
    position: absolute; left: 2px; top: .62em;
    width: 3px; height: 3px; border-radius: 50%;
    background: var(--border-strong);
    transition: background-color .18s ease;
}
.rail-spec__value:has(a:hover)::before { background: var(--accent); }
.rail-spec__value a { color: var(--text); }
.rail-spec__value a:hover { color: var(--accent); }

.areas { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 52px; }

.area {
    padding: 32px 0;
    border-top: 1px solid var(--border);
    display: grid;
    grid-template-columns: 34px 1fr;
    gap: 16px;
    align-items: start;
    transition: border-color .25s ease;
}
.area:hover { border-top-color: var(--accent); }

.area__num {
    font-family: var(--font-mono);
    font-size: 12px;
    color: var(--text-3);
    padding-top: 5px;
    transition: color .25s ease;
}
.area:hover .area__num { color: var(--accent); }

.area__title { font-size: 19px; letter-spacing: -0.02em; }
.area__text { margin-top: 12px; font-size: 16px; color: var(--text-2); }

.prose p { color: var(--text-2); font-size: 17.5px; }
.prose p + p { margin-top: 22px; }
.prose strong { color: var(--text); font-weight: 600; }

.media { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 52px; }

.media__item {
    padding: 28px 0;
    border-top: 1px solid var(--border);
    display: grid;
    grid-template-columns: 84px 1fr;
    gap: 22px;
    align-items: start;
}

.media__cover { width: 84px; }
.media__cover img {
    width: 100%; height: auto; display: block;
    border-radius: 8px;
    box-shadow: 0 1px 2px rgba(22, 25, 28, .10),
                0 6px 16px -8px rgba(22, 25, 28, .22);
}

.media__kicker {
    font-size: 11px; font-weight: 600; letter-spacing: .12em;
    text-transform: uppercase; color: var(--text-3); margin-bottom: 7px;
}
.media__title { font-size: 17.5px; font-weight: 600; letter-spacing: -0.018em; }
.media__notes { margin-top: 9px; gap: 4px; }
.media__notes .entry__note { font-size: 14px; line-height: 1.5; }

.entry-list { display: flex; flex-direction: column; }

.entry {
    display: grid;
    grid-template-columns: 72px minmax(0, 1fr);
    gap: 22px;
    align-items: start;
    padding-block: 28px;
}
.entry:first-child { padding-top: 0; }
.entry:last-child { padding-bottom: 0; }
.entry + .entry { border-top: 1px solid var(--border); }

.entry__logo {
    display: flex; align-items: center; justify-content: center;
    padding-top: 2px;
}
.entry__logo img {
    max-width: 100%; width: auto; object-fit: contain;
    opacity: .82;
    transition: opacity .25s ease;
}
.entry:hover .entry__logo img { opacity: 1; }

.entry__logo-link,
.media__cover-link { display: block; line-height: 0; border-radius: 10px; }

.entry__logo-link img,
.media__cover-link img { transition: transform .18s var(--ease-out), opacity .18s ease; }

.entry__logo-link:hover img,
.media__cover-link:hover img { transform: translateY(-2px); opacity: 1; }

.entry__logo-link:focus-visible,
.media__cover-link:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.entry__logo--boxed img {
    border-radius: 11px;
    box-shadow: 0 0 0 1px var(--border);
}

.entry__title {
    font-size: 17.5px; font-weight: 600; letter-spacing: -0.018em;
    display: flex; align-items: center; flex-wrap: wrap; gap: 10px;
}
.entry__title a { color: inherit; }

.entry__org { margin-top: 4px; font-size: 15.5px; color: var(--text-2); }

.entry__meta {
    margin-top: 3px;
    font-size: 14px;
    color: var(--text-3);
    font-variant-numeric: tabular-nums;
}

.entry__text {
    margin-top: 13px; max-width: 68ch;
    font-size: 15.5px; line-height: 1.6; color: var(--text-2);
}

.entry__notes { margin: 14px 0 0; display: flex; flex-direction: column; gap: 7px; }
.entry__note { max-width: 68ch; font-size: 15px; line-height: 1.55; color: var(--text-2); }
.entry__note dt { display: inline; font-weight: 600; color: var(--text); }
.entry__note dd { display: inline; margin: 0; }

.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 48px; align-items: start; }

.contact-lead { margin-top: 20px; max-width: 46ch; font-size: 17px; color: var(--text-2); }

.contact-details { margin-top: 32px; }
.contact-details__item + .contact-details__item { margin-top: 22px; }
.contact-details__label {
    font-size: 11px; font-weight: 600; letter-spacing: .12em;
    text-transform: uppercase; color: var(--text-3); margin-bottom: 5px;
}
.contact-details__value { font-size: 16.5px; color: var(--text); }
.contact-details__value a { color: var(--text); }

.form { display: flex; flex-direction: column; align-items: flex-start; gap: 20px; }
.form > *:not(.visually-hidden) { width: 100%; }
.form > .btn { width: auto; }

.field { display: flex; flex-direction: column; }
.field__label { font-size: 13.5px; font-weight: 500; color: var(--text-2); margin-bottom: 7px; }

.field__input, .field__textarea {
    width: 100%;
    padding: 12px 14px;
    font-family: inherit;
    font-size: 15.5px;
    color: var(--text);
    background: var(--bg);
    border: 1px solid var(--border-strong);
    border-radius: var(--radius);
    transition: border-color .15s ease, box-shadow .15s ease;
}
.field__input:focus, .field__textarea:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(29, 79, 87, .12);
}
.field__textarea { resize: vertical; min-height: 130px; }
.field--invalid .field__input, .field--invalid .field__textarea { border-color: #a12b23; }
.field__error { margin-top: 6px; font-size: 13px; color: #a12b23; display: none; }
.field--invalid .field__error { display: block; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }

.form__status { font-size: 15px; padding: 13px 16px; border-radius: var(--radius); display: none; }
.form__status.is-visible { display: block; animation: rise .26s var(--ease-out) both; }
.form__status--ok { background: #edf5f0; color: #1d4a34; border: 1px solid #c9e3d5; }
.form__status--error { background: #fbf0ef; color: #8a2019; border: 1px solid #efd0cd; }

.footer {
    padding-block: calc(var(--footer-gap) - var(--footer-lead)) 30px;
    border-top: 1px solid var(--border);
    background: var(--bg-sunken);
}

.footer__grid {
    display: grid;
    grid-template-columns:
        minmax(0, 1.35fr) minmax(0, 1.5fr) minmax(0, 1fr) minmax(0, .85fr);
    gap: 44px;
    padding-bottom: 40px;
}

.footer__name { font-size: 16px; font-weight: 600; letter-spacing: -0.015em; }
.footer__role { margin-top: 3px; font-size: 14.5px; color: var(--text-2); }
.footer__blurb { margin-top: 14px; max-width: 34ch; font-size: 14px; line-height: 1.55; color: var(--text-3); }

.footer__social { display: flex; gap: 8px; margin-top: 20px; }
.footer__social a {
    width: 34px; height: 34px;
    display: grid; place-items: center;
    border: 1px solid var(--border-strong);
    border-radius: 9px;
    color: var(--text-2);
    background: var(--bg);
    transition: color .15s ease, border-color .15s ease,
                background-color .15s ease, transform .16s var(--ease-out);
}
.footer__social a:active { transform: scale(.94); }

.footer__col-title {
    font-size: 10.5px; font-weight: 600; letter-spacing: .13em;
    text-transform: uppercase; color: var(--text-3);
    padding-bottom: 13px; margin-bottom: 4px;
    border-bottom: 1px solid var(--border);
}

.footer__links { display: flex; flex-direction: column; }

.footer__links--split { display: block; columns: 2; column-gap: 26px; }
.footer__links--split li { break-inside: avoid; }

.footer__links li {
    position: relative;
    padding: 6px 0 6px 13px;
    font-size: 14.5px;
    line-height: 1.45;
}
.footer__links li::before {
    content: "";
    position: absolute;
    left: 2px; top: calc(6px + .58em);
    width: 3px; height: 3px;
    border-radius: 50%;
    background: var(--border-strong);
    transition: background-color .18s ease;
}
.footer__links li:has(a:hover)::before { background: var(--accent); }

.footer__links a { color: var(--text-2); }
.footer__links a:hover,
.footer__links a:focus-visible { color: var(--accent); }

.footer__top { display: inline-flex; align-items: center; gap: 6px; }
.footer__top:hover .link-hint,
.footer__top:focus-visible .link-hint {
    color: var(--accent);
    text-decoration: underline solid;
    text-decoration-color: var(--accent);
    -webkit-text-stroke: .35px currentColor;
}
.footer__top svg { transition: transform .18s var(--ease-out); }
.footer__top:hover svg { transform: translateY(-2px); }

@media (hover: hover) and (pointer: fine) {
    .footer__social a:hover {
        color: var(--accent);
        border-color: var(--accent);
        transform: translateY(-2px);
    }
}

.footer__base {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 14px 24px;
    padding-top: 26px;
    border-top: 1px solid var(--border);
}

.footer__copy { font-size: 13.5px; color: var(--text-3); }

.footer__meta { display: flex; align-items: center; gap: 16px; }
.footer__clock {
    display: flex;
    align-items: center;
    gap: 7px;
    font-family: var(--font-mono);
    font-size: 13px;
    color: var(--text-2);
    font-variant-numeric: tabular-nums;
}
.footer__clock svg { color: var(--text-3); }
.footer__tz {
    font-family: var(--font);
    font-size: 12.5px;
    color: var(--text-3);
    letter-spacing: .02em;
}

.link-hint {
    color: inherit;
    text-decoration: underline dashed;
    text-decoration-color: var(--text-3);
    text-underline-offset: 4px;
    text-decoration-thickness: 1px;
    transition: color .18s ease, text-decoration-color .18s ease;
}

.link-hint:hover, .link-hint:focus-visible {
    color: var(--accent);
    text-decoration: underline solid;
    text-decoration-color: var(--accent);
    -webkit-text-stroke: .35px currentColor;
}

.error-page {
    min-height: 62vh;
    display: flex; flex-direction: column;
    align-items: flex-start; justify-content: center;
    padding-block: 90px;
}
.error-page__code { font-family: var(--font-mono); font-size: 14px; color: var(--text-3); letter-spacing: .1em; margin-bottom: 20px; }
.error-page__title { font-size: clamp(30px, 4.4vw, 44px); }
.error-page__text { margin-top: 18px; max-width: 480px; color: var(--text-2); font-size: 17.5px; }
.error-page__actions { margin-top: 36px; display: flex; flex-wrap: wrap; gap: 12px; }
.error-page__foot {
    margin-top: 40px;
    padding-top: 22px;
    border-top: 1px solid var(--border);
    max-width: 52ch;
    font-size: 15px;
    color: var(--text-3);
}

.js .reveal,
.js .reveal-group > * {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity .4s var(--ease-out), transform .4s var(--ease-out);
}
.js .reveal.is-visible,
.js .reveal-group.is-visible > * { opacity: 1; transform: none; }

.js .reveal-group > *:nth-child(2) { transition-delay: 55ms; }
.js .reveal-group > *:nth-child(3) { transition-delay: 110ms; }
.js .reveal-group > *:nth-child(4) { transition-delay: 165ms; }
.js .reveal-group > *:nth-child(5) { transition-delay: 220ms; }
.js .reveal-group > *:nth-child(n+6) { transition-delay: 275ms; }

.js .reveal-card {
    opacity: 0;
    transform: translateY(10px);
    transition: opacity .5s var(--ease-out), transform .5s var(--ease-out);
}
.js .reveal-card.is-visible { opacity: 1; transform: none; }

.js .section__head.reveal .marker::after {
    transform: translateY(-3px) scaleX(0);
    transform-origin: left center;
    transition: transform .6s var(--ease-out) 140ms;
}
.js .section__head.reveal.is-visible .marker::after {
    transform: translateY(-3px) scaleX(1);
}

@keyframes rise {
    from { opacity: 0; transform: translateY(14px); }
    to   { opacity: 1; transform: none; }
}
@keyframes rise-scale {
    from { opacity: 0; transform: translateY(10px) scale(.96); filter: blur(9px); }
    to   { opacity: 1; transform: none; filter: blur(0); }
}

.js .ficha__portrait { animation: rise-scale .5s var(--ease-out) both; }
.js .ficha__id > :not(.ficha__portrait),
.js .ficha__body,
.js .panel--intro > * { animation: rise .42s var(--ease-out) both; }

.js .ficha__portrait          { animation-delay: 40ms; }
.js .ficha__name              { animation-delay: 150ms; }
.js .ficha__role              { animation-delay: 190ms; }
.js .ficha__social            { animation-delay: 230ms; }
.js .ficha__body              { animation-delay: 270ms; }

.js .panel--intro > *:nth-child(1) { animation-delay: 60ms; }
.js .panel--intro > *:nth-child(2) { animation-delay: 115ms; }
.js .panel--intro > *:nth-child(3) { animation-delay: 170ms; }
.js .panel--intro > *:nth-child(4) { animation-delay: 225ms; }

@keyframes fade { from { opacity: 0; } to { opacity: 1; } }

@media (prefers-reduced-motion: reduce) {
    .js .reveal,
    .js .reveal-group > * {
        transform: none;
        transition: opacity .28s ease;
        transition-delay: 0s;
    }
    .js .ficha__portrait,
    .js .ficha__id > :not(.ficha__portrait),
    .js .ficha__body,
    .js .panel--intro > * { animation-name: fade; }

    .js .reveal-card {
        transform: none;
        transition: opacity .28s ease;
    }
    .js .section__head.reveal .marker::after,
    .js .section__head.reveal.is-visible .marker::after {
        transform: translateY(-3px) scaleX(1);
        transition: none;
    }
    .btn:active,
    .nav__toggle:active,
    .ficha__social a:active,
    .btn--primary:hover,
    .ficha__social a:hover { transform: none; }

    .nav__link::after { transition: none; }
}

@media (max-width: 980px) {
    .nav__toggle { display: flex; }

    .nav {
        position: fixed;
        left: 0; right: 0;
        top: 74px;
        z-index: 95;
        flex-direction: column;
        align-items: stretch;
        gap: 2px;
        padding: 10px 12px 14px;
        background: var(--bg);
        border-bottom: 1px solid var(--border);
        box-shadow: 0 14px 28px -22px rgba(22, 25, 28, .5);
        max-height: calc(100svh - 74px);
        overflow-y: auto;
        overscroll-behavior: contain;
        opacity: 0;
        visibility: hidden;
        transform: translateY(-10px);
        transition: opacity .2s var(--ease-out),
                    transform .2s var(--ease-out),
                    visibility .2s;
    }
    .nav.is-open { opacity: 1; visibility: visible; transform: none; }

    .nav__link--nota { display: flex; }
    .nav__num { display: inline; }

    .nav__link {
        display: flex;
        align-items: center;
        gap: 11px;
        padding: 10px 12px;
        font-size: 15px;
        color: var(--text-2);
        border-bottom: 0;
        border-radius: 10px;
        opacity: 0;
        transform: translateY(-6px);
        transition: opacity .24s var(--ease-out),
                    transform .24s var(--ease-out),
                    color .18s ease,
                    background-color .18s ease;
    }
    .nav__link::before {
        content: "";
        flex: 0 0 auto;
        width: 2px; height: 14px;
        border-radius: 1px;
        background: transparent;
        transition: background-color .18s ease;
    }
    .nav__link::after { display: none; }

    .nav__num {
        font-family: var(--font-mono);
        font-size: 11.5px;
        letter-spacing: .04em;
        color: var(--text-3);
        transition: color .18s ease;
    }

    .nav__link.is-active { color: var(--text); background: var(--bg-sunken); }
    .nav__link.is-active::before { background: var(--accent); }
    .nav__link.is-active .nav__num { color: var(--accent); }

    .nav.is-open .nav__link {
        opacity: 1;
        transform: none;
        transition-delay: calc(var(--i, 0) * 22ms), calc(var(--i, 0) * 22ms), 0s, 0s;
    }

    @media (prefers-reduced-motion: reduce) {
        .nav__link { transform: none; }
        .nav.is-open .nav__link { transform: none; transition-delay: 0s; }
        .nav__burger > span { transition: opacity .16s ease; }
    }

    .shell { grid-template-columns: 1fr; }
    .shell__aside,
    .shell__main,
    .rail__notes > .rail__slot { display: contents; }

    .rail__slot--ficha,
    .shell__main > section,
    .rail__notes .rail-card { order: var(--orden, 0); }

    .marker__num--ancho { display: none; }
    .marker__num--estrecho { display: inline; }

    .rail__slot > .card,
    .rail__slot--ficha > .ficha { position: static; }

    .rail-card { padding: var(--panel-pad); }
    .rail-card__kicker { display: none; }
    .rail-card__head { margin-bottom: 40px; }
    .rail-card__title {
        margin-top: 0;
        font-size: clamp(30px, 3.8vw, 42px);
        letter-spacing: -0.032em;
    }

    .rail-faq__q { font-size: 16px; }
    .rail-faq__a { font-size: 15.5px; }
    .rail-faq__arrow { width: 14px; height: 14px; }

    .rail-tools { gap: 7px; }
    .rail-tools__item { font-size: 15.5px; }

    .rail-stack { gap: 13px; }
    .rail-stack__name { font-size: 16px; }
    .rail-stack__role { font-size: 14.5px; }

    .rail-spec__value { font-size: 15.5px; }
    .rail-comp__name, .rail-comp__pct { font-size: 14px; }

    .ficha { padding-top: 26px; }
    .ficha__portrait { margin-top: 0; }
}

@media (max-width: 900px) {
    .page-surface { padding-block: 22px var(--footer-gap); }

    :root { --footer-gap: 26px; }

    .areas { grid-template-columns: 1fr; gap: 0; }
    .media { grid-template-columns: 1fr; gap: 0; }
    .contact-grid { grid-template-columns: 1fr; gap: 44px; }

    .footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 36px; }
    .footer__identity { grid-column: 1 / -1; }
}

@media (max-width: 680px) {
    :root { --panel-pad: 32px 24px 36px; }

    .section__head { margin-bottom: 40px; }

    .ficha { padding-inline: 18px; }
    .ficha__portrait { max-width: 230px; margin-inline: auto; }
}

@media (max-width: 560px) {
    body { font-size: 16px; }

    .form__row { grid-template-columns: 1fr; }

    .entry { grid-template-columns: 1fr; gap: 14px; }
    .entry__logo { justify-content: flex-start; }

    .footer { padding-bottom: 26px; }
    .footer__grid { grid-template-columns: 1fr; gap: 30px; }
    .footer__links--split { columns: 1; }
}

@media (max-width: 480px) {
    :root {
        --ficha-photo: 190px;
        --gutter: 18px;
        --panel-pad: 26px 20px 30px;
    }
    .ficha__row { padding-block: 8px; }
    .ficha__name { margin-top: 14px; font-size: 19px; }
}

@media print {
    .js .reveal,
    .js .reveal-group > *,
    .js .reveal-card {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }
    .js .ficha__portrait { filter: none !important; }

    .js .ficha__portrait,
    .js .ficha__id > *,
    .js .ficha__body,
    .js .panel--intro > * { animation: none !important; opacity: 1 !important; }

    .header, .shell__aside, .rail__slot > .card { position: static !important; }

    .nav-scrim, .nav__toggle, .skip-link { display: none !important; }

    .page-surface, .footer { background: #fff !important; }
    .card { box-shadow: none !important; }
}
