/* ===========================================================================
   mike.katip.name — sci-fi "subject dossier"
   =========================================================================== */

:root {
    /* Accent — single source of truth. Change --accent-rgb to retheme. */
    --accent-rgb: 64, 142, 255;        /* electric azure */

    --bg:        #05070f;
    --bg-2:      #0a0f1c;
    --panel:     rgba(13, 22, 40, 0.55);
    --panel-brd: rgba(var(--accent-rgb), 0.30);
    --grid:      rgba(120, 145, 180, 0.05);

    --cyan:      rgb(var(--accent-rgb));
    --cyan-dim:  rgba(var(--accent-rgb), 0.62);
    --violet:    #b98cff;
    --amber:     #ffcf6b;
    --text:      #cdd9ec;
    --text-dim:  #6f8198;
    --white:     #eaf4ff;

    --glow:      0 0 12px rgba(var(--accent-rgb), 0.5);

    --mono:      'Share Tech Mono', ui-monospace, monospace;
    --display:   'Orbitron', var(--mono);
    --body:      'Rajdhani', system-ui, sans-serif;

    --maxw:      1100px;
}

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

html { scroll-behavior: smooth; }

body {
    background: radial-gradient(120% 120% at 50% -10%, var(--bg-2), var(--bg) 60%);
    color: var(--text);
    font-family: var(--body);
    font-size: 17px;
    line-height: 1.5;
    min-height: 100vh;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

a { color: var(--cyan); text-decoration: none; }
a:hover { text-shadow: var(--glow); }

/* ---- Background canvas + overlays ---------------------------------------- */
#bg-flow {
    position: fixed; inset: 0;
    width: 100%; height: 100%;
    z-index: 0;
}
.overlay-grid {
    position: fixed; inset: 0; z-index: 1; pointer-events: none;
    background-image:
        linear-gradient(var(--grid) 1px, transparent 1px),
        linear-gradient(90deg, var(--grid) 1px, transparent 1px);
    background-size: 44px 44px;
    mask-image: radial-gradient(120% 90% at 50% 30%, #000 30%, transparent 80%);
}
.overlay-scan {
    position: fixed; inset: 0; z-index: 2; pointer-events: none;
    background: repeating-linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0) 0,
        rgba(0, 0, 0, 0) 2px,
        rgba(0, 0, 0, 0.12) 3px,
        rgba(0, 0, 0, 0) 4px
    );
    opacity: 0.5;
}

@keyframes blink { 50% { opacity: 0.3; } }

/* ---- Layout -------------------------------------------------------------- */
.dossier {
    position: relative; z-index: 5;
    max-width: var(--maxw);
    margin: 0 auto;
    padding: clamp(1.2rem, 4vw, 3rem) clamp(1rem, 4vw, 2rem) 4rem;
}
.section { margin-top: clamp(2.2rem, 6vw, 4rem); }
.section__head {
    display: flex; align-items: center; justify-content: space-between;
    gap: 1rem; flex-wrap: wrap;
    margin-bottom: 1.4rem;
}
.section__title {
    font-family: var(--display);
    font-weight: 700;
    font-size: clamp(1.05rem, 2.4vw, 1.4rem);
    letter-spacing: 0.18em;
    color: var(--white);
    text-shadow: var(--glow);
}

/* ---- Panel with corner brackets ------------------------------------------ */
.panel {
    position: relative;
    background: var(--panel);
    border: 1px solid var(--panel-brd);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    border-radius: 4px;
    box-shadow: inset 0 0 30px rgba(var(--accent-rgb), 0.05);
}
.panel__bracket {
    position: absolute; width: 14px; height: 14px;
    border: 2px solid var(--cyan); pointer-events: none;
}
.panel__bracket--tl { top: -1px; left: -1px;  border-right: 0; border-bottom: 0; }
.panel__bracket--tr { top: -1px; right: -1px; border-left: 0;  border-bottom: 0; }
.panel__bracket--bl { bottom: -1px; left: -1px;  border-right: 0; border-top: 0; }
.panel__bracket--br { bottom: -1px; right: -1px; border-left: 0;  border-top: 0; }

/* ---- Tags --------------------------------------------------------------- */
.tag {
    font-family: var(--mono); font-size: 0.7rem; letter-spacing: 0.16em;
    color: var(--text-dim); border: 1px solid var(--text-dim);
    padding: 0.2em 0.7em; border-radius: 2px; text-transform: uppercase;
    opacity: 0.55;
}
.tag__key { color: var(--text-dim); }
.tag__val { color: var(--text-dim); text-transform: none; }

/* ---- Identity card ------------------------------------------------------- */
.id-card { padding: clamp(1.2rem, 3vw, 2rem); text-transform: uppercase; }
.id-card__meta {
    display: flex; align-items: center; gap: 0.6rem; flex-wrap: wrap;
    margin-bottom: 1.4rem;
}
.id-card__body {
    display: flex; gap: clamp(1rem, 3vw, 2rem); align-items: center; flex-wrap: wrap;
}
.id-card__avatar {
    position: relative; flex: 0 0 auto;
    width: 96px; height: 96px;
    display: grid; place-items: center;
}
.id-card__ring {
    position: absolute; inset: 0; border-radius: 50%;
    border: 1px solid var(--cyan-dim);
    box-shadow: var(--glow), inset 0 0 18px rgba(var(--accent-rgb), 0.25);
}
.id-card__ring::before {
    content: ''; position: absolute; inset: -6px; border-radius: 50%;
    border: 1px dashed rgba(var(--accent-rgb), 0.35);
    animation: spin 14s linear infinite;
}
.id-card__info { flex: 1 1 320px; min-width: 260px; }
.id-card__name {
    font-family: var(--display); font-weight: 900;
    font-size: clamp(1.7rem, 5vw, 3rem); line-height: 1.05;
    color: var(--white); letter-spacing: 0.02em;
    text-shadow: var(--glow);
}
.id-card__roles {
    display: inline-block;
    margin: 0.9rem 0;
    font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.12em;
    text-transform: uppercase; color: var(--text-dim);
    border: 1px solid var(--text-dim); border-radius: 2px;
    padding: 0.25em 0.7em; opacity: 0.55;
}
.id-card__lines {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
    gap: 0.5rem 1.4rem; margin-top: 1rem;
}
.id-card__lines dt {
    font-family: var(--mono); font-size: 0.62rem; letter-spacing: 0.16em;
    color: var(--text-dim);
}
.id-card__lines dd { font-size: 0.95rem; color: var(--text); }

.id-card__lines dd a,
.id-card__lines dd .contact-trigger {
    display: inline-block;
    opacity: 0.8;
    transition: opacity 0.2s, filter 0.2s;
}
.id-card__lines dd a:hover,
.id-card__lines dd .contact-trigger:hover {
    opacity: 1;
    filter: brightness(1.4) drop-shadow(var(--glow));
}

/* ---- Timeline shell ------------------------------------------------------ */
.section__sub {
    font-family: var(--mono); font-size: 0.74rem; letter-spacing: 0.08em;
    color: var(--text-dim); margin: -0.6rem 0 1.2rem;
}
.tl-zoom { display: inline-flex; align-items: stretch; border: 1px solid var(--panel-brd); border-radius: 3px; overflow: hidden; }
.tl-zoom > * + * { border-left: 1px solid var(--panel-brd); }
.tl-zoom__btn {
    font-family: var(--mono); font-size: 0.95rem; line-height: 1;
    background: transparent; color: var(--text-dim); border: 0;
    padding: 0.45em 0.85em; cursor: pointer; transition: all 0.2s;
    min-width: 2.4em;
}
.tl-zoom__btn:hover { color: var(--cyan); background: rgba(var(--accent-rgb), 0.12); text-shadow: var(--glow); }
.tl-zoom__field {
    font-family: var(--mono); font-size: 0.74rem; letter-spacing: 0.1em;
    background: transparent; color: var(--cyan); border: 0;
    width: 4.4em; text-align: center; padding: 0.45em 0.3em;
    cursor: text; transition: background 0.2s, color 0.2s;
}
.tl-zoom__field:hover { color: var(--white); }
.tl-zoom__field:focus { outline: none; background: rgba(var(--accent-rgb), 0.14); color: var(--white); }

.timeline { position: relative; }
.timeline__scroll {
    position: relative; width: 100%; overflow-x: auto; overflow-y: hidden;
    scrollbar-color: var(--cyan-dim) transparent;
    padding-bottom: 4px;
}
.timeline__scroll::-webkit-scrollbar { height: 8px; }
.timeline__scroll::-webkit-scrollbar-thumb { background: var(--panel-brd); border-radius: 4px; }
.timeline__stage { position: relative; }

.tl-nav {
    position: absolute; top: 0; bottom: 8px; z-index: 5;
    display: flex; align-items: center; width: 56px;
    border: 0; padding: 0; cursor: pointer; background: none;
}
.tl-nav[hidden] { display: none; }
.tl-nav--left {
    left: 0; justify-content: flex-start; padding-left: 0.4rem;
    background: linear-gradient(to right, rgba(5, 7, 15, 0.88), rgba(5, 7, 15, 0));
}
.tl-nav--right {
    right: 0; justify-content: flex-end; padding-right: 0.4rem;
    background: linear-gradient(to left, rgba(5, 7, 15, 0.88), rgba(5, 7, 15, 0));
}

.tl-nav__icon {
    display: block; width: 34px; height: 34px;
    background-color: #d8dce2;
    opacity: 0.5;
    -webkit-mask-image: url(/assets/icons/tl-nav.svg);
    -webkit-mask-repeat: no-repeat;
    -webkit-mask-position: center;
    -webkit-mask-size: contain;
    mask-image: url(/assets/icons/tl-nav.svg);
    mask-repeat: no-repeat;
    mask-position: center;
    mask-size: contain;
    transition: background-color 0.2s, filter 0.2s, opacity 0.2s;
}
.tl-nav--left .tl-nav__icon { transform: rotate(180deg); }
.tl-nav:hover .tl-nav__icon { background-color: #ffffff; opacity: 1; filter: drop-shadow(var(--glow)); }

/* ---- Threads (multi-lane) view ------------------------------------------- */
.tl-threads { position: relative; min-width: 100%; }
.tl-lanes {
    position: relative; width: 100%;
    background-image: repeating-linear-gradient(
        to bottom,
        transparent 0, transparent 49px,
        rgba(var(--accent-rgb), 0.06) 49px, rgba(var(--accent-rgb), 0.06) 50px
    );
}
/* One bar per job, sized to the TRUE start→end span. The label lives inside
   and truncates with an ellipsis when the zoom is too low to show it. */
.tl-bar {
    position: absolute;
    display: flex; flex-direction: column; justify-content: space-between;
    padding: 0.45rem 0.5rem 0.4rem; gap: 1px; text-align: left;
    background: linear-gradient(90deg, rgba(var(--accent-rgb), 0.22), rgba(var(--accent-rgb), 0.07));
    border: 1px solid var(--panel-brd); border-left: 3px solid var(--cyan);
    border-radius: 3px; cursor: pointer; overflow: hidden;
    transition: box-shadow 0.12s, background 0.12s, transform 0.12s;
}
.tl-bar:hover, .tl-bar:focus-visible {
    background: linear-gradient(90deg, rgba(var(--accent-rgb), 0.34), rgba(var(--accent-rgb), 0.12));
    box-shadow: var(--glow); outline: none; z-index: 4; transform: translateY(-1px);
}
.tl-bar__title {
    font-family: var(--mono); font-size: 0.74rem; letter-spacing: 0.02em; line-height: 1.15;
    color: var(--white); white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
    display: block;
}
.tl-bar__range {
    font-family: var(--mono); font-size: 0.6rem; letter-spacing: 0.04em; line-height: 1.1;
    color: var(--cyan-dim); white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
    display: block;
}
.tl-bar__label {
    position: absolute; top: 0.45rem; bottom: 0.4rem;
    display: flex; flex-direction: column; justify-content: space-between;
    width: min(45%, 22rem);
    min-width: 0;
}
.tl-bar__label--start { left: 0.5rem; text-align: left; }
.tl-bar__label--end { right: 0.5rem; text-align: right; }
.tl-bar.is-current {
    border-left-color: var(--violet);
    background: linear-gradient(90deg, rgba(185, 140, 255, 0.22), rgba(185, 140, 255, 0.06));
}
.tl-bar.is-current:hover,
.tl-bar.is-current:focus-visible {
    background: linear-gradient(90deg, rgba(185, 140, 255, 0.34), rgba(185, 140, 255, 0.12));
}
.tl-bar.is-current .tl-bar__range {
    color: rgba(185, 140, 255, 0.9);
}
.tl-axis {
    position: absolute; left: 0; right: 0; height: 1.8rem;
    border-top: 1px solid var(--panel-brd);
}
.tl-axis__tick {
    position: absolute; top: 0; transform: translateX(-50%);
    font-family: var(--mono); font-size: 0.66rem; color: var(--text-dim);
    padding-top: 0.35rem; white-space: nowrap;
}
.tl-axis__tick::before {
    content: ''; position: absolute; top: -4px; left: 50%; width: 1px; height: 4px;
    background: var(--panel-brd);
}

/* ---- Record modal (native <dialog>) -------------------------------------- */
.tl-modal {
    border: 0; background: transparent; padding: 0; color: var(--text);
    max-width: min(680px, 92vw); width: 100%;
    margin: auto; /* centers in viewport */
    overflow: hidden;
    scrollbar-width: none;
}
.tl-modal::-webkit-scrollbar { display: none; }
.tl-modal__body { overflow-x: hidden; }
.tl-modal__body * { max-width: 100%; }
.tl-modal__body .chips { overflow: hidden; }
.tl-modal__body .chip { overflow-wrap: anywhere; }
.tl-modal__body .job__highlights li { overflow-wrap: anywhere; }
.tl-modal__body .job__org,
.tl-modal__body .job__loc {
    overflow-wrap: anywhere;
}
.tl-modal::backdrop {
    background: rgba(3, 6, 14, 0.78);
    backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px);
}
.tl-modal[open] { animation: modal-in 0.18s ease-out; }
.tl-modal__panel {
    position: relative; padding: 1.6rem 1.7rem;
    max-height: 85vh; overflow-y: auto; overflow-x: hidden;
    scrollbar-width: none;
    background: linear-gradient(160deg, rgba(13, 22, 40, 0.96), rgba(8, 14, 28, 0.96));
}
.tl-modal__panel::-webkit-scrollbar { display: none; }
.tl-modal__close {
    position: absolute; top: 0.6rem; right: 0.8rem;
    background: transparent; border: 1px solid var(--panel-brd); color: var(--cyan);
    width: 2rem; height: 2rem; border-radius: 3px; cursor: pointer;
    font-size: 1.2rem; line-height: 1; display: grid; place-items: center;
    transition: all 0.15s; z-index: 2;
}
.tl-modal__close:hover { background: rgba(var(--accent-rgb), 0.15); box-shadow: var(--glow); }
.tl-modal__body .job__head {
    display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
    align-items: baseline; border-bottom: 1px solid var(--panel-brd);
    padding-bottom: 0.7rem; margin: 0 2rem 0.8rem 0;
}
.tl-modal__body .job__title {
    font-family: var(--display); font-weight: 700; font-size: 1.2rem; color: var(--white);
    text-shadow: var(--glow);
}
.tl-modal__body .job__range { font-family: var(--mono); font-size: 0.8rem; color: var(--cyan); white-space: nowrap; }
.tl-modal__body .job__org { font-size: 1.05rem; color: var(--text); margin-bottom: 0.2rem; }
.tl-modal__body .job__client { color: var(--violet); font-size: 0.92rem; display: block; }
.tl-modal__body .job__loc {
    font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.08em;
    color: var(--text-dim); text-transform: uppercase; margin-bottom: 1rem;
}
.tl-modal__body .job__highlights { list-style: none; margin: 0.7rem 0 1.1rem; }
.tl-modal__body .job__highlights li { position: relative; padding-left: 1.3em; margin-bottom: 0.4em; }
.tl-modal__body .job__highlights li::before { content: '▸'; position: absolute; left: 0; color: var(--cyan); }

@keyframes modal-in { from { opacity: 0; transform: translateY(10px) scale(0.98); } to { opacity: 1; transform: none; } }

/* ---- Contact form --------------------------------------------------------- */
.contact-section { scroll-margin-top: 1rem; }
.contact-form__panel { padding: 1.6rem 1.7rem; }
.contact-form__row { margin-bottom: 1rem; }
/* Honeypot: kept off-screen rather than display:none so autofilling bots still see it. */
.contact-form__hp { position: absolute; left: -9999px; top: -9999px; height: 1px; width: 1px; overflow: hidden; }
.contact-form__row--split { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.contact-form__row label {
    display: block; font-family: var(--mono); font-size: 0.62rem; letter-spacing: 0.14em;
    text-transform: uppercase; color: var(--text-dim); margin-bottom: 0.4em;
}
.contact-form__row input,
.contact-form__row textarea {
    width: 100%; background: rgba(5, 7, 15, 0.5); color: var(--text);
    border: 1px solid var(--panel-brd); border-radius: 3px;
    padding: 0.55em 0.7em; font: inherit; font-size: 0.92rem;
    transition: border-color 0.2s, box-shadow 0.2s;
}
.contact-form__row textarea { resize: vertical; min-height: 6em; }
.contact-form__row input:focus,
.contact-form__row textarea:focus {
    outline: none; border-color: var(--cyan); box-shadow: var(--glow);
}
.contact-form__status {
    min-height: 1.2em; margin: 0 0 0.8rem;
    font-family: var(--mono); font-size: 0.78rem; letter-spacing: 0.04em;
}
.contact-form__status[data-state="error"] { color: #ff6b6b; }
.contact-form__status[data-state="ok"] { color: var(--cyan); }
.contact-form__actions { display: flex; justify-content: flex-end; }
.contact-form__submit {
    font-family: var(--mono); font-size: 0.8rem; letter-spacing: 0.12em; text-transform: uppercase;
    background: rgba(var(--accent-rgb), 0.12); color: var(--cyan);
    border: 1px solid var(--cyan-dim); border-radius: 3px;
    padding: 0.65em 1.4em; cursor: pointer; transition: all 0.2s;
}
.contact-form__submit:hover:not(:disabled) { background: rgba(var(--accent-rgb), 0.22); box-shadow: var(--glow); }
.contact-form__submit:disabled { opacity: 0.5; cursor: default; }
.contact-form__loading { display: none; }
.contact-form.is-loading,
.contact-form.is-success {
    min-height: 21rem;
    place-items: center;
}
.contact-form.is-loading { display: grid; }
.contact-form.is-loading .contact-form__row,
.contact-form.is-loading .contact-form__status,
.contact-form.is-loading .contact-form__actions { display: none; }
.contact-form.is-loading .contact-form__loading {
    display: grid; place-items: center;
}
.contact-form__spinner {
    width: 3rem; height: 3rem; border-radius: 50%;
    border: 3px solid rgba(var(--accent-rgb), 0.18);
    border-top-color: var(--cyan);
    box-shadow: 0 0 16px rgba(var(--accent-rgb), 0.2);
    animation: contact-spin 0.75s linear infinite;
}
.contact-form.is-success { display: grid; }
.contact-form.is-success .contact-form__row,
.contact-form.is-success .contact-form__actions,
.contact-form.is-success .contact-form__loading { display: none; }
.contact-form.is-success .contact-form__status {
    min-height: 0; margin: 0; max-width: 30rem;
    text-align: center; font-size: 0.9rem; line-height: 1.7;
}
@keyframes contact-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) {
    .contact-form__spinner { animation-duration: 1.5s; }
}
@media (max-width: 480px) {
    .contact-form__row--split { grid-template-columns: 1fr; gap: 0; }
}

/* ---- Chips --------------------------------------------------------------- */
.chips { list-style: none; display: flex; flex-wrap: wrap; gap: 0.4rem; }
.chip {
    font-family: var(--mono); font-size: 0.68rem; letter-spacing: 0.04em;
    color: var(--cyan-dim); border: 1px solid var(--panel-brd);
    border-radius: 2px; padding: 0.22em 0.6em; background: rgba(var(--accent-rgb), 0.04);
}

/* ---- Skill matrix -------------------------------------------------------- */
.skill-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1rem;
}
.skill-cat { padding: 1.1rem 1.2rem; }
.skill-cat__title {
    font-family: var(--display); font-weight: 500; font-size: 0.95rem;
    letter-spacing: 0.08em; color: var(--white); margin-bottom: 0.8rem;
    padding-bottom: 0.5rem; border-bottom: 1px solid var(--panel-brd);
}

/* ---- Education + certs ---------------------------------------------------- */
.two-col {
    display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem;
    margin-top: clamp(2.2rem, 6vw, 4rem); align-items: stretch;
}
.edu { padding: 1.1rem 1.2rem; margin-bottom: 1rem; }
.edu:last-child { margin-bottom: 0; }
.edu__head { display: flex; justify-content: space-between; gap: 0.6rem; align-items: baseline; }
.edu__inst { font-family: var(--display); font-weight: 500; font-size: 1rem; color: var(--white); }
.edu__year { font-family: var(--mono); font-size: 0.74rem; color: var(--cyan); white-space: nowrap; }
.edu__degree { color: var(--text); margin-top: 0.3rem; font-weight: 600; }
.edu__major { color: var(--text-dim); font-size: 0.92rem; }
.edu__minor { color: var(--text-dim); font-size: 0.92rem; }
.edu__place { font-family: var(--mono); font-size: 0.7rem; color: var(--text-dim); letter-spacing: 0.08em; margin-top: 0.3rem; text-transform: uppercase; }
.certs { padding: 1.2rem 1.3rem; }
#certs { display: flex; flex-direction: column; }
#certs .certs { flex: 1; }
.cert + .cert { margin-top: 1rem; }
.cert__cat { font-family: var(--display); font-weight: 500; font-size: 0.92rem; color: var(--white); margin-bottom: 0.4rem; }
.cert__list { list-style: none; }
.cert__list li { position: relative; padding-left: 1.2em; color: var(--text); margin-bottom: 0.25em; font-size: 0.95rem; }
.cert__list li::before { content: '▸'; position: absolute; left: 0; color: var(--cyan); }

/* ---- Footer / fallback --------------------------------------------------- */
.dossier__foot {
    display: flex; justify-content: space-between; flex-wrap: wrap; gap: 0.5rem;
    margin-top: 3rem; padding-top: 1rem; border-top: 1px solid var(--panel-brd);
    font-family: var(--mono); font-size: 0.72rem; color: var(--text-dim); letter-spacing: 0.1em;
}
.dossier__copyright { display: inline-flex; align-items: center; gap: 0.4em; text-transform: uppercase; }
.dossier__copyright-icon {
    display: block; width: 13px; height: 13px; flex: none;
    background-color: var(--text-dim);
    -webkit-mask-image: url(/assets/icons/copyright.svg);
    -webkit-mask-repeat: no-repeat;
    -webkit-mask-position: center;
    -webkit-mask-size: contain;
    mask-image: url(/assets/icons/copyright.svg);
    mask-repeat: no-repeat;
    mask-position: center;
    mask-size: contain;
}
.error { font-family: var(--mono); color: var(--amber); padding: 2rem; }

/* No-JS fallback: job source shows as readable cards. JS hides it. */
.job-source { list-style: none; display: grid; gap: 1rem; }
.job-source .job {
    background: var(--panel); border: 1px solid var(--panel-brd);
    border-left: 3px solid var(--cyan); border-radius: 3px; padding: 1rem 1.2rem;
}
.job-source .job__head { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; align-items: baseline; }
.job-source .job__title { font-family: var(--display); font-weight: 500; font-size: 1.05rem; color: var(--white); }
.job-source .job__range { font-family: var(--mono); font-size: 0.78rem; color: var(--cyan); }
.job-source .job__org { margin: 0.3rem 0; }
.job-source .job__client { color: var(--violet); font-size: 0.9rem; }
.job-source .job__loc { font-family: var(--mono); font-size: 0.7rem; color: var(--text-dim); text-transform: uppercase; margin-bottom: 0.6rem; }
.job-source .job__highlights { list-style: none; margin: 0.5rem 0 0.8rem; }
.job-source .job__highlights li { position: relative; padding-left: 1.2em; margin-bottom: 0.25em; }
.job-source .job__highlights li::before { content: '▸'; position: absolute; left: 0; color: var(--cyan); }
/* When JS is active it sets this to swap the fallback list for the viz. */
html.js .job-source,
body.js .job-source { display: none; }

@keyframes spin { to { transform: rotate(360deg); } }

/* ---- Responsive ---------------------------------------------------------- */
@media (max-width: 760px) {
    .two-col { grid-template-columns: 1fr; }
    .id-card__body { flex-direction: column; align-items: flex-start; }
}

/* ---- Reduced motion ------------------------------------------------------ */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: 0.001s !important; animation-iteration-count: 1 !important; }
    html { scroll-behavior: auto; }
}
