/* =========================================================
   El Nuno Bani Saddam — Portfolio
   ========================================================= */

:root {
  --bg:            #000000;
  --bg-alt:        #0d0d0d;
  --panel:         #1a1a1a;
  --panel-2:       #262626;
  --line:          #3c3c3c;
  --text:          #ffffff;
  --muted:         #bbbbbb;
  --muted-2:       #7e7e7e;
  --m-blue-light:  #0066b1;
  --m-blue-dark:   #1c69d4;
  --m-red:         #e22718;
  --m-stripe:      linear-gradient(90deg, var(--m-blue-light), var(--m-blue-dark), var(--m-red));
  --radius:        0px;
  --radius-lg:     0px;
  --container:     1200px;
  --nav-h:         74px;
  --ease:          cubic-bezier(.22, .61, .36, 1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-h);
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; height: auto; }
a   { color: inherit; text-decoration: none; }
ul  { list-style: none; }

::selection { background: var(--m-blue-dark); color: #fff; }

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

.section { padding: 96px 0; }

/* ---------- Signature M-stripe divider ---------- */

.m-stripe {
  height: 4px;
  background: var(--m-stripe);
}
.nav .m-stripe {
  position: absolute;
  left: 0; right: 0; bottom: 0;
}
.m-stripe--section { margin: 0; }

/* ---------- Shared bits ---------- */

.eyebrow {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--muted-2);
  margin-bottom: 10px;
}
.eyebrow i {
  width: 0; height: 0;
  border: 5px solid transparent;
  border-left-color: var(--m-red);
  border-right-width: 0;
}

.section__title {
  font-size: clamp(1.9rem, 3.4vw, 2.6rem);
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
  line-height: 1.15;
  margin-bottom: 22px;
}
.section__title--lg {
  font-size: clamp(2.1rem, 4.2vw, 3.1rem);
  margin-bottom: 56px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 16px 32px;
  height: 48px;
  border: 1px solid #fff;
  border-radius: var(--radius);
  background: transparent;
  font: inherit;
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #fff;
  cursor: pointer;
  transition: background-color .25s var(--ease), color .25s var(--ease),
              transform .25s var(--ease);
}
.btn--primary:hover {
  background: #fff;
  color: #000;
  transform: translateY(-2px);
}
.btn--primary:active { transform: translateY(0); }
.btn--wide { min-width: 260px; }
.btn--lg   { padding: 16px 46px; }
.btn--sm   { height: 40px; padding: 10px 22px; font-size: .74rem; }

/* =========================================================
   NAV
   ========================================================= */

.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  background: rgba(0, 0, 0, .82);
  transition: background-color .3s var(--ease);
}
.nav.is-stuck {
  background: #000;
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.nav__logo img { transition: transform .35s var(--ease); }
.nav__logo:hover img { transform: rotate(-8deg) scale(1.08); }

.nav__links {
  display: flex;
  align-items: center;
  gap: 38px;
}
.nav__links a {
  position: relative;
  font-size: .78rem;
  font-weight: 400;
  letter-spacing: .5px;
  color: var(--muted);
  padding: 6px 0;
  transition: color .25s var(--ease);
}
.nav__links a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 2px;
  background: #fff;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .3s var(--ease);
}
.nav__links a:hover,
.nav__links a.is-active { color: #fff; }
.nav__links a:hover::after,
.nav__links a.is-active::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav__toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px; height: 40px;
  background: none;
  border: 0;
  cursor: pointer;
}
.nav__toggle span {
  display: block;
  height: 2px;
  width: 24px;
  margin-inline: auto;
  background: var(--text);
  border-radius: 2px;
  transition: transform .3s var(--ease), opacity .2s var(--ease);
}
.nav__toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__toggle.is-open span:nth-child(2) { opacity: 0; }
.nav__toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* =========================================================
   HERO
   ========================================================= */

.hero {
  position: relative;
  padding: calc(var(--nav-h) + 90px) 0 110px;
  overflow: hidden;
}

.hero__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 60px;
}

.hero__hi {
  color: var(--muted-2);
  font-weight: 700;
  font-size: .82rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.hero__name {
  font-size: clamp(2.6rem, 6vw, 4.4rem);
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
  line-height: 1.03;
  margin-bottom: 20px;
}
.hero__name span {
  display: inline-block;
  color: #fff;
}

.hero__desc {
  max-width: 470px;
  color: var(--muted);
  font-size: .95rem;
  font-weight: 300;
  margin-bottom: 30px;
}

.hero__stats {
  display: flex;
  gap: 42px;
  margin-top: 54px;
  padding-top: 30px;
  border-top: 1px solid var(--line);
}
.hero__stats li {
  display: flex;
  align-items: center;
  gap: 12px;
}
.hero__stats strong {
  font-size: 1.9rem;
  font-weight: 700;
  color: #fff;
  line-height: 1;
}
.hero__stats span {
  font-size: .74rem;
  line-height: 1.35;
  color: var(--muted);
}

/* Portrait treatment — flat monochrome frame */
.hero__media { position: relative; }

.portrait {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--panel);
  border: 1px solid var(--line);
  isolation: isolate;
}
.portrait::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(0, 0, 0, .65) 100%);
  pointer-events: none;
}
.portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  filter: contrast(1.08) grayscale(1);
}

.portrait--hero { aspect-ratio: 4 / 3.05; }
.portrait--about { aspect-ratio: 4 / 4.4; }

.portrait__tag {
  position: absolute;
  left: 26px;
  bottom: 26px;
  font-size: .78rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  pointer-events: none;
}

.hero__glow {
  position: absolute;
  top: -18%;
  right: -8%;
  width: 620px;
  height: 620px;
  border-radius: 50%;
  background: var(--m-blue-dark);
  filter: blur(200px);
  opacity: .12;
  z-index: -1;
}

/* =========================================================
   ABOUT
   ========================================================= */

.about { background: var(--bg-alt); }

.about__inner {
  display: grid;
  grid-template-columns: .78fr 1.22fr;
  gap: 62px;
  align-items: start;
}

.about__text {
  color: var(--muted);
  font-size: .92rem;
  font-weight: 300;
  margin-bottom: 16px;
}

.skills {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin: 30px 0 32px;
}
.skills li {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 11px 10px;
  background: var(--bg-alt);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .5px;
  text-transform: uppercase;
  transition: border-color .25s var(--ease), background-color .25s var(--ease);
}
.skills li:hover {
  border-color: #fff;
  background: var(--panel-2);
}
.skills__ico {
  display: inline-flex;
  width: 20px;
  height: 20px;
  color: #fff;
}
.skills__ico svg { width: 100%; height: 100%; }

/* =========================================================
   BADGES (shadcn-style tech chips)
   ========================================================= */

.badges {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin: 2px 0 16px;
}
.badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 11px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--bg-alt);
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .3px;
  text-transform: uppercase;
  color: var(--muted);
  transition: border-color .2s var(--ease), color .2s var(--ease);
}
.badge:hover { border-color: #fff; color: #fff; }

/* =========================================================
   PROJECT DETAIL DIALOG (shadcn-style modal)
   ========================================================= */

.dialog-overlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(0, 0, 0, .72);
  backdrop-filter: blur(6px);
  opacity: 0;
  visibility: hidden;
  transition: opacity .25s var(--ease), visibility 0s linear .25s;
}
.dialog-overlay.is-open {
  opacity: 1;
  visibility: visible;
  transition: opacity .25s var(--ease);
}

.dialog {
  position: relative;
  width: 100%;
  max-width: 480px;
  max-height: calc(100vh - 48px);
  overflow-y: auto;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 42px 32px 34px;
  transform: translateY(16px) scale(.98);
  opacity: 0;
  transition: transform .3s var(--ease), opacity .3s var(--ease);
}
.dialog__image {
  display: block;
  width: calc(100% + 64px);
  max-height: 60vh;
  height: auto;
  margin: -42px -32px 24px;
  object-fit: contain;
  background: var(--bg-alt);
  border-bottom: 1px solid var(--line);
  border-radius: 14px 14px 0 0;
}
.dialog__image[hidden] { display: none; }
.dialog-overlay.is-open .dialog {
  transform: translateY(0) scale(1);
  opacity: 1;
}
.dialog::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 4px;
  background: var(--m-stripe);
  border-radius: 14px 14px 0 0;
}
.dialog__close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 32px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--muted);
  cursor: pointer;
  transition: border-color .2s var(--ease), color .2s var(--ease), background-color .2s var(--ease);
}
.dialog__close:hover { border-color: #fff; color: #fff; background: var(--panel-2); }
.dialog__close span { display: inline-flex; width: 14px; height: 14px; }
.dialog__close svg { width: 100%; height: 100%; }

.dialog__tag {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--muted-2);
  margin-bottom: 8px;
}
.dialog__title {
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
  padding-right: 30px;
  margin-bottom: 16px;
}
.dialog__desc {
  color: var(--muted);
  font-size: .88rem;
  font-weight: 300;
  line-height: 1.75;
  margin-bottom: 20px;
}
.dialog .badges { margin-bottom: 0; }

/* =========================================================
   FOCUS-VISIBLE RINGS (shadcn-style accessible focus)
   ========================================================= */

.btn:focus-visible,
.carousel__arrow:focus-visible,
.carousel__link:focus-visible,
.nav__links a:focus-visible,
.nav__toggle:focus-visible,
.socials a:focus-visible,
.dialog__close:focus-visible,
.dialog:focus-visible {
  outline: none;
  box-shadow: 0 0 0 2px var(--bg), 0 0 0 4px var(--m-blue-dark);
}

/* =========================================================
   PORTFOLIO / CAROUSEL
   ========================================================= */

.carousel {
  position: relative;
  display: flex;
  align-items: center;
  gap: 16px;
}

.carousel__track {
  display: flex;
  gap: 24px;
  flex: 1;
  min-width: 0;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding-block: 2px;
}
.carousel__track::-webkit-scrollbar { display: none; }

.carousel__item {
  flex: 0 0 auto;
  width: min(360px, 82vw);
  scroll-snap-align: start;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.carousel__item--placeholder { border-style: dashed; background: transparent; }

.carousel__media {
  aspect-ratio: 16 / 10;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-alt);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}
.carousel__glyph {
  display: inline-flex;
  width: 40px;
  height: 40px;
  color: var(--muted-2);
}
.carousel__glyph svg { width: 100%; height: 100%; }

.carousel__media--clickable {
  cursor: pointer;
  transition: opacity .25s var(--ease);
}
.carousel__media--clickable:hover { opacity: .85; }
.carousel__media--clickable:focus-visible {
  outline: none;
  box-shadow: inset 0 0 0 2px var(--m-blue-dark);
}

.carousel__media--img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform .5s var(--ease);
}
.carousel__item:hover .carousel__media--img img { transform: scale(1.05); }

.carousel__media--logo img {
  width: auto;
  height: 42%;
  object-fit: contain;
}

.carousel__body { padding: 24px; }
.carousel__tag {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--muted-2);
  margin-bottom: 8px;
}
.carousel__body h3 {
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.carousel__body p {
  color: var(--muted);
  font-size: .85rem;
  font-weight: 300;
  line-height: 1.6;
  margin-bottom: 14px;
}
.carousel__actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 18px;
}

.carousel__link {
  display: inline-block;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #fff;
  border-bottom: 1px solid var(--line);
  padding-bottom: 2px;
  transition: border-color .25s var(--ease);
}
.carousel__link:hover { border-color: #fff; }
.carousel__link--btn {
  background: none;
  border-width: 0 0 1px;
  padding-inline: 0;
  cursor: pointer;
  font: inherit;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.carousel__arrow {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 50%;
  color: #fff;
  cursor: pointer;
  opacity: 1;
  transition: border-color .25s var(--ease), background-color .25s var(--ease), opacity .25s var(--ease);
}
.carousel__arrow:hover { border-color: #fff; background: var(--panel-2); }
.carousel__arrow.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .25s var(--ease), visibility 0s linear .25s;
}
.carousel__arrow span { display: inline-flex; width: 18px; height: 18px; }
.carousel__arrow svg { width: 100%; height: 100%; }

/* =========================================================
   SERVICES
   ========================================================= */

.services { background: var(--bg-alt); }

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.card {
  position: relative;
  padding: 40px 30px 36px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  text-align: center;
  overflow: hidden;
  transition: border-color .3s var(--ease), background-color .3s var(--ease);
}
.card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 4px;
  background: var(--m-stripe);
  transform: scaleX(0);
  transition: transform .4s var(--ease);
}
.card:hover {
  border-color: var(--muted-2);
  background: var(--panel-2);
}
.card:hover::before { transform: scaleX(1); }

.card__ico {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  margin-bottom: 18px;
  color: #fff;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: border-color .3s var(--ease);
}
.card__ico svg { width: 21px; height: 21px; }
.card:hover .card__ico { border-color: #fff; }

.card h3 {
  font-size: .95rem;
  font-weight: 700;
  letter-spacing: .5px;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.card p {
  color: var(--muted);
  font-size: .82rem;
  font-weight: 300;
  line-height: 1.7;
}

/* =========================================================
   CTA
   ========================================================= */

.cta {
  background: var(--bg);
  border-top: 1px solid var(--line);
  padding: 96px 0;
}

.cta__inner {
  display: grid;
  grid-template-columns: 1.35fr .65fr;
  align-items: center;
  gap: 50px;
}

.cta__copy h2 {
  font-size: clamp(2rem, 4.4vw, 3.15rem);
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
  line-height: 1.14;
  margin-bottom: 18px;
}
.cta__copy p {
  max-width: 460px;
  color: var(--muted);
  font-size: .87rem;
  font-weight: 300;
}

.cta__action {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 16px;
}
.cta__mail {
  font-size: .84rem;
  color: var(--muted);
  transition: color .25s var(--ease);
}
.cta__mail:hover { color: #fff; }

/* =========================================================
   FOOTER
   ========================================================= */

.footer {
  background: var(--bg);
  border-top: 1px solid var(--line);
  padding: 26px 0;
}
.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.footer__copy {
  font-size: .78rem;
  color: var(--muted);
}

.socials {
  display: flex;
  gap: 10px;
}
.socials a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--muted);
  transition: color .25s var(--ease), border-color .25s var(--ease),
              background-color .25s var(--ease);
}
.socials a:hover {
  color: #000;
  background: #fff;
  border-color: #fff;
}
.socials svg { width: 17px; height: 17px; }

/* =========================================================
   MUSIC PLAYER
   ========================================================= */

.music-player {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 150;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 50%;
  color: #fff;
  cursor: pointer;
  box-shadow: 0 12px 28px rgba(0, 0, 0, .45);
  transition: border-color .25s var(--ease), background-color .25s var(--ease), transform .2s var(--ease);
}
.music-player:hover { border-color: #fff; background: var(--panel-2); }
.music-player:active { transform: scale(.94); }
.music-player:focus-visible {
  outline: none;
  box-shadow: 0 0 0 2px var(--bg), 0 0 0 4px var(--m-blue-dark);
}

.music-player__icon {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.music-player__icon svg { width: 19px; height: 19px; }
.music-player__icon--muted { display: none; }
.music-player.is-muted .music-player__icon--volume { display: none; }
.music-player.is-muted .music-player__icon--muted { display: flex; }

@media (max-width: 480px) {
  .music-player {
    right: 16px;
    bottom: 16px;
    width: 42px;
    height: 42px;
  }
}

/* =========================================================
   REVEAL ANIMATION
   ========================================================= */

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}
.reveal.is-visible {
  opacity: 1;
  transform: none;
}
.reveal--delay { transition-delay: .14s; }
.cards .reveal:nth-child(2) { transition-delay: .08s; }
.cards .reveal:nth-child(3) { transition-delay: .16s; }
.cards .reveal:nth-child(5) { transition-delay: .08s; }
.cards .reveal:nth-child(6) { transition-delay: .16s; }

/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 992px) {
  .section { padding: 84px 0; }

  .hero { padding-top: calc(var(--nav-h) + 56px); }
  .hero__inner {
    grid-template-columns: 1fr;
    gap: 44px;
  }
  .hero__media { order: -1; }
  .hero__desc { max-width: none; }
  .hero__stats { gap: 28px; flex-wrap: wrap; }

  .about__inner { grid-template-columns: 1fr; gap: 40px; }
  .portrait--about { aspect-ratio: 4 / 3; }

  .cards { grid-template-columns: repeat(2, 1fr); }

  .cta__inner { grid-template-columns: 1fr; gap: 30px; }
  .cta__action { align-items: flex-start; }
}

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

  .nav__links {
    position: fixed;
    inset: var(--nav-h) 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px 24px 22px;
    background: #000;
    border-bottom: 1px solid var(--line);
    clip-path: inset(0 0 100% 0);
    opacity: 0;
    pointer-events: none;
    transition: clip-path .4s var(--ease), opacity .3s var(--ease);
  }
  .nav__links::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 4px;
    background: var(--m-stripe);
  }
  .nav__links.is-open {
    clip-path: inset(0 0 0 0);
    opacity: 1;
    pointer-events: auto;
  }
  .nav__links a {
    padding: 14px 0;
    border-bottom: 1px solid var(--line);
  }
  .nav__links a::after { display: none; }

  .skills { grid-template-columns: repeat(2, 1fr); }
  .cards  { grid-template-columns: 1fr; }

  .carousel__arrow { display: none; }
  .carousel__item { width: 86vw; }

  .footer__inner {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .container { padding-inline: 18px; }
  .btn--wide { width: 100%; }
  .hero__stats { gap: 22px; }
  .hero__stats strong { font-size: 1.5rem; }
}

/* =========================================================
   MOTION PREFERENCES
   ========================================================= */

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