/* =========================================================
   Kenan Prins — Portfolio
   Theme: "Thunderclap & Flash" — midnight navy, electric cyan,
   thunder gold. Refined for a professional presentation.
   ========================================================= */

:root {
    --bg: #060b11;
    --bg-alt: #08111a;
    --surface: #0c1621;
    --surface-2: #101d2a;
    --border: rgba(120, 200, 230, 0.10);
    --border-strong: rgba(0, 229, 255, 0.28);

    --text: #e7eef5;
    --text-muted: #93a4b5;
    --text-dim: #64768a;

    --cyan: #00e5ff;
    --cyan-soft: #5ee9ff;
    --cyan-deep: #00a6c0;
    --gold: #ffc107;
    --orange: #ff8a00;

    --font-display: "Cinzel", Georgia, serif;
    --font-label: "Rajdhani", "Segoe UI", sans-serif;
    --font-body: "Inter", "Segoe UI", system-ui, sans-serif;
    --font-mono: "JetBrains Mono", Consolas, monospace;

    --radius: 14px;
    --radius-sm: 8px;
    --container: 1160px;
    --nav-h: 68px;
    --ease: cubic-bezier(.2, .7, .2, 1);
}

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

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 12px); }

body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

img, svg { display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
::selection { background: rgba(0, 229, 255, .25); color: #fff; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }

.icon {
    width: 1.1em; height: 1.1em;
    fill: none; stroke: currentColor; stroke-width: 1.8;
    stroke-linecap: round; stroke-linejoin: round;
    flex-shrink: 0;
}

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

.skip-link {
    position: absolute; left: 16px; top: -60px; z-index: 100;
    background: var(--cyan); color: #00151a; padding: 8px 14px; border-radius: 6px; font-weight: 600;
}
.skip-link:focus { top: 12px; }

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex; align-items: center; gap: .55em;
    height: 48px; padding: 0 22px;
    border-radius: 10px;
    font-family: var(--font-label); font-weight: 700; font-size: 15px;
    letter-spacing: .12em; text-transform: uppercase;
    border: 1px solid transparent;
    transition: transform .2s var(--ease), background .2s, border-color .2s, box-shadow .25s, color .2s;
    white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn--primary {
    background: linear-gradient(135deg, var(--cyan) 0%, var(--cyan-deep) 100%);
    color: #001318;
    box-shadow: 0 6px 24px -8px rgba(0, 229, 255, .55);
}
.btn--primary:hover { box-shadow: 0 10px 34px -8px rgba(0, 229, 255, .75); }
.btn--outline { border-color: var(--border-strong); color: var(--cyan-soft); background: rgba(0, 229, 255, .04); }
.btn--outline:hover { border-color: var(--cyan); background: rgba(0, 229, 255, .09); }
.btn--ghost { color: var(--text-muted); }
.btn--ghost:hover { color: var(--text); }
.btn--sm { height: 38px; padding: 0 16px; font-size: 13px; }

/* ---------- Navigation ---------- */
.nav {
    position: fixed; inset: 0 0 auto 0; z-index: 50;
    height: var(--nav-h);
    transition: background .3s, border-color .3s, backdrop-filter .3s;
    border-bottom: 1px solid transparent;
}
.nav.is-scrolled {
    background: rgba(6, 11, 17, .78);
    backdrop-filter: blur(14px) saturate(140%);
    -webkit-backdrop-filter: blur(14px) saturate(140%);
    border-bottom-color: var(--border);
}
.nav__inner { height: 100%; display: flex; align-items: center; gap: 32px; }

.brand { display: inline-flex; align-items: center; gap: 10px; }
.brand__mark {
    display: grid; place-items: center;
    width: 34px; height: 34px; border-radius: 9px;
    background: linear-gradient(140deg, rgba(255, 193, 7, .18), rgba(255, 138, 0, .06));
    border: 1px solid rgba(255, 193, 7, .35);
    color: var(--gold);
}
.brand__mark .icon { width: 18px; height: 18px; }
.brand__text { font-family: var(--font-display); font-weight: 700; letter-spacing: .22em; color: var(--cyan); font-size: 15px; }

.nav__links { display: flex; gap: 30px; margin-left: auto; }
.nav__links a {
    position: relative;
    font-family: var(--font-label); font-weight: 600; font-size: 14px;
    letter-spacing: .16em; text-transform: uppercase; color: var(--text-muted);
    transition: color .2s;
}
.nav__links a::after {
    content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 1px;
    background: var(--cyan); transform: scaleX(0); transition: transform .25s var(--ease);
}
.nav__links a:hover, .nav__links a.is-active { color: var(--text); }
.nav__links a.is-active::after, .nav__links a:hover::after { transform: scaleX(1); }

.nav__toggle {
    display: none; margin-left: auto;
    background: none; border: 1px solid var(--border); color: var(--text);
    width: 42px; height: 42px; border-radius: 10px; cursor: pointer;
    align-items: center; justify-content: center;
}
.nav__toggle .icon { width: 20px; height: 20px; }

/* ---------- Hero ---------- */
.hero {
    position: relative; overflow: hidden;
    padding: calc(var(--nav-h) + 72px) 0 72px;
    min-height: 100vh;
    display: flex; flex-direction: column; justify-content: center;
}
.hero__bg { position: absolute; inset: 0; pointer-events: none; }
.hero__grid {
    position: absolute; inset: 0;
    background-image:
        linear-gradient(rgba(0, 229, 255, .045) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 229, 255, .045) 1px, transparent 1px);
    background-size: 56px 56px;
    mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 30%, transparent 80%);
    -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 30%, transparent 80%);
}
.hero__glow {
    position: absolute; inset: 0;
    background:
        radial-gradient(600px 380px at 78% 30%, rgba(0, 229, 255, .12), transparent 70%),
        radial-gradient(500px 320px at 12% 80%, rgba(255, 193, 7, .06), transparent 70%);
}
.hero__kanji {
    position: absolute; right: -2%; top: 50%; transform: translateY(-50%);
    font-family: "Noto Serif JP", "Yu Mincho", serif; font-weight: 900;
    font-size: min(46vw, 620px); line-height: 1;
    color: rgba(0, 229, 255, .022);
    user-select: none;
}
.rain {
    position: absolute; inset: 0; opacity: .5;
    background-image: repeating-linear-gradient(100deg, transparent 0 46px, rgba(94, 233, 255, .05) 46px 47px, transparent 47px 96px);
    background-size: 100% 200%;
    animation: rain 1.2s linear infinite;
    mask-image: linear-gradient(to bottom, #000, transparent 85%);
    -webkit-mask-image: linear-gradient(to bottom, #000, transparent 85%);
}
@keyframes rain { to { background-position: -40px 300px; } }
.flash {
    position: absolute; inset: 0; opacity: 0;
    background: radial-gradient(ellipse at 70% 10%, rgba(200, 245, 255, .22), transparent 60%);
}
.flash.is-on { animation: flash .9s ease-out; }
@keyframes flash { 0% { opacity: 0; } 8% { opacity: 1; } 16% { opacity: .2; } 24% { opacity: .8; } 100% { opacity: 0; } }

.hero__inner {
    position: relative;
    display: grid; grid-template-columns: 1.1fr .9fr; align-items: center; gap: 56px;
}
.hero__inner > * { min-width: 0; }

.eyebrow {
    display: inline-flex; align-items: center; gap: 10px;
    padding: 6px 14px 6px 12px; border-radius: 999px;
    border: 1px solid var(--border); background: rgba(12, 22, 33, .6);
    font-family: var(--font-label); font-weight: 600; font-size: 13px;
    letter-spacing: .14em; text-transform: uppercase; color: var(--text-muted);
    margin-bottom: 28px;
}
.pulse { width: 8px; height: 8px; border-radius: 50%; background: #3ddc97; box-shadow: 0 0 0 0 rgba(61, 220, 151, .6); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 8px rgba(61, 220, 151, 0); } 100% { box-shadow: 0 0 0 0 rgba(61, 220, 151, 0); } }

.hero__name {
    font-family: var(--font-display); font-weight: 900;
    font-size: clamp(48px, 7.4vw, 92px); line-height: 1.02; letter-spacing: .01em;
    background: linear-gradient(180deg, #ffffff 30%, #bfefff 100%);
    -webkit-background-clip: text; background-clip: text; color: transparent;
    filter: drop-shadow(0 0 28px rgba(0, 229, 255, .18));
}
.hero__role {
    margin-top: 18px;
    font-family: var(--font-label); font-weight: 600; font-size: clamp(18px, 2vw, 22px);
    letter-spacing: .28em; text-transform: uppercase; color: var(--gold);
}
.hero__role .sep { color: var(--text-dim); margin: 0 .4em; }
.hero__tagline { margin-top: 22px; max-width: 520px; font-size: 18px; color: var(--text-muted); }

.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }
.hero__actions--center { justify-content: center; }

.socials { display: flex; gap: 10px; margin-top: 32px; }
.socials a {
    display: grid; place-items: center; width: 42px; height: 42px; border-radius: 10px;
    border: 1px solid var(--border); color: var(--text-muted);
    transition: color .2s, border-color .2s, background .2s, transform .2s var(--ease);
}
.socials a:hover { color: var(--cyan); border-color: var(--border-strong); background: rgba(0, 229, 255, .06); transform: translateY(-2px); }
.socials .icon { width: 18px; height: 18px; }

/* Editor card */
.editor {
    position: relative;
    border-radius: var(--radius);
    background: linear-gradient(180deg, rgba(16, 29, 42, .92), rgba(10, 18, 27, .92));
    border: 1px solid var(--border);
    box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .8), 0 0 0 1px rgba(0, 229, 255, .04), 0 0 60px -20px rgba(0, 229, 255, .25);
    overflow: hidden;
}
.editor::before {
    content: ""; position: absolute; inset: 0 0 auto 0; height: 1px;
    background: linear-gradient(90deg, transparent, var(--cyan), transparent);
    opacity: .6;
}
.editor__bar { display: flex; align-items: center; gap: 7px; padding: 13px 16px; border-bottom: 1px solid var(--border); }
.editor__bar .dot { width: 11px; height: 11px; border-radius: 50%; background: #1e2d3c; }
.editor__file { margin-left: 10px; font-family: var(--font-mono); font-size: 12.5px; color: var(--text-dim); }
.editor__code {
    margin: 0; padding: 22px 22px 26px;
    font-family: var(--font-mono); font-size: 13.5px; line-height: 1.75; color: #c9d6e2;
    overflow-x: auto;
}
.editor__code .k { color: #7aa7ff; }
.editor__code .t { color: var(--cyan-soft); }
.editor__code .s { color: #ffd36b; }
.editor__code .m { color: #c79bff; }

/* Stats */
.stats {
    position: relative; margin: 72px 0 0;
    display: grid; grid-template-columns: repeat(4, 1fr);
    border: 1px solid var(--border); border-radius: var(--radius);
    background: rgba(12, 22, 33, .55);
    backdrop-filter: blur(6px);
}
.stats > div { padding: 22px 26px; }
.stats > div + div { border-left: 1px solid var(--border); }
.stats dt { font-family: var(--font-display); font-weight: 700; font-size: 28px; color: var(--text); }
.stats dd { margin: 2px 0 0; font-family: var(--font-label); font-weight: 600; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--text-dim); }

/* ---------- Sections ---------- */
.section { padding: 120px 0; position: relative; }
.section--alt { background: var(--bg-alt); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }

.section__head { margin-bottom: 56px; }
.section__head--row { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.section__index {
    font-family: var(--font-label); font-weight: 700; font-size: 13px;
    letter-spacing: .3em; text-transform: uppercase; color: var(--cyan);
    margin-bottom: 12px;
}
.section__title {
    font-family: var(--font-display); font-weight: 700;
    font-size: clamp(32px, 4vw, 46px); line-height: 1.1; letter-spacing: .02em;
}
.section__intro { max-width: 440px; color: var(--text-muted); }

.split { display: grid; grid-template-columns: 1fr 1.6fr; gap: 64px; }
.split .section__head { margin-bottom: 0; position: sticky; top: calc(var(--nav-h) + 40px); align-self: start; }

.about p { color: var(--text-muted); }
.about p + p { margin-top: 18px; }
.about .lead { font-size: 22px; line-height: 1.55; color: var(--text); }

.principles { margin-top: 40px; display: grid; gap: 1px; background: var(--border); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.principles li { display: flex; gap: 22px; padding: 22px 24px; background: var(--bg); }
.principles li > span { font-family: var(--font-mono); font-size: 13px; color: var(--gold); padding-top: 3px; }
.principles h3 { font-family: var(--font-label); font-weight: 700; font-size: 18px; letter-spacing: .06em; text-transform: uppercase; color: var(--text); }
.about .principles p { margin-top: 2px; font-size: 15px; }

/* ---------- Cards ---------- */
.cards { display: grid; gap: 20px; }
.cards--4 { grid-template-columns: repeat(4, 1fr); }
.cards--2 { grid-template-columns: repeat(2, 1fr); }

.card {
    position: relative; display: flex; flex-direction: column;
    padding: 28px;
    border-radius: var(--radius);
    background: linear-gradient(180deg, var(--surface-2), var(--surface));
    border: 1px solid var(--border);
    transition: transform .3s var(--ease), border-color .3s, box-shadow .3s;
}
.card::before {
    content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
    background: radial-gradient(400px circle at var(--mx, 50%) var(--my, 0%), rgba(0, 229, 255, .08), transparent 45%);
    opacity: 0; transition: opacity .3s;
}
.card:hover { transform: translateY(-4px); border-color: var(--border-strong); box-shadow: 0 24px 50px -28px rgba(0, 229, 255, .35); }
.card:hover::before { opacity: 1; }
.card__title { font-family: var(--font-label); font-weight: 700; font-size: 22px; letter-spacing: .04em; color: var(--text); }
.card__text { margin-top: 10px; color: var(--text-muted); font-size: 15px; flex: 1; }

.skill__icon {
    display: grid; place-items: center; width: 48px; height: 48px; border-radius: 12px; margin-bottom: 22px;
    color: var(--cyan); background: rgba(0, 229, 255, .07); border: 1px solid rgba(0, 229, 255, .18);
}
.skill__icon .icon { width: 22px; height: 22px; }
.skill__sub { font-family: var(--font-label); font-weight: 600; font-size: 12.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); margin-bottom: 4px; }

.tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 20px; }
.tags li {
    padding: 3px 10px; border-radius: 6px;
    font-family: var(--font-mono); font-size: 12px; color: var(--text-muted);
    background: rgba(255, 255, 255, .03); border: 1px solid var(--border);
}
.tags--lg { margin-top: 0; gap: 8px; }
.tags--lg li { font-size: 13px; padding: 6px 12px; }

.toolkit {
    margin-top: 28px; padding: 22px 24px;
    display: flex; align-items: center; gap: 24px; flex-wrap: wrap;
    border: 1px dashed var(--border); border-radius: var(--radius);
}
.toolkit__label { font-family: var(--font-label); font-weight: 700; font-size: 13px; letter-spacing: .24em; text-transform: uppercase; color: var(--text-dim); }

/* Projects */
.project { min-height: 230px; }
.project__top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 22px; }
.lang { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-mono); font-size: 12.5px; color: var(--text-muted); }
.lang::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--cyan); }
.lang[data-lang="C#"]::before { background: #9b6bdf; }
.lang[data-lang="Python"]::before { background: #3f7cc0; }
.lang[data-lang="SQL"]::before { background: #e8a33d; }
.lang[data-lang="JavaScript"]::before { background: #f1e05a; }
.project__go {
    display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%;
    border: 1px solid var(--border); color: var(--text-muted);
    transition: color .25s, border-color .25s, transform .3s var(--ease), background .25s;
}
.project:hover .project__go { color: #001318; background: var(--cyan); border-color: var(--cyan); transform: rotate(45deg); }

.link-arrow {
    display: inline-flex; align-items: center; gap: 8px;
    font-family: var(--font-label); font-weight: 700; font-size: 14px; letter-spacing: .14em; text-transform: uppercase;
    color: var(--cyan);
}
.link-arrow .icon { transition: transform .25s var(--ease); }
.link-arrow:hover .icon { transform: translate(3px, -3px); }

/* Certifications */
.cert-tools { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; margin-bottom: 24px; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; }
.filter {
    display: inline-flex; align-items: center; gap: 8px;
    height: 38px; padding: 0 14px; border-radius: 999px; cursor: pointer;
    background: transparent; border: 1px solid var(--border); color: var(--text-muted);
    font-family: var(--font-label); font-weight: 600; font-size: 14px; letter-spacing: .06em;
    transition: color .2s, border-color .2s, background .2s;
}
.filter span { font-family: var(--font-mono); font-size: 11px; padding: 1px 7px; border-radius: 999px; background: rgba(255, 255, 255, .05); }
.filter:hover { color: var(--text); border-color: var(--border-strong); }
.filter.is-active { color: #001318; background: var(--cyan); border-color: var(--cyan); }
.filter.is-active span { background: rgba(0, 0, 0, .15); }

.search {
    display: flex; align-items: center; gap: 10px;
    height: 40px; padding: 0 14px; min-width: 260px;
    border: 1px solid var(--border); border-radius: 10px; background: var(--surface);
    color: var(--text-dim);
}
.search:focus-within { border-color: var(--border-strong); }
.search input { flex: 1; background: none; border: 0; outline: 0; color: var(--text); font: inherit; font-size: 14px; }
.search input::placeholder { color: var(--text-dim); }

.certs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.certs li[hidden] { display: none; }
.cert {
    display: flex; align-items: center; gap: 14px; height: 100%;
    padding: 16px 18px; border-radius: 12px;
    background: var(--surface); border: 1px solid var(--border);
    transition: border-color .2s, background .2s, transform .2s var(--ease);
}
.cert:hover { border-color: var(--border-strong); background: var(--surface-2); transform: translateY(-2px); }
.cert__icon { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 10px; color: var(--gold); background: rgba(255, 193, 7, .08); border: 1px solid rgba(255, 193, 7, .2); flex-shrink: 0; }
.cert__body { display: flex; flex-direction: column; min-width: 0; flex: 1; }
.cert__title { font-weight: 500; font-size: 14.5px; line-height: 1.35; color: var(--text); }
.cert__meta { font-size: 12.5px; color: var(--text-dim); margin-top: 3px; }
.cert__go { color: var(--text-dim); transition: color .2s, transform .2s var(--ease); }
.cert:hover .cert__go { color: var(--cyan); transform: translate(2px, -2px); }
.certs__empty { padding: 40px 0; text-align: center; color: var(--text-dim); }

/* Contact */
.contact__card {
    position: relative; overflow: hidden; text-align: center;
    padding: 80px 32px;
    border-radius: 22px; border: 1px solid var(--border-strong);
    background:
        radial-gradient(600px 300px at 50% 0%, rgba(0, 229, 255, .14), transparent 70%),
        linear-gradient(180deg, var(--surface-2), var(--bg));
}
.contact__bolt {
    display: grid; place-items: center; width: 56px; height: 56px; margin: 0 auto 24px; border-radius: 16px;
    color: var(--gold); background: rgba(255, 193, 7, .1); border: 1px solid rgba(255, 193, 7, .3);
    box-shadow: 0 0 40px -6px rgba(255, 193, 7, .45);
}
.contact__bolt .icon { width: 26px; height: 26px; }
.contact__title { font-family: var(--font-display); font-weight: 700; font-size: clamp(30px, 4.4vw, 52px); line-height: 1.12; }
.contact__text { max-width: 540px; margin: 18px auto 0; color: var(--text-muted); font-size: 17px; }

/* Footer */
.footer { border-top: 1px solid var(--border); padding: 28px 0; font-size: 14px; color: var(--text-dim); }
.footer__inner { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.footer__motto { font-family: var(--font-label); font-weight: 600; letter-spacing: .2em; text-transform: uppercase; font-size: 12px; }

/* Generic content pages (Privacy, Error) */
.page { padding: calc(var(--nav-h) + 80px) 0 100px; min-height: 70vh; }
.page h1 { font-family: var(--font-display); font-size: 40px; margin-bottom: 16px; }
.page p { color: var(--text-muted); max-width: 680px; }
.page p + p { margin-top: 12px; }

/* ---------- Reveal on scroll ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
    .cards--4 { grid-template-columns: repeat(2, 1fr); }
    .certs { grid-template-columns: repeat(2, 1fr); }
    .hero__inner { grid-template-columns: 1fr; gap: 48px; }
    .hero__visual { max-width: 560px; }
    .split { grid-template-columns: 1fr; gap: 32px; }
    .split .section__head { position: static; }
}

@media (max-width: 820px) {
    .nav__links {
        position: fixed; top: var(--nav-h); left: 0; right: 0;
        flex-direction: column; gap: 0; padding: 8px 24px 20px;
        background: rgba(6, 11, 17, .97); border-bottom: 1px solid var(--border);
        transform: translateY(-8px); opacity: 0; pointer-events: none;
        transition: opacity .2s, transform .2s var(--ease);
    }
    .nav__links a { padding: 14px 0; border-bottom: 1px solid var(--border); }
    .nav__links a::after { display: none; }
    .nav.is-open .nav__links { opacity: 1; transform: none; pointer-events: auto; }
    .nav.is-open { background: rgba(6, 11, 17, .97); }
    .nav__toggle { display: inline-flex; }
    .nav__cta { display: none; }
    .stats { grid-template-columns: repeat(2, 1fr); }
    .stats > div:nth-child(3) { border-left: 0; }
    .stats > div:nth-child(n+3) { border-top: 1px solid var(--border); }
    .section { padding: 88px 0; }
}

@media (max-width: 600px) {
    .cards--4, .cards--2, .certs { grid-template-columns: 1fr; }
    .hero { padding-top: calc(var(--nav-h) + 48px); }
    .hero__actions .btn { flex: 1 1 auto; justify-content: center; }
    .search { min-width: 0; width: 100%; }
    .hero__role { letter-spacing: .16em; font-size: 16px; }
    .hero__name { font-size: 44px; }
    .editor__code { font-size: 12px; }
    .contact__card { padding: 56px 20px; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation: none !important; transition: none !important; }
    html { scroll-behavior: auto; }
    .js .reveal { opacity: 1; transform: none; }
}
