/* ==========================================================================
   Mostafa Field
   Plain, personal text over a living particle field. Palette sampled from
   the latest YouTube thumbnail.
   ========================================================================== */

:root {
    --night: #0f1827;
    --deep: #0a111c;
    --suit: #243245;
    --steel: #94a0b0;
    --white: #f4f8f8;
    --gold: #f0b03c;
    --gold-ink: #281400;

    --text: #eef2f6;
    --text-2: #c3ccd7;
    --muted: #8d99a9;
    --hair: rgba(148, 160, 176, .2);

    --f-body: "Instrument Sans", system-ui, sans-serif;
    --gutter: clamp(20px, 5vw, 72px);
    --ease: cubic-bezier(.2, .7, .1, 1);
    color-scheme: dark;
}
body.is-ar { --f-body: "IBM Plex Sans Arabic", "Instrument Sans", system-ui, sans-serif; }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 70px; }
body { margin: 0; background: var(--night); color: var(--text); font: 400 18px/1.7 var(--f-body); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
.is-ar body, body.is-ar { line-height: 1.85; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button { font: inherit; color: inherit; }
::selection { background: var(--gold); color: var(--gold-ink); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.sr, .skip:not(:focus) { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip:focus { position: fixed; top: 12px; inset-inline-start: 12px; z-index: 100; background: var(--gold); color: var(--gold-ink); padding: 10px 16px; }

/* ---------- Background ---------- */
.field { position: fixed; inset: 0; z-index: 0; display: block; }
.field-veil { position: fixed; inset: 0; z-index: 0; pointer-events: none; background: linear-gradient(180deg, rgba(10, 17, 28, .7) 0%, transparent 12%, transparent 86%, rgba(10, 17, 28, .6) 100%); }
/* A soft shade on the text side so words read cleanly over the field */
.scrim { position: fixed; inset: 0; z-index: 0; pointer-events: none; background: linear-gradient(to right, rgba(12, 20, 33, .92) 0%, rgba(12, 20, 33, .78) 34%, rgba(12, 20, 33, 0) 58%); }
.is-ar .scrim { background: linear-gradient(to left, rgba(12, 20, 33, .92) 0%, rgba(12, 20, 33, .78) 34%, rgba(12, 20, 33, 0) 58%); }
body:not(.home) .scrim { background: rgba(12, 20, 33, .55); }
.no-js .field { display: none; }
main, .bar, .foot, .drawer { position: relative; z-index: 2; }

/* ---------- Top bar ---------- */
.bar { position: fixed; inset: 0 0 auto; z-index: 40; display: flex; align-items: center; gap: 24px; padding: 18px var(--gutter); transition: background .3s, padding .3s; }
.bar.is-solid { background: rgba(10, 17, 28, .85); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); padding-block: 12px; }
.id { text-decoration: none; }
.id__name { font-weight: 600; font-size: 17px; letter-spacing: .01em; }
.bar__nav { display: flex; gap: 4px; margin-inline-start: auto; }
.bar__nav a { padding: 6px 12px; font-size: 15px; color: var(--text-2); text-decoration: none; transition: color .2s; }
.bar__nav a:hover { color: var(--white); }
.bar__tools { display: flex; align-items: center; gap: 10px; }
.chip { padding: 5px 10px; font-size: 14px; color: var(--text-2); text-decoration: none; border: 1px solid var(--hair); border-radius: 6px; transition: color .2s, border-color .2s; }
.chip[lang="ar"] { font-family: "IBM Plex Sans Arabic", sans-serif; }
.chip:hover { color: var(--white); border-color: var(--steel); }
.burger { display: none; width: 40px; height: 40px; border: 0; background: none; cursor: pointer; position: relative; }
.burger span:not(.sr) { position: absolute; inset-inline: 10px; height: 1.5px; background: var(--white); transition: transform .3s var(--ease); }
.burger span:nth-child(1) { top: 16px; } .burger span:nth-child(2) { top: 23px; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(3.5px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { transform: translateY(-3.5px) rotate(-45deg); }
.drawer { position: fixed; inset: 0; z-index: 39; background: rgba(10, 17, 28, .97); padding: 90px var(--gutter) 32px; }
.drawer nav { display: grid; }
.drawer a { font-size: 26px; font-weight: 500; padding: 12px 0; text-decoration: none; border-bottom: 1px solid var(--hair); }

/* ---------- Motion ---------- */
.in { opacity: 0; transform: translateY(14px); animation: in 1s var(--ease) forwards; animation-delay: calc(var(--d, 0) * 140ms + 200ms); }
@keyframes in { to { opacity: 1; transform: none; } }
.reveal { opacity: 0; transform: translateY(20px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
.no-js .reveal, .no-js .in { opacity: 1; transform: none; animation: none; }

/* ---------- Sections ---------- */
.sec { position: relative; min-height: 100svh; padding: 120px var(--gutter); display: grid; align-content: center; }
.copy { max-width: 34rem; }
.copy--wide { max-width: 40rem; }
.copy p { margin: 0 0 1.1em; color: var(--text-2); }
.copy h2 { font-size: clamp(30px, 3vw, 40px); font-weight: 600; line-height: 1.15; letter-spacing: -.01em; margin: 0 0 22px; color: var(--white); }
.is-ar .copy h2 { line-height: 1.5; letter-spacing: 0; }

.hello { font-size: clamp(44px, 5.4vw, 76px); font-weight: 600; line-height: 1.05; letter-spacing: -.02em; margin: 0 0 26px; color: var(--white); }
.is-ar .hello { line-height: 1.4; letter-spacing: 0; }
.avatar { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; object-position: 50% 12%; filter: grayscale(1) contrast(1.05); opacity: .92; margin-bottom: 26px; outline: 1px solid rgba(240, 176, 60, .45); outline-offset: 4px; box-shadow: 0 0 0 10px rgba(240, 176, 60, .04), 0 0 40px rgba(240, 176, 60, .12); }
.in.avatar { animation-duration: 1.4s; }
.lead { font-size: clamp(20px, 1.7vw, 23px); color: var(--white) !important; line-height: 1.55; }

.links { display: flex; flex-wrap: wrap; gap: 10px 26px; margin-top: 30px !important; }
.links a { display: inline-flex; align-items: center; gap: 9px; color: var(--white); text-decoration: none; font-weight: 500; border-bottom: 1px solid rgba(240, 176, 60, .6); padding-bottom: 3px; transition: color .2s, border-color .2s; }
.links a:hover { color: var(--gold); border-color: var(--gold); }
.links .ms-icon { color: var(--gold); }
.link { display: inline-flex; align-items: center; gap: 7px; color: var(--white); text-decoration: none; border-bottom: 1px solid rgba(240, 176, 60, .6); padding-bottom: 2px; font-weight: 500; transition: color .2s; }
.link:hover { color: var(--gold); }
.is-ar .link .ms-icon { transform: scaleX(-1); }
.aside { font-size: 15px; color: var(--muted) !important; font-style: italic; }
.is-ar .aside { font-style: normal; }

.roles { list-style: none; margin: 26px 0 0; padding: 18px 0 0; border-top: 1px solid var(--hair); display: grid; gap: 6px; font-size: 15px; color: var(--muted); }
.roles__y { display: inline-block; width: 3.4em; color: var(--text-2); font-variant-numeric: tabular-nums; }

/* ---------- IBES ---------- */
.stages { list-style: none; margin: 26px 0 28px; padding: 0; counter-reset: st; }
.stages li { position: relative; padding: 0 0 22px; padding-inline-start: 30px; }
.stages li::before { counter-increment: st; content: counter(st); position: absolute; inset-inline-start: 0; top: 2px; width: 19px; height: 19px; border-radius: 50%; display: grid; place-items: center; font-size: 11px; font-weight: 600; background: var(--gold); color: var(--gold-ink); }
.stages li:not(:last-child)::after { content: ""; position: absolute; inset-inline-start: 9px; top: 24px; bottom: 4px; width: 1px; background: rgba(240, 176, 60, .35); }
.stages__step { display: block; font-size: 13px; color: var(--muted); margin-bottom: 2px; }
.stages h3 { margin: 0 0 6px; font-size: 20px; font-weight: 600; }
.stages h3 a { color: var(--white); text-decoration: none; display: inline-flex; align-items: center; gap: 6px; transition: color .2s; }
.stages h3 a .ms-icon { color: var(--muted); }
.stages h3 a:hover { color: var(--gold); }
.stages p { margin: 0 !important; }
.links--plain { margin-top: 8px !important; }
.parts { list-style: none; margin: 10px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.parts li { padding: 3px 9px; border: 1px solid var(--hair); border-radius: 999px; font-size: 13px; color: var(--text-2); }
.stages li .parts li::before, .stages li .parts li::after { content: none; }
.stages .parts li { padding-inline-start: 9px; padding-bottom: 3px; }
#ibes .copy { max-width: 38rem; }

/* ---------- Videos ---------- */
.player { position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; padding: 0; border: 0; border-radius: 10px; background: #000; cursor: pointer; overflow: hidden; margin: 8px 0 12px; }
.player img, .player iframe { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border: 0; }
.player img { transition: filter .3s; }
.player:hover img { filter: brightness(.82); }
.player__btn { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; background: var(--gold); color: var(--gold-ink); transition: transform .3s var(--ease); }
.player:hover .player__btn { transform: translate(-50%, -50%) scale(1.07); }
.player__btn .ms-icon { margin-inline-start: 3px; }
.caption { font-size: 15.5px; color: var(--white) !important; }
.caption span { color: var(--muted); }
.more { list-style: none; margin: 18px 0 24px; padding: 0; border-top: 1px solid var(--hair); }
.more li { display: flex; justify-content: space-between; gap: 18px; padding: 10px 0; border-bottom: 1px solid var(--hair); font-size: 15.5px; }
.more a { color: var(--text-2); text-decoration: none; transition: color .2s; }
.more a:hover { color: var(--gold); }
.more span { color: var(--muted); font-size: 14px; flex: none; font-variant-numeric: tabular-nums; }

/* ---------- LinkedIn posts ---------- */
.posts { list-style: none; margin: 8px 0 26px; padding: 0; }
.posts li { padding: 16px 0; border-bottom: 1px solid var(--hair); display: grid; gap: 4px; }
.posts li:first-child { border-top: 1px solid var(--hair); }
.posts a { color: var(--text); text-decoration: none; line-height: 1.6; transition: color .2s; }
.posts a[dir="rtl"] { font-family: "IBM Plex Sans Arabic", sans-serif; text-align: right; }
.posts a:hover { color: var(--gold); }
.posts span { font-size: 13.5px; color: var(--muted); }

/* ---------- Experience ---------- */
.cv { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--hair); }
.cv li { display: grid; grid-template-columns: 4em minmax(0, 1.2fr) minmax(0, 1fr); gap: 16px; padding: 11px 0; border-bottom: 1px solid var(--hair); font-size: 16px; }
.cv__y { color: var(--muted); font-variant-numeric: tabular-nums; }
.cv__r { color: var(--text); }
.cv__o { color: var(--muted); }
.cv:not(.cv--certs) li:first-child .cv__y { color: var(--gold); }
.cv--edu { margin-bottom: 34px; }
.cv__r a { color: inherit; text-decoration: none; border-bottom: 1px solid rgba(240, 176, 60, .45); transition: color .2s; }
.cv__r a:hover { color: var(--gold); }
.cv-group { font-size: 15px; font-weight: 600; color: var(--white); margin: 30px 0 8px; }
.cv--certs li { align-items: start; }
.courses { margin-top: 2px; }
.courses summary { cursor: pointer; display: inline-flex; gap: 6px; font-size: 13.5px; color: var(--muted); list-style: none; }
.courses summary::-webkit-details-marker { display: none; }
.courses summary::after { content: "+"; color: var(--gold); }
.courses[open] summary::after { content: "–"; }
.courses ul { margin: 6px 0 2px; padding-inline-start: 1.1em; font-size: 14px; color: var(--muted); line-height: 1.6; list-style: disc; }
.courses li { display: list-item; padding: 0; border: 0; font-size: 14px; }
.all { margin-top: 14px; }
.all summary { cursor: pointer; color: var(--text-2); font-size: 15px; list-style: none; display: inline-flex; gap: 8px; align-items: center; border-bottom: 1px solid rgba(240, 176, 60, .6); padding-bottom: 2px; }
.all summary::-webkit-details-marker { display: none; }
.all summary::after { content: "+"; color: var(--gold); }
.all[open] summary::after { content: "–"; }
.all[open] summary { margin-bottom: 8px; }
.all .cv { border-top: 0; }

/* ---------- Contact ---------- */
.me { width: 96px; height: 96px; border-radius: 50%; object-fit: cover; object-position: 50% 12%; filter: grayscale(1); margin-bottom: 26px; }

/* ---------- Doc pages (blog, posts) ---------- */
.doc { max-width: 1160px; margin-inline: auto; padding: 130px var(--gutter) 90px; }
.doc__head { margin-bottom: 44px; max-width: 760px; }
.kicker { font-size: 14px; color: var(--muted); margin: 0 0 12px; }
.doc__title { font-size: clamp(40px, 5.4vw, 72px); font-weight: 600; line-height: 1.05; letter-spacing: -.02em; margin: 0 0 14px; }
.is-ar .doc__title, .doc__title--post { line-height: 1.3; letter-spacing: 0; }
.doc__title--post { font-size: clamp(32px, 3.8vw, 52px); }
.sec__lede { color: var(--text-2); margin: 0; }
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 34px 22px; }
.card a { display: grid; gap: 10px; text-decoration: none; }
.card__img { aspect-ratio: 16 / 10; overflow: hidden; background: var(--suit); display: block; border-radius: 8px; }
.card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.card a:hover .card__img img { transform: scale(1.03); }
.card .mono { font-size: 13px; color: var(--muted); }
.card__title { font-size: 17px; font-weight: 600; line-height: 1.45; transition: color .2s; }
.card a:hover .card__title { color: var(--gold); }
.pager { margin-top: 52px; display: flex; gap: 8px; flex-wrap: wrap; font-size: 15px; }
.pager .page-numbers { padding: 8px 13px; border-radius: 6px; border: 1px solid var(--hair); text-decoration: none; }
.pager .current { background: var(--gold); color: var(--gold-ink); border-color: var(--gold); }
.doc.reading { max-width: 820px; }
.reading__hero { margin: 0 0 30px; }
.reading__hero img { width: 100%; max-height: 520px; object-fit: cover; border-radius: 10px; }
.prose { background: rgba(10, 17, 28, .9); border-radius: 12px; padding: clamp(22px, 4vw, 52px); font-size: 18.5px; line-height: 1.8; color: #e1e7ee; }
.is-ar .prose { line-height: 2; }
.prose > * { margin-block: 0 1.15em; }
.prose h2, .prose h3, .prose h4 { font-weight: 600; line-height: 1.3; margin-block: 1.6em .5em; color: var(--white); }
.prose h2 { font-size: 30px; } .prose h3 { font-size: 24px; }
.prose a { color: var(--gold); text-underline-offset: 3px; }
.prose img { border-radius: 6px; }
.prose figure { margin-inline: 0; }
.prose figcaption { font-size: 14px; color: var(--muted); margin-top: 8px; }
.prose blockquote { margin-inline: 0; padding-inline-start: 20px; border-inline-start: 2px solid var(--gold); color: var(--white); }
.prose pre { background: var(--deep); padding: 18px; overflow-x: auto; direction: ltr; text-align: left; font-size: 14px; border-radius: 6px; }
.prose :not(pre) > code { background: var(--suit); padding: .1em .4em; font-size: .85em; border-radius: 4px; }
.prose iframe { max-width: 100%; }
.followup { margin: 30px 0; }
.followup p { margin: 0 0 6px; color: var(--text-2); }
.followup .links { margin-top: 12px !important; }
.post-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 20px; }
.post-nav a { display: grid; gap: 4px; padding: 16px 0; border-top: 1px solid var(--hair); text-decoration: none; }
.post-nav a:hover b { color: var(--gold); }
.post-nav .mono { font-size: 13px; color: var(--muted); }
.post-nav b { font-weight: 600; transition: color .2s; }
.post-nav__next { grid-column: 2; text-align: end; }

/* ---------- Footer ---------- */
.foot { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 24px; padding: 26px var(--gutter); background: rgba(10, 17, 28, .85); border-top: 1px solid var(--hair); font-size: 14px; color: var(--muted); }
.foot__name { color: var(--text-2); font-weight: 500; }
.foot__social { display: flex; gap: 16px; margin-inline-start: auto; }
.foot__social a { color: var(--text-2); }
.foot__social a:hover { color: var(--gold); }

/* ---------- Knowledge brain ---------- */
.sec--brain { align-content: center; }
.sec--brain .copy--wide { max-width: 46rem; }
.brain { position: relative; width: min(1100px, 100%); margin: 10px auto 18px; }
.brain canvas { display: block; width: 100%; touch-action: pan-y; user-select: none; -webkit-user-select: none; }
.brain__tip { position: absolute; top: 0; left: 0; z-index: 3; max-width: min(290px, calc(100% - 12px)); padding: 12px 14px; background: rgba(10, 17, 28, .95); border: 1px solid var(--c, var(--gold)); border-radius: 8px; box-shadow: 0 10px 40px rgba(0, 0, 0, .5); pointer-events: none; font-size: 14px; line-height: 1.45; display: grid; gap: 3px; }
.brain__tip[hidden] { display: none; }
.brain__tip strong { color: var(--white); font-weight: 600; font-size: 15px; }
.brain__tip span { color: var(--muted); font-size: 13px; }
.brain__tip ul { margin: 6px 0 0; padding-inline-start: 1.1em; color: var(--text-2); font-size: 13px; }
.brain__hint { display: none; }
@media (max-width: 600px) {
    .brain { width: auto; margin-inline: calc(var(--gutter) * -1); margin-block: 4px 14px; }
    .brain__tip { position: static; transform: none !important; max-width: none; margin: 6px var(--gutter) 0; }
    .brain__hint { display: block; margin: 4px var(--gutter) 0; font-size: 14px; color: var(--muted); text-align: center; }
    .brain__hint[hidden] { display: none; }
    .brain__legend { gap: 4px 14px; }
    .brain__legend button { font-size: 13.5px; }
}
.brain__legend { list-style: none; margin: 0 0 18px; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 18px; }
.brain__legend button { display: inline-flex; align-items: center; gap: 8px; background: none; border: 0; padding: 4px 0; cursor: pointer; font-size: 14.5px; color: var(--text-2); transition: color .2s; }
.brain__legend button::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--c); box-shadow: 0 0 8px var(--c); }
.brain__legend button:hover, .brain__legend button:focus-visible { color: var(--white); }

/* ---------- Scroll progress ---------- */
.progress { position: fixed; inset: 0 0 auto; z-index: 45; height: 2px; pointer-events: none; }
.progress span { display: block; height: 100%; background: var(--gold); transform: scaleX(0); transform-origin: left; box-shadow: 0 0 10px rgba(240, 176, 60, .7); }
.is-ar .progress span { transform-origin: right; }
.has-rail .progress { display: none; }

.rail { position: fixed; z-index: 30; inset-inline-end: 26px; top: 50%; transform: translateY(-50%); height: min(56vh, 460px); width: 14px; }
.rail__track { position: absolute; inset-block: 0; inset-inline-start: 6px; width: 2px; background: rgba(148, 160, 176, .22); border-radius: 2px; overflow: hidden; }
.rail__fill { position: absolute; inset: 0; background: var(--gold); transform: scaleY(0); transform-origin: top; box-shadow: 0 0 8px rgba(240, 176, 60, .7); }
.rail ol { list-style: none; margin: 0; padding: 0; position: absolute; inset: 0; }
.rail li { position: absolute; top: var(--at, 0); inset-inline-start: 0; transform: translateY(-50%); }
.rail a { display: flex; align-items: center; gap: 12px; flex-direction: row-reverse; text-decoration: none; padding: 4px 0; }
.rail__dot { width: 14px; height: 14px; border-radius: 50%; display: grid; place-items: center; flex: none; }
.rail__dot::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--night); border: 1.5px solid rgba(148, 160, 176, .6); transition: transform .25s var(--ease), background .25s, border-color .25s; }
.rail li.is-past .rail__dot::before { background: var(--gold); border-color: var(--gold); }
.rail li.is-here .rail__dot::before { background: var(--gold); border-color: var(--gold); transform: scale(1.6); box-shadow: 0 0 10px var(--gold); }
.rail__label { position: absolute; inset-inline-end: 24px; white-space: nowrap; font-size: 13px; color: var(--text-2); background: rgba(10, 17, 28, .9); padding: 3px 9px; border-radius: 5px; opacity: 0; transform: translateX(6px); transition: opacity .2s, transform .2s; pointer-events: none; }
.is-ar .rail__label { transform: translateX(-6px); }
.rail a:hover .rail__label, .rail a:focus-visible .rail__label { opacity: 1; transform: none; }
.rail a:hover .rail__dot::before { border-color: var(--gold); }

.cue { position: absolute; inset-block-end: 28px; inset-inline-start: 50%; transform: translateX(-50%); display: grid; justify-items: center; gap: 10px; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); text-decoration: none; transition: opacity .5s; }
.is-ar .cue { letter-spacing: 0; transform: translateX(50%); font-size: 13px; }
.cue i { width: 1.5px; height: 44px; background: rgba(148, 160, 176, .25); position: relative; overflow: hidden; }
.cue i::after { content: ""; position: absolute; inset-inline: 0; top: -40%; height: 40%; background: var(--gold); animation: cue 1.8s var(--ease) infinite; }
@keyframes cue { to { top: 100%; } }
.cue.is-gone { opacity: 0; pointer-events: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
    .bar__nav { display: none; }
    .burger { display: block; }
    .bar__tools { margin-inline-start: auto; }
}
@media (max-width: 960px) {
    .scrim, .is-ar .scrim { background: linear-gradient(to bottom, rgba(12, 20, 33, 0) 30%, rgba(12, 20, 33, .85) 52%, rgba(12, 20, 33, .92) 100%); }
    .sec { align-content: end; padding-top: 52svh; padding-bottom: 80px; }
    #work, #writing, #credentials { padding-top: 110px; align-content: center; }
    .copy, .copy--wide { max-width: none; }
    .avatar { width: 60px; height: 60px; margin-bottom: 18px; }
    .rail { display: none; }
    .has-rail .progress { display: block; }
    .hero { padding-bottom: 120px; }
    .cards { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
    body { font-size: 17px; }
    .cv li { grid-template-columns: 3.4em minmax(0, 1fr); gap: 2px 12px; }
    .cv__o { grid-column: 2; font-size: 14px; }
    .cards { grid-template-columns: 1fr; }
    .post-nav { grid-template-columns: 1fr; }
    .post-nav__next { grid-column: 1; text-align: start; }
    .foot__social { margin-inline-start: 0; }
}
@media (hover: none) { .aside { display: none; } }
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
    .in, .reveal { opacity: 1; transform: none; }
}
