:root {
  --ink: #17241f;
  --forest: #173f35;
  --forest-deep: #0d2e27;
  --cream: #f7f0de;
  --paper: #fffaf0;
  --yellow: #f6bd35;
  --red: #ef5b43;
  --blue: #59a6c9;
  --pink: #ea7e9b;
  --line: #173f35;
  --shadow: 8px 8px 0 var(--ink);
  --radius: 26px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: clip;
  color: var(--ink);
  background:
    radial-gradient(circle at 16px 16px, rgba(23, 63, 53, .07) 1.5px, transparent 1.5px) 0 0 / 32px 32px,
    var(--cream);
  font-family: "DM Sans", system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.5;
}

a {
  color: inherit;
  text-decoration: none;
}

svg {
  display: block;
}

.skip-link {
  position: fixed;
  left: 16px;
  top: 12px;
  z-index: 100;
  padding: 12px 18px;
  color: #fff;
  background: var(--ink);
  border-radius: 8px;
  transform: translateY(-150%);
  transition: transform .2s ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.page-shell {
  width: min(100% - 40px, 1240px);
  margin: 0 auto;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 88px;
  border-bottom: 2px solid rgba(23, 63, 53, .16);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  font-family: "Rammetto One", Impact, sans-serif;
  font-size: 23px;
  letter-spacing: -.05em;
}

.brand > span:last-child > span {
  color: var(--red);
}

.brand-mark {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  color: var(--cream);
  background: var(--forest);
  border: 2px solid var(--ink);
  border-radius: 13px;
  transform: rotate(-4deg);
}

.brand-mark svg {
  width: 35px;
  fill: currentColor;
}

.brand-mark .brand-mark-line {
  fill: none;
  stroke: var(--forest);
  stroke-linecap: round;
  stroke-width: 2.2;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 30px;
  font-size: 15px;
  font-weight: 700;
}

.site-nav > a:first-child {
  padding: 12px 2px;
}

.site-nav > a:first-child:hover {
  color: var(--red);
}

.nav-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  gap: 9px;
  padding: 0 20px;
  font-weight: 700;
  border: 2px solid var(--ink);
  border-radius: 999px;
  transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease;
}

.nav-cta {
  color: #fff;
  background: var(--forest);
  box-shadow: 4px 4px 0 var(--ink);
}

.nav-cta svg,
.button svg,
.memory-strip a svg {
  width: 20px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.nav-cta:hover,
.button:hover {
  transform: translate(-2px, -2px);
  box-shadow: 6px 6px 0 var(--ink);
}

.nav-cta:active,
.button:active {
  transform: translate(2px, 2px);
  box-shadow: 1px 1px 0 var(--ink);
}

.hero {
  display: grid;
  grid-template-columns: 1.04fr .96fr;
  align-items: center;
  min-height: 660px;
  padding: 72px 0 88px;
  gap: clamp(38px, 7vw, 100px);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 8px 14px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
  background: rgba(246, 189, 53, .38);
  border: 1.5px solid var(--ink);
  border-radius: 999px;
}

.eyebrow svg {
  width: 18px;
  fill: var(--red);
  stroke: var(--ink);
  stroke-linejoin: round;
  stroke-width: 1.2;
}

.hero h1 {
  max-width: 720px;
  margin: 28px 0 22px;
  font-family: "Rammetto One", Impact, sans-serif;
  font-size: clamp(48px, 6.1vw, 84px);
  font-weight: 400;
  letter-spacing: -.055em;
  line-height: .98;
}

.hero h1 span {
  position: relative;
  z-index: 0;
  color: var(--red);
  white-space: nowrap;
}

.hero h1 span::after {
  content: "";
  position: absolute;
  z-index: -1;
  right: 0;
  bottom: -3px;
  left: 0;
  height: 14px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 300 20'%3E%3Cpath d='M3 13c55-9 118-4 164-7 42-3 85 1 130-3' fill='none' stroke='%23f6bd35' stroke-width='8' stroke-linecap='round'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
}

.hero-text {
  max-width: 570px;
  margin: 0;
  color: #40524b;
  font-size: clamp(17px, 1.65vw, 20px);
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  align-items: center;
  margin-top: 36px;
  gap: 24px;
}

.button-primary {
  min-height: 56px;
  padding: 0 25px;
  color: #fff;
  background: var(--red);
  box-shadow: 5px 5px 0 var(--ink);
}

.game-count {
  color: #68756f;
  font-size: 14px;
}

.game-count strong {
  color: var(--forest);
}

.hero-art {
  position: relative;
  display: grid;
  min-height: 490px;
  place-items: center;
  isolation: isolate;
}

.hero-art::before {
  content: "";
  position: absolute;
  z-index: -3;
  width: min(96%, 520px);
  aspect-ratio: 1;
  background: var(--yellow);
  border: 3px solid var(--ink);
  border-radius: 51% 49% 43% 57% / 39% 46% 54% 61%;
  transform: rotate(8deg);
}

.console-shadow {
  position: absolute;
  width: min(80%, 410px);
  height: 40px;
  bottom: 32px;
  background: rgba(23, 36, 31, .23);
  border-radius: 50%;
  filter: blur(5px);
  transform: rotate(4deg);
}

.console {
  position: relative;
  width: min(78%, 390px);
  padding: 22px 24px 28px;
  background: #e9e2cf;
  border: 3px solid var(--ink);
  border-radius: 32px 32px 56px 56px;
  box-shadow: 13px 13px 0 var(--forest-deep);
  transform: rotate(3deg);
}

.console-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 13px;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .16em;
}

.console-light {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #55645d;
}

.console-light::before {
  content: "";
  width: 7px;
  height: 7px;
  background: var(--red);
  border: 1px solid var(--ink);
  border-radius: 50%;
}

.screen {
  position: relative;
  overflow: hidden;
  min-height: 218px;
  padding: 38px 26px;
  color: #c9e19d;
  background:
    repeating-linear-gradient(0deg, rgba(201, 225, 157, .04) 0 2px, transparent 2px 5px),
    var(--forest-deep);
  border: 3px solid var(--ink);
  border-radius: 15px 15px 28px 15px;
  box-shadow: inset 6px 6px 0 rgba(0, 0, 0, .2);
  text-align: center;
}

.screen::after {
  content: "";
  position: absolute;
  width: 180px;
  height: 320px;
  top: -100px;
  left: -95px;
  background: rgba(255, 255, 255, .07);
  transform: rotate(28deg);
}

.screen p {
  margin: 0 0 12px;
  font-family: monospace;
  font-size: 12px;
  letter-spacing: .12em;
}

.screen strong {
  display: block;
  font-family: "Rammetto One", Impact, sans-serif;
  font-size: clamp(25px, 3vw, 34px);
  font-weight: 400;
  line-height: 1.18;
}

.screen-pixels {
  display: flex;
  justify-content: center;
  margin-top: 22px;
  gap: 7px;
}

.screen-pixels i {
  width: 8px;
  height: 8px;
  background: currentColor;
}

.screen-pixels i:nth-child(2),
.screen-pixels i:nth-child(4) {
  opacity: .35;
}

.console-controls {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  min-height: 100px;
  padding: 24px 10px 0;
}

.d-pad {
  position: relative;
  width: 72px;
  height: 72px;
}

.d-pad i,
.d-pad b {
  position: absolute;
  background: var(--ink);
  border-radius: 6px;
  box-shadow: 3px 3px 0 #7f8279;
}

.d-pad i {
  width: 28px;
  height: 72px;
  left: 22px;
}

.d-pad b {
  width: 72px;
  height: 28px;
  top: 22px;
}

.mini-label {
  margin-bottom: 5px;
  color: #69736f;
  font-size: 7px;
  font-weight: 800;
  letter-spacing: .08em;
}

.console-buttons {
  display: flex;
  padding-bottom: 12px;
  gap: 13px;
  transform: rotate(-18deg);
}

.console-buttons i {
  width: 35px;
  height: 35px;
  background: var(--red);
  border: 3px solid var(--ink);
  border-radius: 50%;
  box-shadow: 3px 3px 0 #8c3e30;
}

.shape {
  position: absolute;
  z-index: -1;
}

.shape-dot {
  width: 31px;
  height: 31px;
  top: 7%;
  left: 3%;
  background: var(--blue);
  border: 3px solid var(--ink);
  border-radius: 50%;
  box-shadow: 5px 5px 0 var(--ink);
}

.shape-cross {
  width: 42px;
  height: 13px;
  top: 15%;
  right: -1%;
  background: var(--red);
  border: 2px solid var(--ink);
  transform: rotate(33deg);
}

.shape-cross::after {
  content: "";
  position: absolute;
  width: 42px;
  height: 13px;
  top: -2px;
  left: -2px;
  background: var(--red);
  border: 2px solid var(--ink);
  transform: rotate(90deg);
}

.shape-spark {
  width: 36px;
  height: 36px;
  right: 3%;
  bottom: 8%;
  background: var(--pink);
  border: 2px solid var(--ink);
  clip-path: polygon(50% 0, 61% 35%, 100% 50%, 61% 65%, 50% 100%, 39% 65%, 0 50%, 39% 35%);
}

.tape {
  position: absolute;
  z-index: 2;
  width: 78px;
  height: 24px;
  background: rgba(255, 250, 240, .65);
  border: 1px solid rgba(23, 36, 31, .35);
}

.tape-one {
  top: 10%;
  left: 16%;
  transform: rotate(-24deg);
}

.tape-two {
  right: 12%;
  bottom: 12%;
  transform: rotate(-14deg);
}

.games-section {
  position: relative;
  width: calc(100% + 80px);
  margin-left: -40px;
  padding: 86px 40px 96px;
  background: var(--forest);
  border: 3px solid var(--ink);
  border-radius: 38px;
  box-shadow: 11px 11px 0 var(--ink);
}

.games-section::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: radial-gradient(rgba(255, 255, 255, .08) 1px, transparent 1px);
  background-size: 22px 22px;
  border-radius: inherit;
}

.section-heading {
  position: relative;
  display: flex;
  align-items: end;
  justify-content: space-between;
  margin: 0 auto 42px;
  max-width: 1160px;
  color: #fff;
  gap: 32px;
}

.section-kicker {
  margin: 0 0 8px;
  color: #f6ce65;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.section-heading h2 {
  margin: 0;
  font-family: "Rammetto One", Impact, sans-serif;
  font-size: clamp(34px, 4vw, 52px);
  font-weight: 400;
  letter-spacing: -.04em;
  line-height: 1.08;
}

.section-heading > p {
  max-width: 360px;
  margin: 0 0 5px;
  color: #c5d4cf;
  font-size: 16px;
}

.games-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: 1160px;
  margin: 0 auto;
  gap: 27px;
}

.game-card {
  overflow: hidden;
  background: var(--paper);
  border: 3px solid var(--ink);
  border-radius: 24px;
  box-shadow: 7px 7px 0 #091d18;
  transition: transform .22s ease, box-shadow .22s ease;
  touch-action: manipulation;
}

.game-card:hover {
  transform: translate(-4px, -5px) rotate(-.3deg);
  box-shadow: 12px 13px 0 #091d18;
}

.game-card:active {
  transform: translate(2px, 2px);
  box-shadow: 3px 3px 0 #091d18;
}

.game-art {
  position: relative;
  display: grid;
  overflow: hidden;
  min-height: 260px;
  place-items: center;
  border-bottom: 3px solid var(--ink);
}

.card-number {
  position: absolute;
  z-index: 2;
  top: 17px;
  left: 18px;
  display: grid;
  width: 44px;
  height: 36px;
  place-items: center;
  font-family: monospace;
  font-size: 13px;
  font-weight: 900;
  background: rgba(255, 250, 240, .72);
  border: 2px solid var(--ink);
  border-radius: 999px;
}

.card-chiddi .game-art {
  background: var(--blue);
}

.bird-art {
  width: min(88%, 420px);
  fill: var(--cream);
  stroke: var(--ink);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 4;
  transform: rotate(-3deg);
}

.bird-art .bird-line {
  fill: none;
}

.art-word {
  position: absolute;
  right: 8%;
  bottom: 8%;
  padding: 3px 10px;
  color: #fff;
  font-family: "Rammetto One", Impact, sans-serif;
  font-size: 24px;
  text-shadow: 2px 2px 0 var(--ink);
  transform: rotate(8deg);
}

.card-npat .game-art {
  background: var(--yellow);
}

.notebook {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  width: min(76%, 360px);
  padding: 46px 28px 35px;
  gap: 7px;
  background:
    repeating-linear-gradient(0deg, transparent 0 24px, rgba(89, 166, 201, .28) 24px 26px),
    var(--paper);
  border: 3px solid var(--ink);
  border-radius: 6px 14px 14px 6px;
  box-shadow: 8px 8px 0 rgba(23, 36, 31, .3);
  transform: rotate(2deg);
}

.notebook::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 18px;
  border-left: 2px solid rgba(239, 91, 67, .5);
}

.notebook > span {
  display: grid;
  aspect-ratio: 1;
  place-items: center;
  color: var(--forest);
  font-family: "Rammetto One", Impact, sans-serif;
  font-size: clamp(23px, 3vw, 37px);
}

.notebook > b {
  grid-column: 1 / -1;
  margin-top: 15px;
  color: var(--red);
  font-family: cursive;
  text-align: center;
  transform: rotate(-2deg);
}

.notebook-rings {
  position: absolute;
  display: flex;
  top: -9px;
  right: 22px;
  left: 22px;
  justify-content: space-around;
}

.notebook-rings i {
  width: 7px;
  height: 28px;
  background: #fff;
  border: 2px solid var(--ink);
  border-radius: 5px;
}

.card-badshah .game-art {
  background: var(--pink);
}

.crown-art {
  width: min(75%, 380px);
  fill: var(--yellow);
  stroke: var(--ink);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 5;
  transform: translateY(-8px) rotate(-2deg);
}

.crown-art .crown-line {
  fill: none;
}

.royal-seal {
  position: absolute;
  right: 8%;
  bottom: 8%;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 82px;
  height: 82px;
  color: var(--cream);
  background: var(--forest);
  border: 3px solid var(--ink);
  border-radius: 50%;
  box-shadow: 4px 4px 0 var(--ink);
  font-family: "Rammetto One", Impact, sans-serif;
  font-size: 22px;
  transform: rotate(9deg);
}

.royal-seal span {
  padding: 0 2px;
  color: var(--yellow);
  font-size: 14px;
}

.card-thulla .game-art {
  background: var(--red);
}

.playing-cards {
  position: relative;
  width: 250px;
  height: 210px;
}

.playing-card {
  position: absolute;
  display: flex;
  width: 132px;
  height: 186px;
  padding: 14px;
  background: var(--paper);
  border: 3px solid var(--ink);
  border-radius: 13px;
  box-shadow: 7px 7px 0 rgba(23, 36, 31, .35);
  font-family: Georgia, serif;
  font-size: 25px;
  font-weight: 700;
}

.card-back {
  top: 10px;
  left: 34px;
  align-items: center;
  justify-content: center;
  color: var(--cream);
  background:
    repeating-linear-gradient(45deg, transparent 0 8px, rgba(255, 255, 255, .18) 8px 11px),
    var(--forest);
  transform: rotate(-16deg);
}

.card-back::before {
  content: "";
  position: absolute;
  inset: 8px;
  border: 2px solid var(--cream);
  border-radius: 7px;
}

.card-back span {
  z-index: 1;
  font-family: "Rammetto One", Impact, sans-serif;
  font-size: 46px;
}

.card-front {
  top: 11px;
  right: 26px;
  color: var(--red);
  transform: rotate(13deg);
}

.card-front svg {
  position: absolute;
  width: 58px;
  top: 65px;
  left: 37px;
  fill: var(--red);
}

.game-info {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 128px;
  padding: 24px 25px;
  gap: 18px;
}

.game-meta {
  margin: 0 0 6px;
  color: #69756f;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.game-info h3 {
  margin: 0;
  font-family: "Rammetto One", Impact, sans-serif;
  font-size: clamp(20px, 2.2vw, 28px);
  font-weight: 400;
  letter-spacing: -.03em;
  line-height: 1.2;
}

.play-icon {
  display: grid;
  flex: 0 0 52px;
  width: 52px;
  height: 52px;
  place-items: center;
  color: #fff;
  background: var(--forest);
  border: 2px solid var(--ink);
  border-radius: 50%;
  box-shadow: 3px 3px 0 var(--ink);
  transition: color .2s ease, background-color .2s ease, transform .2s ease;
}

.play-icon svg {
  width: 25px;
  fill: currentColor;
}

.game-card:hover .play-icon {
  color: var(--ink);
  background: var(--yellow);
  transform: rotate(-6deg) scale(1.05);
}

.memory-strip {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  margin: 100px 0;
  padding: 42px 46px;
  gap: 26px;
  background: var(--yellow);
  border: 3px solid var(--ink);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.memory-icon {
  display: grid;
  width: 80px;
  height: 80px;
  place-items: center;
  color: var(--cream);
  background: var(--red);
  border: 3px solid var(--ink);
  border-radius: 50%;
  transform: rotate(-7deg);
}

.memory-icon svg {
  width: 44px;
  fill: currentColor;
  stroke: var(--ink);
  stroke-linejoin: round;
  stroke-width: 2;
}

.memory-strip p {
  margin: 0 0 4px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.memory-strip h2 {
  max-width: 700px;
  margin: 0;
  font-family: "Rammetto One", Impact, sans-serif;
  font-size: clamp(22px, 3vw, 34px);
  font-weight: 400;
  letter-spacing: -.035em;
  line-height: 1.25;
}

.memory-strip > a {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  gap: 8px;
  padding: 0 20px;
  color: #fff;
  background: var(--forest);
  border: 2px solid var(--ink);
  border-radius: 999px;
  box-shadow: 4px 4px 0 var(--ink);
  font-weight: 800;
  white-space: nowrap;
  transition: transform .2s ease, box-shadow .2s ease;
}

.memory-strip > a:hover {
  transform: translate(-2px, -2px);
  box-shadow: 6px 6px 0 var(--ink);
}

.site-footer {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  min-height: 130px;
  padding: 28px 0;
  color: #63716b;
  border-top: 2px solid rgba(23, 63, 53, .16);
  font-size: 14px;
  gap: 24px;
}

.brand-footer {
  color: var(--ink);
}

.copyright {
  justify-self: end;
}

a:focus-visible {
  outline: 4px solid #2684ff;
  outline-offset: 4px;
}

@media (max-width: 980px) {
  .hero {
    grid-template-columns: 1fr;
    padding-top: 64px;
  }

  .hero-copy {
    max-width: 760px;
  }

  .hero-art {
    width: min(100%, 620px);
    margin: 0 auto;
  }

  .games-grid {
    gap: 22px;
  }

  .game-art {
    min-height: 225px;
  }

  .memory-strip {
    grid-template-columns: auto 1fr;
  }

  .memory-strip > a {
    grid-column: 2;
    justify-self: start;
  }
}

@media (max-width: 720px) {
  .page-shell {
    width: min(100% - 28px, 1240px);
  }

  .site-header {
    min-height: 76px;
  }

  .site-nav > a:first-child {
    display: none;
  }

  .nav-cta {
    min-height: 44px;
    padding: 0 16px;
  }

  .hero {
    min-height: 0;
    padding: 52px 0 70px;
    gap: 54px;
  }

  .hero h1 {
    font-size: clamp(43px, 13vw, 68px);
  }

  .hero-actions {
    align-items: flex-start;
    flex-direction: column;
    gap: 16px;
  }

  .hero-art {
    min-height: 430px;
  }

  .shape-cross {
    right: 4%;
  }

  .games-section {
    width: calc(100% + 20px);
    margin-left: -10px;
    padding: 70px 18px 76px;
    border-radius: 28px;
    box-shadow: 7px 7px 0 var(--ink);
  }

  .section-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 18px;
  }

  .section-heading > p {
    max-width: 500px;
  }

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

  .game-art {
    min-height: 245px;
  }

  .game-info h3 {
    font-size: clamp(20px, 6vw, 28px);
  }

  .memory-strip {
    grid-template-columns: 1fr;
    margin: 76px 0;
    padding: 34px 28px;
  }

  .memory-strip > a {
    grid-column: 1;
  }

  .site-footer {
    grid-template-columns: 1fr;
    padding: 40px 0;
    text-align: left;
    gap: 8px;
  }

  .copyright {
    justify-self: start;
  }
}

@media (max-width: 430px) {
  .brand {
    font-size: 19px;
  }

  .brand-mark {
    width: 40px;
    height: 40px;
  }

  .nav-cta svg {
    display: none;
  }

  .hero h1 {
    font-size: 42px;
  }

  .eyebrow {
    align-items: flex-start;
    font-size: 10px;
    line-height: 1.5;
  }

  .hero-art {
    min-height: 360px;
  }

  .console {
    width: 82%;
    padding: 17px 18px 22px;
    border-radius: 26px 26px 46px 46px;
    box-shadow: 9px 9px 0 var(--forest-deep);
  }

  .screen {
    min-height: 170px;
    padding: 28px 18px;
  }

  .screen strong {
    font-size: 24px;
  }

  .console-controls {
    min-height: 82px;
    padding-top: 17px;
  }

  .d-pad {
    transform: scale(.78);
    transform-origin: bottom left;
  }

  .console-buttons {
    transform: rotate(-18deg) scale(.82);
    transform-origin: bottom right;
  }

  .mini-label {
    display: none;
  }

  .tape {
    width: 55px;
  }

  .game-art {
    min-height: 205px;
  }

  .notebook {
    width: 82%;
    padding: 40px 21px 27px;
  }

  .playing-cards {
    transform: scale(.82);
  }

  .game-info {
    min-height: 118px;
    padding: 21px 19px;
  }

  .play-icon {
    flex-basis: 46px;
    width: 46px;
    height: 46px;
  }
}

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

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
  }
}
